Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | FreeBSD porting : epm cannot package with long pathname. | ||||||
---|---|---|---|---|---|---|---|
Product: | porting | Reporter: | maho.nakata | ||||
Component: | code | Assignee: | AOO issues mailing list <issues> | ||||
Status: | REOPENED --- | QA Contact: | |||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, nospam4obr, pavel, pfg | ||||
Version: | OOo 2.1 | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
maho.nakata
2007-01-07 05:12:01 UTC
Created attachment 41957 [details]
temporary extend to maximum 256 chars to 1024 chars.
it happens if path name is longer than ~256 chars. the attached patch extends to 1024 chars. reassign to maho maho: you have changed options as well? What about using PATH_MAX? Can you please report this to epm people as well and/or verify their latest version if it is fixed there already? pjanik: using PATH_MAX is a good idea. unfortunately epm doesn't accept the length via configure or something like that. it is hardcoded :( I'll report this to the developer of epm. fixed in cws freebsd08. now i understand what you said... reopen. fixed. also reported in the upstream. http://www.easysw.com/epm/newsgroups.php?s56+gepm.bugs+v65 According to http://www.easysw.com/epm/newsgroups.php?s56+gepm.bugs+v66 > The problem is that POSIX tar files are limited to 256 characters > (the actual limit is more like 155 + 100 characters for any > combination of directory path and name, thanks to the way POSIX > extended the original tar format, which only allowed 100 characters > total), so even if we wanted to support longer names, we couldn't > for any format that depends on tar files - BSD, Slackware, and > portable all use tar files. The IRIX format also limit filenames > to 256 characters... so I backouted... My understanding of this issue is that epm currently limits <long packaging path>/<long office or SDK path> to 256 characters, while the POSIX tar specification limits the second part to this length. Is this correct ? Do we already have paths exceeding this length in OOo SDK ? EPM is GPL'd so it's not included anymore in OpenOffice's distribution, It's a build dependency so the ports tree will take care of it. Reset assigne to the default "issues@openoffice.apache.org". |