pkgsrc-Bugs archive

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

Re: pkg/56590 (www/firefox 95.0.1nb1 fails to build on NetBSD 9.2_STABLE)



The following reply was made to PR pkg/56590; it has been noted by GNATS.

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56590 (www/firefox 95.0.1nb1 fails to build on NetBSD
 9.2_STABLE)
Date: Sun, 02 Jan 2022 20:22:32 -0500

 I've run more builds against pkgsrc-current and the 2021Q4 branch (same
 underlying system state), and can reproduce the failure every time. The
 exact error can vary a bit (three complaints vs. one about "archive has
 no index").
 
 /usr/pkg/bin/clang++ -std=gnu++17 --target=wasm32-wasi 
 --sysroot=/usr/pkg/wasi -o rlbox.wasm -Wl,--export-all -Wl,--stack-first 
 -Wl,-z,stack-size=262144 -Wl,--no-entry -Wl,--growable-table 
 ogg_alloc.wasm ogg_bitwise.wasm ogg_framing.wasm 
 wasm2c_sandbox_wrapper.wasm mozHunspellRLBoxSandbox.wasm affentry.wasm 
 affixmgr.wasm csutil.wasm hashmgr.wasm hunspell.wasm phonet.wasm 
 replist.wasm suggestmgr.wasm GraphiteExtra.wasm CmapCache.wasm Code.wasm 
 Collider.wasm Decompressor.wasm Face.wasm FeatureMap.wasm FileFace.wasm 
 Font.wasm GlyphCache.wasm GlyphFace.wasm Intervals.wasm Justifier.wasm 
 NameTable.wasm Pass.wasm Position.wasm Segment.wasm Silf.wasm Slot.wasm 
 Sparse.wasm TtfUtil.wasm UtfCodec.wasm call_machine.wasm 
 gr_char_info.wasm gr_face.wasm gr_features.wasm gr_font.wasm 
 gr_logging.wasm gr_segment.wasm gr_slot.wasm json.wasm 
 -lwasi-emulated-process-clocks
 wasm-ld: error: /usr/pkg/wasi/lib/wasm32-wasi/libc++.a: archive has no 
 index; run ranlib to add one
 wasm-ld: error: /usr/pkg/wasi/lib/wasm32-wasi/libc++abi.a: archive has 
 no index; run ranlib to add one
 wasm-ld: error: 
 /usr/pkg/lib/clang/13.0.0/lib/wasi/libclang_rt.builtins-wasm32.a: 
 archive has no index; run ranlib to add one
 clang-13: error: linker command failed with exit code 1 (use -v to see 
 invocation)
 gmake[3]: *** 
 [/home/disciple/pkgsrc/www/firefox/work/firefox-95.0.1/config/rules.mk:498: 
 rlbox.wasm] Error 1
 gmake[3]: Leaving directory 
 '/home/disciple/pkgsrc/www/firefox/work/build/security/rlbox'
 gmake[2]: *** 
 [/home/disciple/pkgsrc/www/firefox/work/firefox-95.0.1/config/recurse.mk:72: 
 security/rlbox/target-objects] Error 2
 
 vs.
 
 /usr/pkg/bin/clang++ -std=gnu++17 --target=wasm32-wasi 
 --sysroot=/usr/pkg/wasi -o rlbox.wasm -Wl,--export-all -Wl,--stack-first 
 -Wl,-z,stack-size=262144 -Wl,--no-entry -Wl,--growable-table 
 ogg_alloc.wasm ogg_bitwise.wasm ogg_framing.wasm 
 wasm2c_sandbox_wrapper.wasm mozHunspellRLBoxSandbox.wasm affentry.wasm 
 affixmgr.wasm csutil.wasm hashmgr.wasm hunspell.wasm phonet.wasm 
 replist.wasm suggestmgr.wasm GraphiteExtra.wasm CmapCache.wasm Code.wasm 
 Collider.wasm Decompressor.wasm Face.wasm FeatureMap.wasm FileFace.wasm 
 Font.wasm GlyphCache.wasm GlyphFace.wasm Intervals.wasm Justifier.wasm 
 NameTable.wasm Pass.wasm Position.wasm Segment.wasm Silf.wasm Slot.wasm 
 Sparse.wasm TtfUtil.wasm UtfCodec.wasm call_machine.wasm 
 gr_char_info.wasm gr_face.wasm gr_features.wasm gr_font.wasm 
 gr_logging.wasm gr_segment.wasm gr_slot.wasm json.wasm 
 -lwasi-emulated-process-clocks
 wasm-ld: error: 
 /usr/pkg/lib/clang/13.0.0/lib/wasi/libclang_rt.builtins-wasm32.a: 
 archive has no index; run ranlib to add one
 clang-13: error: linker command failed with exit code 1 (use -v to see 
 invocation)
 gmake[3]: *** 
 [/home/disciple/pkgsrc_2021Q4/pkgsrc/www/firefox/work/firefox-95.0.1/config/rules.mk:498: 
 rlbox.wasm] Error 1
 gmake[3]: Leaving directory 
 '/home/disciple/pkgsrc_2021Q4/pkgsrc/www/firefox/work/build/security/rlbox'
 gmake[2]: *** 
 [/home/disciple/pkgsrc_2021Q4/pkgsrc/www/firefox/work/firefox-95.0.1/config/recurse.mk:72: 
 security/rlbox/target-objects] Error 2
 
 I haven't looked any further into this, but have retained the work
 directories of the builds.
 
 Dave
 


Home | Main Index | Thread Index | Old Index