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

RESOLVED WONTFIX

Status

()

Core
Build Config
RESOLVED WONTFIX
10 years ago
10 years ago

People

(Reporter: jimb, Assigned: jimb)

Tracking

Trunk
PowerPC
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

10 years ago
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)

Updated

10 years ago
Assignee: nobody → jim
(Assignee)

Comment 1

10 years ago
Universal builds without --disable-tests aren't a build config we care about.
Status: NEW → RESOLVED
Last Resolved: 10 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.
You need to log in before you can comment on or make changes to this bug.