[MacPorts] #20543: nss fails initial build at link phase

MacPorts noreply at macports.org
Tue Aug 4 15:09:50 PDT 2009


#20543: nss fails initial build at link phase
---------------------------------------+------------------------------------
 Reporter:  objectivecanine@…          |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  1.7.1                                
 Keywords:                             |        Port:  nss                                  
---------------------------------------+------------------------------------

Comment(by objectivecanine@…):

 I'm running version 1.710 (as reported by 'port'.

 I have a debug log now, and I waded into it, and I can give a more
 detailed explanation of the symptom:

 nspr is compiled as an i386 binary, and nss is being compiled as an x86_64
 one, and thus they don't link together:

 /usr/bin/gcc-4.0 -arch x86_64 -dynamiclib -compatibility_version 1
 -current_version 1 -install_name /opt/local/lib/nss/libnssutil3.dylib
 -headerpad_max_install_names -L/opt/local/lib/nspr -L/opt/local/lib/  -o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/libnssutil3.dylib
 Darwin9.7.0_gcc-4.0_DBG.OBJ/quickder.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secdig.o Darwin9.7.0_gcc-4.0_DBG.OBJ/derdec.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/derenc.o Darwin9.7.0_gcc-4.0_DBG.OBJ/dersubr.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/dertime.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/nssb64d.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/nssb64e.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/nssrwlk.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/nssilock.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/oidstring.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/portreg.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secalgid.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secasn1d.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secasn1e.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secasn1u.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secitem.o Darwin9.7.0_gcc-4.0_DBG.OBJ/secoid.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/sectime.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secport.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/secinit.o
 Darwin9.7.0_gcc-4.0_DBG.OBJ/templates.o Darwin9.7.0_gcc-4.0_DBG.OBJ/utf8.o
 -L../../../../dist/Darwin9.7.0_gcc-4.0_DBG.OBJ/lib -L/opt/local/lib/nspr
 -lplc4 -lplds4 -lnspr4
 ld warning: in /opt/local/lib/nspr/libplc4.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/nspr/libplds4.dylib, file is not of required
 architecture
 ld warning: in /opt/local/lib/nspr/libnspr4.dylib, file is not of required
 architecture

 $ file /opt/local/lib/nspr/lib*dylib
 /opt/local/lib/nspr/libnspr4.dylib: Mach-O dynamically linked shared
 library i386
 /opt/local/lib/nspr/libplc4.dylib:  Mach-O dynamically linked shared
 library i386
 /opt/local/lib/nspr/libplds4.dylib: Mach-O dynamically linked shared
 library i386

 Note that I am _NOT_ building either as a +universal, and this machine
 _DOES NOT_ have x86_64 listed in macports.conf!

 If you still want a debug log, let me know, and I can stick it somewhere
 -- I should be around the rest of the week, but it's a really long file
 and I did poke around changing a couple things after reading it the first
 time, and silly me, I didn't save it first. :)

-- 
Ticket URL: <http://trac.macports.org/ticket/20543#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list