pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/45553: mozilla packages on NetBSD 4.0 should not use --with-system-libevent
The following reply was made to PR pkg/45553; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Tobias Nygren <tnn%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/45553: mozilla packages on NetBSD 4.0 should not use
--with-system-libevent
Date: Tue, 29 Nov 2011 00:23:12 +0700
Date: Sun, 27 Nov 2011 13:15:41 +0100
From: Tobias Nygren <tnn%NetBSD.org@localhost>
Message-ID: <20111127131541.94137818.tnn%NetBSD.org@localhost>
| Please try this patch for the non-lvalue GCC bug:
I'll try that in a few minutes, I wanted to first test the updated package
using a newer compiler to see if it would then build successfully. It
still doesn't, but ...
| I just committed fixes for the other NetBSD 4.x issues.
It looks as if all the previously detected problems (the gcc issue left
aside for now) are fixed, but that just revealed a new one.
Here's the end of the build log using GCC_REQD=4.4 to get a compiler that
gets past the problem. When I apply your gcc patch (and remove the
GCC_REQD) I'll let you know if it gets this far (in which case you'll
need to wait a while, the compile isn't that fast (for me)) or if it
still aborts earlier.
Aside from the "official branding" option (which probably doesn't affect
xulrunner) there are no options set that should have any impact (inet6
is turned on of course.) X11_TYPE=modular, USE_DESTDIR=no.
kre
rm -f libxul.so
/usr/pkg/bin/python2.6 ../../config/pythonpath.py -I../../config
../../config/expandlibs_exec.py --uselist -- c++ -I/usr/include
-I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/gcc44/include
-I/usr/pkg/gcc44/lib/gcc/i386-unknown-netbsdelf4.0/4.4.6/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-variadic-macros -Werror=return-type -O2 -I/usr/include -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/gcc44/include
-I/usr/pkg/gcc44/lib/gcc/i386-unknown-netbsdelf4.0/4.4.6/include
-fno-strict-aliasing -Dunix -fshort-wchar -pthread -ffunction-sections
-fdata-sections -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -DPIC -shared
-Wl,--gc-sections -Wl,-soname,libxul.so -o libxul.so nsStaticXULComponents.o
nsUnicharUtils.o nsBidiUtils.o nsRDFResource.o -lpthread
-L/usr/pkg/gcc44/lib/gcc/i386-unknown-netbsdelf4.0/4.4.6
-Wl,-R/usr/pkg/gcc44/lib/gcc/i386-
!
unknown-netbsdelf4.0/4.4.6 -L/usr/pkg/gcc44/lib -Wl,-R/usr/pkg/gcc44/lib
-L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib
-L/usr/pkg/gcc44/lib/gcc/i386-unknown-netbsdelf4.0/4.4.6/
-Wl,-R/usr/pkg/gcc44/lib/gcc/i386-unknown-netbsdelf4.0/4.4.6/
-Wl,-R/usr/pkg/lib
-Wl,-rpath-link,/pkg_comp/obj/pkgsrc/devel/xulrunner/4x/mozilla-release/dist/bin
-Wl,-rpath-link,/usr/pkg/lib ../../toolkit/xre/libxulapp_s.a
../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a
../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a
../../staticlib/components/libjar50.a
../../staticlib/components/libstartupcache.a
../../staticlib/components/libpref.a ../../staticlib/components/libhtmlpars.a
../../staticlib/components/libimglib2.a ../../staticlib/components/libgkgfx.a
../../staticlib/components/libgklayout.a
../../staticlib/components/libdocshell.a
../../staticlib/components/libembedcomponents.a
../../staticlib/components/libwebbrwsr.a ../../staticlib/components/
!
libnsappshell.a ../../staticlib/components/libtxmgr.a ../../st!
aticlib/components/libcommandlines.a
../../staticlib/components/libtoolkitcomps.a
../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a
../../staticlib/components/libappcomps.a
../../staticlib/components/libjsreflect.a
../../staticlib/components/libcomposer.a
../../staticlib/components/libjetpack_s.a
../../staticlib/components/libtelemetry.a
../../staticlib/components/libstoragecomps.a
../../staticlib/components/libjsctypes.a ../../staticlib/components/libjsperf.a
../../staticlib/components/libgkplugin.a
../../staticlib/components/libunixproxy.a ../../staticlib/components/libjsd.a
../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a
../../staticlib/components/libcookie.a
../../staticlib/components/libpermissions.a
../../staticlib/components/libuniversalchardet.a
../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a
../../staticlib/components/libfileview.a ../../staticlib/components/libplaces.a
../../
!
staticlib/components/libtkautocomplete.a
../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a
../../staticlib/components/libwidget_gtk2.a
../../staticlib/components/libsystem-pref.a
../../staticlib/components/libimgicon.a
../../staticlib/components/libaccessibility.a
../../staticlib/components/libremoteservice.a
../../staticlib/components/libspellchecker.a
../../staticlib/components/libzipwriter.a
../../staticlib/components/libservices-crypto.a ../../staticlib/libjsipc_s.a
../../staticlib/libdomipc_s.a ../../staticlib/libdomplugins_s.a
../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a
../../staticlib/libipcshell_s.a ../../staticlib/libgfx2d.a
../../staticlib/libgfxipc_s.a ../../staticlib/libxpcom_core.a
../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a
../../staticlib/libmozreg_s.a ../../staticlib/libgtkxtbin.a
../../staticlib/libthebes.a ../../staticlib/libycbcr.a
../../staticlib/libangle.a -L../../dist/bin -L../../dist
!
/lib -ljpeg ../../modules/libimg/png/libmozpng.a ../../gfx/qcms/libmoz!
qcms.a
/pkg_comp/obj/pkgsrc/devel/xulrunner/4x/mozilla-release/dist/lib/libjs_static.a
-L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3
../../gfx/cairo/cairo/src/libmozcairo.a
../../gfx/cairo/libpixman/src/libmozlibpixman.a -lXrender -lfreetype
-lfontconfig ../../gfx/harfbuzz/src/libmozharfbuzz.a
../../gfx/ots/src/libmozots.a -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lsqlite3
-lz -L/usr/pkg/lib -levent -lrt -L../../dist/bin -L../../dist/lib
-Wl,-R/usr/pkg/lib/xulrunner
-L/pkg_comp/obj/pkgsrc/devel/xulrunner/4x/mozilla-release/dist/lib -lplds4
-lplc4 -lnspr4 -L/usr/pkg/gcc44/lib/gcc/i386-unknown-netbsdelf4.0/4.4.6
-L/usr/pkg/gcc44/lib -L/usr/lib -L/usr/pkg/lib
-L/usr/pkg/gcc44/lib/gcc/i386-unknown-netbsdelf4.0/4.4.6/ -pthread
../../dist/lib/libmozalloc.a -lossaudio -lX11 -lXext -Wl,-R/usr/pkg/lib
-pthread -L/usr/pkg/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm
-lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lgli
!
b-2.0 -lintl -Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -lgtk-x11-2.0
-latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi
-lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0
-lpango-1.0 -lm -lfreetype -lfontconfig -lgio-2.0 -lgmodule-2.0 -lXfixes
-lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lcairo -lX11 -lXt
-lgthread-2.0 -L/usr/pkg/lib -lfreetype -lz -lbz2 -lossaudio
/usr/bin/ld: Warning: gc-sections option ignored
../../media/libsydneyaudio/src/sydney_audio_oss.o: In function
`sa_stream_get_position':
sydney_audio_oss.c:(.text.sa_stream_get_position+0x49): undefined reference to
`_oss_ioctl'
../../media/libsydneyaudio/src/sydney_audio_oss.o: In function
`audio_callback':
sydney_audio_oss.c:(.text.audio_callback+0x28): undefined reference to
`_oss_ioctl'
../../media/libsydneyaudio/src/sydney_audio_oss.o: In function
`sa_stream_open':
sydney_audio_oss.c:(.text.sa_stream_open+0x67): undefined reference to
`_oss_ioctl'
sydney_audio_oss.c:(.text.sa_stream_open+0x80): undefined reference to
`_oss_ioctl'
sydney_audio_oss.c:(.text.sa_stream_open+0x99): undefined reference to
`_oss_ioctl'
../../ipc/chromium/platform_thread_posix.o: In function
`PlatformThread::CurrentId()':
platform_thread_posix.cc:(.text._ZN14PlatformThread9CurrentIdEv+0x8):
undefined reference to `_lwp_self'
/usr/bin/ld: libxul.so: hidden symbol `_oss_ioctl' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/xulrunner/4x/mozilla-release/toolkit/library'
gmake[2]: *** [libs_tier_platform] Error 2
gmake[2]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/xulrunner/4x/mozilla-release'
gmake[1]: *** [tier_platform] Error 2
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/devel/xulrunner/4x/mozilla-release'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/devel/xulrunner
*** Error code 1
Stop.
Home |
Main Index |
Thread Index |
Old Index