pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problem building wip/firefox on NetBSD 5.99.24/amd64



On 2010-02-01, at 11:12 PM, David H. Gutteridge wrote:

> On 2010-02-01, at 11:04 PM, David H. Gutteridge wrote:
> 
>> Hi all,
>> 
>> Has anyone else had any problem building wip/firefox on NetBSD amd64?
>> It built and ran fine for me with the 3.6RC1 candidate, but since the
>> package was updated to the final 3.6 source, it is now failing like so:
>> 
>> gmake[5]: Entering directory 
>> `/home/disciple/pkgsrc/wip/firefox/work/mozilla-1.9.2/browser/components/build'
>> rm -f libbrowsercomps.so
>> c++ -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python2.6 
>> -I/usr/X11R7/include -I/usr/X11R7/include/freetype2  -I/usr/X11R7/include 
>> -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth 
>> -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align 
>> -Wno-invalid-offsetof -Wno-long-long -O2 -I/usr/pkg/include -I/usr/include 
>> -I/usr/pkg/include/python2.6 -I/usr/X11R7/include 
>> -I/usr/X11R7/include/freetype2 -fno-strict-aliasing -Dunix -fshort-wchar 
>> -pthread -pipe  -DDEBUG -D_DEBUG -DDEBUG_disciple -DTRACING -g -O2 -fPIC 
>> -DPIC -shared -Wl,-soname,libbrowsercomps.so -o libbrowsercomps.so  
>> nsModule.o     -lpthread -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib 
>> -L/usr/pkg/lib/python2.6/config -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib 
>> -Wl,-R/usr/X11R7/lib         -Wl,-rpath-link,/usr/pkg/lib/xulrunner-sdk/bin 
>> -Wl,-rpath-link,/usr/pkg/lib  -Wl,--whole-archive 
>> ../feeds/src/libbrowser_feeds_s.a ../places/src/libbrowserplaces_s.a 
>> ../privatebrowsing/src/libprivatebrowsing_s
 .a ../about/libbrowserabout_s.a  ../shell/src/libshellservice_s.a 
../migration/src/libmigration_s.a -Wl,--no-whole-archive 
-L/usr/pkg/lib/xulrunner-sdk/lib -lunicharutil_external_s 
/usr/pkg/lib/xulrunner-sdk/lib/libmozreg_s.a 
/usr/pkg/lib/xulrunner-sdk/lib/libxpcomglue_s.a 
-L/usr/pkg/lib/xulrunner-sdk/bin -lxpcom -lxpcom_core  
-L/usr/pkg/lib/xulrunner-sdk/bin -Wl,-R/usr/pkg/lib/xulrunner -pthread 
-L/usr/pkg/lib/xulrunner -lplds4 -lplc4 -lnspr4    -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -lgtk-x11-2.0 -latk-1.0 
-lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lgio-2.0 -lXext -lXrender 
-lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 
-lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lglib-2.0 -lintl -lXfixes -lcairo -lX11      -lm    
>> ld: cannot find -lxpcom_core
>> gmake[5]: *** [libbrowsercomps.so] Error 1
>> gmake[5]: Leaving directory 
>> `/home/disciple/pkgsrc/wip/firefox/work/mozilla-1.9.2/browser/components/build'
>> gmake[4]: *** [libs] Error 2
>> gmake[4]: Leaving directory 
>> `/home/disciple/pkgsrc/wip/firefox/work/mozilla-1.9.2/browser/components'
>> gmake[3]: *** [libs] Error 2
>> gmake[3]: Leaving directory 
>> `/home/disciple/pkgsrc/wip/firefox/work/mozilla-1.9.2/browser'
>> gmake[2]: *** [libs_tier_app] Error 2
>> gmake[2]: Leaving directory 
>> `/home/disciple/pkgsrc/wip/firefox/work/mozilla-1.9.2'
>> gmake[1]: *** [tier_app] Error 2
>> gmake[1]: Leaving directory 
>> `/home/disciple/pkgsrc/wip/firefox/work/mozilla-1.9.2'
>> gmake: *** [all] Error 2
>> *** Error code 2
>> 
>> Non-package-related differences are that I've upgraded from 5.99.22 to
>> 5.99.24, but I doubt that's an issue.  I kept binary packages of the
>> RC1 packages and it doesn't appear that libxpcom_core was installed
>> then either, so I'm assuming something's changed at Mozilla's end.
>> 
>> Regards,
>> 
>> Dave
> 
> Of course, I should mention I enabled the debug option too, as you can
> see.  I'm retesting by building without debugging enabled now.  (I
> realized I didn't have that set when I built RC1.)
> 
> Dave

This issue only occurs if the debug option is enabled.  (Separately, it
also seems that the INSTALL_UNSTRIPPED option doesn't have the desired
effect with xulrunner.  I think perhaps the binaries end up getting
stripped before the invocation of install(1)?)

Dave


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index