pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Firefox on NetBSD
On Sat, 18 May 2024 at 22:31:17 +0100, Robert Swindells wrote:
Is anyone else having problems building latest www/firefox on NetBSD?
Getting this kind of error:
gmake[2]: ***
[/u23/pkgobj/www/firefox/work/firefox-126.0/config/recurse.mk:72:
_VERSION='' CARGO_PKG_VERSION=0.1.0 CARGO_PKG_VERSION_MAJOR=0
CARGO_PKG_VERSION_
MINOR=1 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' DEBUG=false
HOST=x86_
64-unknown-netbsd
LD_LIBRARY_PATH='/u23/pkgobj/www/firefox/work/build/release/de
ps:/u23/pkgobj/www/firefox/work/build/release:/usr/pkg/lib/rustlib/x86_64-unknow
n-netbsd/lib' NUM_JOBS=16 OPT_LEVEL=2
OUT_DIR=/u23/pkgobj/www/firefox/work/build
/x86_64-unknown-netbsd/release/build/gecko-profiler-1b4e9916b47d39e3/out
PROFILE
=release RUSTC=/usr/pkg/bin/rustc
RUSTC_LINKER=/u23/pkgobj/www/firefox/work/fire
fox-126.0/build/cargo-linker RUSTDOC=/usr/pkg/bin/rustdoc
TARGET=x86_64-unknown-
netbsd
/u23/pkgobj/www/firefox/work/build/release/build/gecko-profiler-beebe90b0
6c32bf4/build-script-build` (signal: 4, SIGILL: illegal instruction)
Tried both lang/rust-bin and building rust from source on
NetBSD-current
from today.
Firefox 125 built fine.
On 9.4/amd64, I encountered a totally different issue. I didn't keep a
log, so I don't have the starting point of the failure, but there are a
lot of errors like the following:
/home/disciple/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/ChromeUtilsBinding.h:162:1:
note: previous declaration 'bool mozilla::dom::ToJSValue(JSContext*,
mozilla::dom::PopupBlockerState, JS::MutableHandle<JS::Value>)'
162 | ToJSValue(JSContext* aCx, PopupBlockerState aArgument,
JS::MutableHandle<JS::Value> aValue);
| ^~~~~~~~~
In file included from
/home/disciple/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/Promise.h:24,
from
/home/disciple/pkgsrc/www/firefox/work/build/dist/include/mozilla/DetailedPromise.h:10,
from
/home/disciple/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/MediaKeys.h:12,
from
/home/disciple/pkgsrc/www/firefox/work/build/dist/include/mozilla/CDMProxy.h:15,
from
/home/disciple/pkgsrc/www/firefox/work/firefox-126.0/dom/media/MediaDecoder.h:23,
from
/home/disciple/pkgsrc/www/firefox/work/firefox-126.0/dom/media/MediaDecoderStateMachine.h:11,
from
/home/disciple/pkgsrc/www/firefox/work/firefox-126.0/dom/media/mediasink/DecodedStream.cpp:12,
from Unified_cpp_dom_media_mediasink0.cpp:29:
/home/disciple/pkgsrc/www/firefox/work/build/dist/include/mozilla/dom/ToJSValue.h:337:20:
error: conflicting declaration of C function 'bool
mozilla::dom::ToJSValue(JSContext*, mozilla::ErrorResult&&,
JS::MutableHandle<JS::Value>)'
337 | [[nodiscard]] bool ToJSValue(JSContext* aCx, ErrorResult&&
aArgument,
... and so on, until ...
gmake[1]: ***
[/home/disciple/pkgsrc/www/firefox/work/firefox-126.0/config/recurse.mk:34:
compile] Error 2
gmake[1]: Leaving directory
'/home/disciple/pkgsrc/www/firefox/work/build'
gmake: ***
[/home/disciple/pkgsrc/www/firefox/work/firefox-126.0/config/rules.mk:361:
all] Error 2
*** Error code 2
Simply restarting the build caused it to succeed, and produced a
working package.
I haven't encountered this sort of (at least partly) non-reproducible
issue with any Firefox version in a long time (either in a sandboxed
pbulk build or simply by running "make package", both of which I do).
Not since the "reticulating splines" hangs years ago.
Regards,
Dave
Home |
Main Index |
Thread Index |
Old Index