Closed Bug 456629 Opened 16 years ago Closed 16 years ago

genpgocert.py cannot run certutil, loading libssl3.dylib fails

Categories

(Firefox Build System :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jimb, Assigned: jimb)

References

Details

On OS X 10.5.5, building a universal binary with M-C trunk (r3a4db7f8bd83) fails with the following message:

/usr/bin/python ../../_profile/pgo/genpgocert.py --gen-server
dyld: Library not loaded: @executable_path/libssl3.dylib
  Referenced from: /Users/jimblandy/mc/jsuni/obj-rel/ppc/nss/certutil
  Reason: image not found
ERROR FAIL: SSL Server Certificate generation
make[5]: *** [libs] Error 133
make[4]: *** [libs_tier_toolkit] Error 2

Adding 'print' commands to genpgocert.py shows that it is executing the command:

./../../dist/bin/certutil -N -d ../../_profile/pgo/certs -f ../../_profi/e/pgo/certl/.crtdbpw

Running this command from the shell also fails as shown.

The certutil in dist/bin/ is a symlink back to obj-rel/ppc/nss/certutil; replacing that symlink with a copy of the executable allows certutil to run properly.  The libssl3.dylib file is located in dist/bin.

Here's the .mozconfig I'm using:

# dot-mozconfig-release-universal
. $topsrcdir/browser/config/mozconfig
. $topsrcdir/build/macosx/universal/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-rel
# mk_add_options MOZ_MAKE_FLAGS="-j4"

Note that I don't --disable-tests.
Assignee: nobody → jim
Universal builds without --disable-tests aren't a build config we care about.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
There probably should be a bug about making genpgocert.py work in a cross-compile, though. We discussed this in bug 428009.
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.