tech-pkg archive

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

Latest firefox pkg fails?



I wonder if I have a local problem or if it doesn't build for anyone - trying
to build latest www/firefox on a machine running NetBSD/amd64 -current
fails linking:

[*] /usr/pkgobj/www/firefox/work/.wrapper/bin/c++ 
/usr/pkgobj/www/firefox/work/.wrapper/bin/c++ -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/nspr -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 
-I/usr/pkg/include/xulrunner -Wall -Wpointer-arith -Woverloaded-virtual 
-Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy 
-Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align 
-O2 -pipe -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr 
-I/usr/X11R7/include -I/usr/X11R7/include/freetype2 
-I/usr/pkg/include/xulrunner -fno-exceptions -fno-strict-aliasing -Dunix 
-fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x 
-pthread -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -fPIC -DPIC -shared 
-Wl,-soname,libbrowsercomps.so -o libbrowsercomps.so 
/usr/pkgobj/www/firefox/work/mozilla-release/browser/components/build/tmpCybeGA.list
 -lpthread -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib 
-L/usr/pkg/lib/nspr -Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nss 
-Wl,-R/usr/pkg/lib/nss -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-z,noexecstack 
-Wl,-rpath-link,/usr/pkg/lib/xulrunner/bin -Wl,-rpath-link,/usr/pkg/lib 
/usr/pkg/lib/xulrunner/lib/libunicharutil_external_s.a 
/usr/pkg/lib/xulrunner/lib/libxpcomglue_s.a -L/usr/pkg/lib/xulrunner/bin 
-lxpcom -lmozalloc -L/usr/pkg/lib/xulrunner/bin -lxpcom -lmozalloc -lxul 
-L/usr/pkg/lib/xulrunner/bin -L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/pkg/lib 
-L/usr/X11R7/lib -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/pkg/lib 
-lgtk-x11-2.0 -Wl,-R/usr/pkg/lib -lgtk-x11-2.0 -Wl,-R/usr/pkg/lib -latk-1.0 
-Wl,-R/usr/pkg/lib -lgdk-x11-2.0 -Wl,-R/usr/pkg/lib -lpangocairo-1.0 
-Wl,-R/usr/pkg/lib -lpangoft2-1.0 -Wl,-R/usr/pkg/lib -lpango-1.0 -lm 
-Wl,-rpath,/usr/X11R7/lib -lfreetype -lz -Wl,-R/usr/pkg/lib -lgio-2.0 
-Wl,-R/usr/pkg/lib -lgio-2.0 -Wl,-rpath,/usr/X11R7/lib -lfontconfig 
-Wl,-rpath,/usr/X11R7/lib -lXrender -Wl,-rpath,/usr/X11R7/lib -lXinerama 
-Wl,-rpath,/usr/X11R7/lib -lXi -Wl,-rpath,/usr/X11R7/lib -lXrandr 
-Wl,-rpath,/usr/X11R7/lib -lXcursor -Wl,-rpath,/usr/X11R7/lib -lXcomposite 
-Wl,-rpath,/usr/X11R7/lib -lXdamage -Wl,-rpath,/usr/X11R7/lib -lXfixes 
-Wl,-R/usr/pkg/lib -lgdk_pixbuf-2.0 -Wl,-R/usr/pkg/lib -lgobject-2.0 
-Wl,-R/usr/pkg/lib -lglib-2.0 -lintl -Wl,-R/usr/pkg/lib -lcairo 
-Wl,-rpath,/usr/X11R7/lib -lX11 -Wl,-rpath,/usr/X11R7/lib -lXext
WARNING: [transform-gcc] passing unknown option -Woverloaded-virtual
WARNING: [transform-gcc] passing unknown option -Werror=return-type
WARNING: [transform-gcc] passing unknown option -Wtype-limits
WARNING: [transform-gcc] passing unknown option -Wempty-body
WARNING: [transform-gcc] passing unknown option -Wno-ctor-dtor-privacy
WARNING: [transform-gcc] passing unknown option -Wno-overlength-strings
WARNING: [transform-gcc] passing unknown option -Wno-invalid-offsetof
WARNING: [transform-gcc] passing unknown option -Wno-variadic-macros
WARNING: [transform-gcc] passing unknown option -ffunction-sections
WARNING: [transform-gcc] passing unknown option -fdata-sections
WARNING: [transform-gcc] passing unknown option -std=gnu++0x
==> Reordering libraries:  -lpthread -lxpcom -lmozalloc -lxpcom -lmozalloc 
-lxul -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lpangoft2-1.0 
-lpango-1.0 -lm -lfreetype -lz -lgio-2.0 -lfontconfig -lXrender -lXinerama -lXi 
-lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lgdk_pixbuf-2.0 
-lgobject-2.0 -lglib-2.0 -lintl -lcairo -lX11 -lXext
<.> /usr/pkgobj/www/firefox/work/.gcc/bin/g++ 
-I/usr/pkgobj/www/firefox/work/.buildlink/include 
-I/usr/pkgobj/www/firefox/work/.buildlink/include/nspr 
-I/usr/pkgobj/www/firefox/work/.x11-buildlink/include 
-I/usr/pkgobj/www/firefox/work/.x11-buildlink/include/freetype2 
-I/usr/pkgobj/www/firefox/work/.buildlink/include/xulrunner -Wall 
-Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits 
-Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings 
-Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -O2 -pipe 
-fno-exceptions -fno-strict-aliasing -Dunix -fno-rtti -ffunction-sections 
-fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED 
-O2 -fomit-frame-pointer -fPIC -DPIC -shared -Wl,-soname -Wl,libbrowsercomps.so 
-o libbrowsercomps.so 
/usr/pkgobj/www/firefox/work/mozilla-release/browser/components/build/tmpCybeGA.list
 -L/usr/pkgobj/www/firefox/work/.buildlink/lib -Wl,-R/usr/pkg/lib 
-L/usr/pkgobj/www/firefox/work/.buildlink/lib/nspr -Wl,-R/usr/pkg/lib/nspr 
-L/usr/pkgobj/www/firefox/work/.buildlink/lib/nss -Wl,-R/usr/pkg/lib/nss 
-L/usr/pkgobj/www/firefox/work/.x11-buildlink/lib -Wl,-R/usr/X11R7/lib -Wl,-z 
-Wl,noexecstack -Wl,-rpath-link,/usr/pkg/lib/xulrunner/bin 
-Wl,-rpath-link,/usr/pkg/lib 
/usr/pkg/lib/xulrunner/lib/libunicharutil_external_s.a 
/usr/pkg/lib/xulrunner/lib/libxpcomglue_s.a 
-L/usr/pkgobj/www/firefox/work/.buildlink/lib/xulrunner/bin 
-Wl,-rpath,/usr/X11R7/lib -lpthread -lxpcom -lmozalloc -lxpcom -lmozalloc -lxul 
-lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lpangoft2-1.0 
-lpango-1.0 -lm -lfreetype -lz -lgio-2.0 -lfontconfig -lXrender -lXinerama -lXi 
-lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lgdk_pixbuf-2.0 
-lgobject-2.0 -lglib-2.0 -lintl -lcairo -lX11 -lXext


This leads to:

ld: cannot find -lxpcom
ld: cannot find -lmozalloc
ld: cannot find -lxpcom
ld: cannot find -lmozalloc
ld: cannot find -lxul


The -L/usr/pkg/lib/xulrunner/bin -lxpcom...
should probably be: -L/usr/pkg/lib/xulrunner/lib -lxpcom ...
but I don't see where this goes wrong.

Any hints? Is anyone else seeing this?

Martin


Home | Main Index | Thread Index | Old Index