pkgsrc-Users archive

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

Re: firefox doesn't build for me



On November 14, 2018 8:37:02 PM GMT+09:00, Thomas Klausner <tk%giga.or.at@localhost> wrote:
>Hi!
>
>I'm building firefox-63.0.1 (pkgsrc from yesterday) on a slightly
>older current/amd64 (8.99.25 from Sep 5). My default python is 3.7.
>
>I have two issues:
>
>'make configure' stops here:
>
>...
>js/src> checking for valloc in unistd.h... no
>js/src> checking for localeconv... (cached) yes
>js/src> updating cache /scratch/www/firefox/work/build/config.cache
>js/src> creating ./config.data
>js/src> Creating config.status
>Creating config.status
>Reticulating splines...
>0:01.52 File already read. Skipping:
>/scratch/www/firefox/work/firefox-63.0.1/gfx/angle/targets/angle_common/moz.build
>(nothing happens)
>
>
>When I interrupt and restart, it gets further, but then repeatably
>fails with:
>
>gmake[3]: Entering directory
>'/scratch/www/firefox/work/build/toolkit/library'
>libxul.so
>rm -f libxul.so
>/scratch/www/firefox/work/.cwrapper/bin/c++ -g -I/usr/include
>-I/usr/pkg/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss
>-I/usr/pkg/include/libdrm -I/usr/pkg/include/glib/glib-2.0
>-I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
>-I/usr/pkg/include/ffmpeg4 -I/usr/pkg/include/freetype2
>-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wall -Wempty-body
>-Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith
>-Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings
>-Wno-invalid-offsetof -Wduplicated-cond -Wno-error=maybe-uninitialized
>-Wno-error=deprecated-declarations -Wno-error=array-bounds
>-Wno-error=free-nonheap-object -Wformat -fno-sized-deallocation -O2
>-I/usr/pkg/include/nspr -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -g
>-D_FORTIFY_SOURCE=2 -fstack-check -I/usr/include -I/usr/pkg/include
>-I/usr/pkg/include/nss/nss -I/usr/pkg/include/libdrm
>-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0
>-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4
>-I/usr/pkg/include/freetype2 -D__HAVE_INLINE___ISINF -U_FORTIFY_SOURCE
>-D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -Dunix
>-fno-rtti -ffunction-sections -fdata-sections -fno-exceptions
>-fno-math-errno -pthread -pipe -I/usr/pkg/include -O2
>-fomit-frame-pointer -fPIC -DPIC -shared -Wl,--gc-sections
>-Wl,-soname,libxul.so -o libxul.so
>/scratch/www/firefox/work/build/toolkit/library/libxul_so.list  
>-lpthread -Wl,-R/usr/pkg/lib/firefox -Wl,-R/usr/pkg/lib -Wl,-z,relro
>-Wl,-z,now -L/usr/lib -Wl,-R/usr/lib -L/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/pkg/lib/ffmpeg4 -Wl,-R/usr/pkg/lib/ffmpeg4 -Wl,-z,noexecstack
>-Wl,-z,text -Wl,-z,relro -Wl,--build-id=sha1
>/scratch/www/firefox/work/firefox-63.0.1/toolkit/library/StaticXULComponents.ld
>-Wl,-rpath-link,/scratch/www/firefox/work/build/dist/bin
>-Wl,-rpath-link,/usr/pkg/lib   ../../js/src/build/libjs_static.a
>x86_64-unknown-netbsd/release/libgkrust.a
>../../config/external/lgpllibs/liblgpllibs.so
>../../config/external/sqlite/libmozsqlite3.so
>../../widget/gtk/mozgtk/stub/libmozgtk_stub.so    -L/usr/pkg/lib
>-licui18n -Wl,-R/usr/pkg/lib -licuuc -licudata -lffi
>-Wl,-R/usr/pkg/lib/nspr -L/usr/pkg/lib/nspr -lplds4 -lplc4 -lnspr4
>-L/usr/lib -pthread -lz -lm -Wl,-R/usr/pkg/lib/nss -L/usr/pkg/lib/nss
>-lnss3 -lsmime3 -lssl3 -lsoftokn3 -lnssutil3 -lfreetype -lfontconfig
>-lXrender -levent -lvpx -lpixman-1 -lossaudio -ldbus-glib-1 -ldbus-1
>-lgobject-2.0 -lglib-2.0 -lintl -lpangocairo-1.0 -lpango-1.0 -latk-1.0
>-lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lX11-xcb -lxcb-shm
>-lxcb -lX11 -lXext -lpangoft2-1.0 -lXt -lgthread-2.0
>/scratch/www/firefox/work/build/_virtualenvs/init/bin/python -m
>mozbuild.action.check_binary --target libxul.so
>434ed10 0 __stop_kPStaticModules
>434ed18 0 __start_kPStaticModules
>59b02e0 8 nsPrefModule_NSModule
>59b02e8 8 nsUConvModule_NSModule
>59b02f0 8 nsI18nModule_NSModule
>59b02f8 8 nsDNSServiceDiscoveryModule_NSModule
>59b0300 8 nsGIOModule_NSModule
>59b0308 8 necko_NSModule
>59b0310 8 nsAuthModule_NSModule
>59b0318 8 nsChardetModule_NSModule
>59b0320 8 nsJarModule_NSModule
>59b0328 8 ZipWriterModule_NSModule
>59b0330 8 mozStorageModule_NSModule
>59b0338 8 nsCookieModule_NSModule
>59b0340 8 nsPermissionsModule_NSModule
>59b0348 8 nsParserModule_NSModule
>59b0350 8 nsGfxModule_NSModule
>59b0358 8 nsImageLib2Module_NSModule
>59b0360 8 nsIconDecoderModule_NSModule
>59b0368 8 FontTableURIProtocolHandler_NSModule
>59b0370 8 _ZN7mozilla3dom31BlobURLProtocolHandler_NSModuleE
>59b0378 8 fakesynth_NSModule
>59b0380 8 synthspeechdispatcher_NSModule
>59b0388 8 nsPluginModule_NSModule
>59b0390 8 PaymentRequestModule_NSModule
>59b0398 8 PresentationDeviceProviderModule_NSModule
>59b03a0 8 nsContentProcessWidgetModule_NSModule
>59b03a8 8 nsWidgetGtk2Module_NSModule
>59b03b0 8 nsComposerModule_NSModule
>59b03b8 8 nsLayoutModule_NSModule
>59b03c0 8 docshell_provider_NSModule
>59b03c8 8 appshell_NSModule
>59b03d0 8 nsUniversalCharDetModule_NSModule
>59b03d8 8 mozSpellCheckerModule_NSModule
>59b03e0 8 _ZN7mozilla31LocalCertServiceModule_NSModuleE
>59b03e8 8 NSS_NSModule
>59b03f0 8 PKI_NSModule
>59b03f8 8 RemoteServiceModule_NSModule
>59b0400 8 Browser_Embedding_Module_NSModule
>59b0408 8 CommandLineModule_NSModule
>59b0410 8 DiskSpaceWatcherModule_NSModule
>59b0418 8 nsMediaSnifferModule_NSModule
>59b0420 8 mozMozIntlHelperModule_NSModule
>59b0428 8 jsperf_NSModule
>59b0430 8 nsPlacesModule_NSModule
>59b0438 8 jsreflect_NSModule
>59b0440 8 nsTelemetryModule_NSModule
>59b0448 8 nsPageThumbsModule_NSModule
>59b0450 8 jsctypes_NSModule
>59b0458 8 tkAutoCompleteModule_NSModule
>59b0460 8 satchel_NSModule
>59b0468 8 nsToolkitCompsModule_NSModule
>59b0470 8 Apprunner_NSModule
>59b0478 8 embedcomponents_NSModule
>59b0480 8 nsUnixProxyModule_NSModule
>59b0488 8 nsAutoConfigModule_NSModule
>59b0490 8 jsinspector_NSModule
>59b0498 8 identity_NSModule
>59b04a0 8 jsdebugger_NSModule
>59b04a8 8 mozgnome_NSModule
>59b04b0 8 nsBrowserCompsModule_NSModule
>TEST-UNEXPECTED-FAIL | check_nsmodules | libxul.so | NSModules are not
>adjacent
>gmake[3]: ***
>[/scratch/www/firefox/work/firefox-63.0.1/config/rules.mk:707:
>libxul.so] Error 1
>gmake[3]: *** Deleting file 'libxul.so'
>gmake[3]: Leaving directory
>'/scratch/www/firefox/work/build/toolkit/library'
>gmake[2]: ***
>[/scratch/www/firefox/work/firefox-63.0.1/config/recurse.mk:74:
>toolkit/library/target] Error 2
>gmake[2]: Leaving directory '/scratch/www/firefox/work/build'
>gmake[1]: ***
>[/scratch/www/firefox/work/firefox-63.0.1/config/recurse.mk:34:
>compile] Error 2
>gmake[1]: Leaving directory '/scratch/www/firefox/work/build'
>gmake: ***
>[/scratch/www/firefox/work/firefox-63.0.1/config/rules.mk:432: all]
>Error 2
>*** Error code 2
>
>Stop.
>make[1]: stopped in /usr/pkgsrc/www/firefox
>*** Error code 1
>
>Anyone else seeing that?
>
>Ideas how to fix this?
>
>Thanks,
> Thomas

Hi,

I have the same problem of the second.
My environment is today's amd64 current.

I suspect changes in pkgsrc/mk, however
I am not sure.

I will investigate the second problem tonight.
-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index