Closed
Bug 361710
Opened 18 years ago
Closed 18 years ago
Strange behaviour in browser/installer perl script
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 339933
People
(Reporter: KaiE, Unassigned)
Details
I'm experiencing this bug on a Fedora Core 6 system, i386. - build firefox opt in an separate objdir - cd obj-fire-opt/browser/installer - make This gives me the following output and aborts with an error: Creating package directory... rm -f -rf ../../dist/xpt /usr/bin/perl -I/extra/moz/18/mozilla/xpinstall/packager -e 'use Packager; \ Packager::Copy("../../dist", "../../dist/firefox", \ "packages-static", "unix", 1, 0, 1);' Error: package file "SCALAR(0x808c75c)" is not a file or is unreadable. Using some debug prints I learned, variable $package does not contain the expected string "packages-static", but when given to a print command, I get that SCALAR output. The hex value is different each time. For testing, I ran the perl command line manually, same results. Then I tried to run the perl command line with a single line, i.e. not breaking it up into multiple lines using backslash. To my surprise this works. I edited mozilla/toolkit/mozapps/installer/packager.mk and edited the original perl command below the stage-package target, and moved the second line of Packager::Copy up, eliminating the backslash, and that works, too. Is this a bug in the perl engine shipped with FC6? Or is there a bug in the perl script?
Reporter | ||
Comment 1•18 years ago
|
||
looks like a dupe of 339933, testing
Reporter | ||
Comment 2•18 years ago
|
||
indeed *** This bug has been marked as a duplicate of 339933 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•