Closed Bug 293609 Opened 19 years ago Closed 19 years ago

packager requires GNU tar

Categories

(Firefox Build System :: General, defect)

HP
HP-UX
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 260174

People

(Reporter: stefan_blobner, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.8a6) Gecko/20050119
Build Identifier: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.7.7) Gecko/20050510 Firefox/1.0.3

After building Firefox, the packaging fails on HP-UX due to the usage of the tar
command:

Compressing...
cd ../../dist; tar -c --owner=0 --group=0 --numeric-owner --mode="go-w" -f -
firefox | gzip -vf9 > firefox-1.0.3.en-US.hpux11.11-hppa2.0w-gtk1.tar.gz
tar: cannot open /dev/rmt/0m

on HP-UX the '--*' parameters (owner/group/mode/numeric-owner) are not supported
and tar assumes that these are filenames, so in the end it doesn't read the '-f
-' parameter.

so a fix could be done in ./toolkit/mozapps/installer/packager.mk, line 74 to
fix this:

CREATE_FINAL_TAR = tar -cf

and in line 227

 @echo "Compressing..."
 @chmod -R go-w $(DIST)/$(MOZ_PKG_APPNAME)
 @chown -R 0:0 $(DIST)/$(MOZ_PKG_APPNAME)
 cd $(DIST); $(MAKE_PACKAGE)

Reproducible: Always

Steps to Reproduce:
package the build
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Core
QA Contact: build.config → build-config
Summary: packaging the Firefox build fails due to tar usage → packager requires GNU tar
Version: unspecified → Trunk
I remember seeing a bug about this for Solaris, perhaps with a patch, but I
can't find it.
Bug #260174 perhaps?

*** This bug has been marked as a duplicate of 260174 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.