Issue 44152 - Solaris: packages produced by OOo build: filenames >100 characters
Summary: Solaris: packages produced by OOo build: filenames >100 characters
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: current
Hardware: All Solaris
: P2 Trivial (vote)
Target Milestone: ---
Assignee: pavel
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-05 13:37 UTC by pavel
Modified: 2005-03-08 20:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2005-03-05 13:37:37 UTC
Hi,

Solaris packages produced by OOo build system directly from CVS and then packed
with tar, contain filenames longer than 100 characters. Like this:

packages/openofficeorg-core07/reloc/share/Scripts/javascript/ExportSheetsToHTML/parcel-descriptor.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/BasicIDE/statusbar/statusbar.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/BasicIDE/toolbar/standardbar.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/dbapp/toolbar/queryobjectbar.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/dbapp/toolbar/tableobjectbar.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/dbquery/toolbar/sqlobjectbar.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/scalc/accelerator/de/default.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/scalc/accelerator/es/default.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/scalc/accelerator/fr/default.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/scalc/toolbar/formsfilterbar.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/scalc/toolbar/formsobjectbar.xm
packages/openofficeorg-core07/reloc/share/config/soffice.cfg/modules/scalc/toolbar/insertcellsbar.xm

All these filenames are 100 characters long. But the correct length is 101,
because the final letter "l" (in the above mentioned filenames) was stripped off
by Solaris' tar (see man tar and search for string "100").

Sun published packages do not have this problem, because they have bzip2'ed content:

./packages/openofficeorg-core07/archive/none.bz2

Two issues here:

- Sun produced builds are not build using tools in the CVS
- Community doesn't have a chance to produce packages like Sun is producing

Workaround for now: pack the final packages using e.g. ZIP instead of Solaris'
tar. But this is not correct solution, because SUNWzip is not installed on all
systems, the filenames are different from Sun published filenames, the mechanism
to unpack is different etc.
Comment 1 Martin Hollmichel 2005-03-06 08:52:58 UTC
reassign.
Comment 2 ingo.schmidt-rosbiegal 2005-03-07 15:00:16 UTC
Pavel, how did you create this tar files? I tested the download installation
sets for Solaris built on Solaris 9  and could create the tar files without
problems and could also unpack the tar files  without problems, although they
have more than 100 characters.  Is this a version problem of tar? Is tar -E the
solution?
Comment 3 pavel 2005-03-08 20:11:12 UTC
Using Solaris' tar (/usr/bin/tar) with E solved the problem.

But now, GNU tar is emitting messages like this:

tar: tmp/PaxHeaders.17189/depend: Unknown file type 'X', extracted as normal file

and it will leave tmp/PaxHeaders.17189 full of 30 bytes files like:

$ cat zlib.so 
30 mtime=1110251189.000000000
$ 

but it is probably OK.

So tar packing is fixed. Compressed packages are not.
Comment 4 pavel 2005-03-08 20:12:34 UTC
.