Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#25982 closed defect (fixed)

xulrunner-devel 1.9.2 Configure error - build failure

Reported by: cubranic@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: vang@…
Port: xulrunner-devel

Description

I can't build xulrunner-devel on Snow Leopard even with a +internal_dependencies. It looks like most code is built in 32-bit, as it should, and then libnss3.dylib is not and then fails to build when it can't link to the other libraries.

$ sudo port install xulrunner-devel +internal_dependencies
[...]
:info:build rm -f libnspr4.dylib
:info:build /usr/bin/gcc-4.2 -dynamiclib -compatibility_version 1 \
-current_version 1 -all_load -install_name /opt/local/lib/xulrunner/libnspr4.dylib \
-headerpad_max_install_names -o libnspr4.dylib ./prvrsion.o  [...]  \
-L/opt/local/lib -arch i386 -framework CoreServices -framework CoreFoundation

[...]

:info:build rm -f Darwin10.4.0_OPT.OBJ/libnssutil3.dylib
:info:build /usr/bin/gcc-4.2 -dynamiclib -compatibility_version 1 -current_version 1 \
-install_name /opt/local/lib/xulrunner/libnssutil3.dylib \
-headerpad_max_install_names  -o Darwin10.4.0_OPT.OBJ/libnssutil3.dylib \
Darwin10.4.0_OPT.OBJ/quickder.o [...] \
-L[...]_xulrunner-devel/work/mozilla-1.9.2/dist/lib \
-L[...]_xulrunner-devel/work/mozilla-1.9.2/dist/lib \
-lplc4 -lplds4 -lnspr4  
:info:build ld: warning: in [...]_xulrunner-devel/work/mozilla-1.9.2/dist/lib/libplc4.dylib, file is not of required architecture
:info:build ld: warning: in [...]_xulrunner-devel/work/mozilla-1.9.2/dist/lib/libplds4.dylib, file is not of required architecture
:info:build ld: warning: in [...]_xulrunner-devel/work/mozilla-1.9.2/dist/lib/libnspr4.dylib, file is not of required architecture
:info:build Undefined symbols:
:info:build   "_PR_Lock", referenced from:
:info:build       _NSSRWLock_UnlockWrite_Util in nssrwlk.o
:info:build       _NSSRWLock_UnlockRead_Util in nssrwlk.o
:info:build       _NSSRWLock_LockWrite_Util in nssrwlk.o
:info:build       _NSSRWLock_LockRead_Util in nssrwlk.o
:info:build       _PORT_ArenaMark_Util in secport.o
:info:build       _PORT_ArenaGrow_Util in secport.o
:info:build       _PORT_ArenaAlloc_Util in secport.o
:info:build       _port_ArenaRelease in secport.o
:info:build       _PORT_FreeArena_Util in secport.o
[...]

Attachments (2)

xulrunner-devel.log.gz (254.6 KB) - added by cubranic@… 14 years ago.
The complete log
xulrunner-devel.log (147.0 KB) - added by cubranic@… 14 years ago.
Failing log for 2.0b7

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by cubranic@…

Attachment: xulrunner-devel.log.gz added

The complete log

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jeremyhu@…
Port: xulrunner-devel added

comment:2 Changed 14 years ago by vang@…

Cc: vang@… added

Cc Me!

comment:3 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

Please use +internal_dependencies or try 2.0b7 when I push it.

comment:4 Changed 14 years ago by cubranic@…

Resolution: fixed
Status: closedreopened

Fails for me because 'yasm' is missing:

$ sudo port install xulrunner-devel +gnome
[...]
:info:configure configure: error: yasm is a required build tool for this architecture when webm is enabled. You may either install yasm or --disable-webm (which disables the WebM video format). See https://developer.mozilla.org/en/YASM for more details.
[...]
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)

Changed 14 years ago by cubranic@…

Attachment: xulrunner-devel.log added

Failing log for 2.0b7

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

That has nothing to do with the problem reported in this ticket. Only reopen a ticket if you're seeing the same problem, not just because you're having a problem with the same port.

comment:6 Changed 14 years ago by cubranic@…

Created ticket #27523 for the new build failure.

Note: See TracTickets for help on using tickets.