pkgsrc-Users archive

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

Problems building firefox from pkgsrc-2025Q2 with NetBSD 10.1_STABLE on amd64



Just tried to build firefox from a recent cvs of pkgsrc-2025Q2 with a
recent NetBSD 101_STABLE on amd64. It fails building after a while:

....
gmake[3]: Leaving directory
'/usr/pkgsrc/www/firefox/work/build/security/mls'
./registered_field_trials.h.stub
/usr/pkgsrc/www/firefox/work/.home/.mozbuild/srcdirs/firefox-138.0.4-
449a1a89e8b4/_virtualenvs/build/bin/python -m
mozbuild.action.file_generate /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/python/mozbuild/mozbuild/action/file_generate_wrapper.py action
third_party/libwebrtc/gen/experiments/registered_field_trials.h
third_party/libwebrtc/gen/experiments/.deps/registered_field_trials.h.p
p
third_party/libwebrtc/gen/experiments/.deps/registered_field_trials.h.s
tub /third_party/libwebrtc/experiments/field_trials.py
/third_party/libwebrtc/ header --output
gen/experiments/registered_field_trials.h
gmake[3]: Entering directory
'/usr/pkgsrc/www/firefox/work/build/third_party/libwebrtc/experiments/r
egistered_field_trials_header_gn'
gmake[3]: Nothing to be done for 'export'.
gmake[3]: Leaving directory
'/usr/pkgsrc/www/firefox/work/build/third_party/libwebrtc/experiments/r
egistered_field_trials_header_gn'
./fog_ffi_generated.h.stub
/usr/pkgsrc/www/firefox/work/.home/.mozbuild/srcdirs/firefox-138.0.4-
449a1a89e8b4/_virtualenvs/build/bin/python -m
mozbuild.action.file_generate /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/build/RunCbindgen.py generate
toolkit/components/glean/fog_ffi_generated.h
toolkit/components/glean/.deps/fog_ffi_generated.h.pp
toolkit/components/glean/.deps/fog_ffi_generated.h.stub
config/cbindgen-metadata.json /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean
./jog_ffi_generated.h.stub
/usr/pkgsrc/www/firefox/work/.home/.mozbuild/srcdirs/firefox-138.0.4-
449a1a89e8b4/_virtualenvs/build/bin/python -m
mozbuild.action.file_generate /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/build/RunCbindgen.py generate
toolkit/components/glean/jog_ffi_generated.h
toolkit/components/glean/.deps/jog_ffi_generated.h.pp
toolkit/components/glean/.deps/jog_ffi_generated.h.stub
config/cbindgen-metadata.json /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/bindings/jog
./metrics_yamls.cached.stub
/usr/pkgsrc/www/firefox/work/.home/.mozbuild/srcdirs/firefox-138.0.4-
449a1a89e8b4/_virtualenvs/build/bin/python -m
mozbuild.action.file_generate /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/build_scripts/glean_parser_ext/cache_y
aml.py main toolkit/components/glean/metrics_yamls.cached
toolkit/components/glean/.deps/metrics_yamls.cached.pp
toolkit/components/glean/.deps/metrics_yamls.cached.stub
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/accessible/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/actors/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/base/content/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/asrouter/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/backup/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/doh/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/downloads/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/firefoxview/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/genai/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/migration/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/newtab/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/places/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/pocket/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/preferences/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/privatebrowsing/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/profiles/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/protections/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/protocolhandler/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/screenshots/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/search/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/sessionstore/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/shopping/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/sidebar/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/tabbrowser/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/textrecognition/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/components/urlbar/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/browser/extensions/search-
detection/metrics.yaml /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/browser/modules/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/devtools/client/accessibility/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/devtools/client/framework/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/devtools/client/inspector/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/devtools/client/responsive/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/devtools/client/shared/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/devtools/shared/heapsnapshot/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/docshell/base/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/base/use_counter_metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/canvas/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/crypto/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/geolocation/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/localstorage/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/media/eme/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/media/hls/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/media/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/media/mp4/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/media/platforms/wmf/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/media/webrtc/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/notification/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/performance/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/power/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/push/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/quota/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/security/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/dom/serviceworkers/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/storage/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/webauthn/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/dom/workers/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/editor/libeditor/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/gfx/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/image/decoders/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/js/xpconnect/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/layout/base/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/mobile/shared/modules/geckoview/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/modules/libjar/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/modules/libpref/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/netwerk/cache2/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/netwerk/dns/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/netwerk/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/netwerk/protocol/http/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/parser/html/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/parser/htmlparser/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/security/certverifier/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/security/ct/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/security/manager/ssl/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/services/common/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/services/fxaccounts/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/services/sync/modules/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/antitracking/bouncetrackingprotection/metric
s.yaml /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/antitracking/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/backgroundtasks/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/captchadetection/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/contentrelevancy/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/cookiebanners/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/crashes/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/downloads/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/enterprisepolicies/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/extensions/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/formautofill/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/tests/test_metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/mediasniffer/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/messaging-system/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/ml/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/nimbus/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/normandy/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/passwordmgr/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/pdfjs/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/pictureinpicture/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/places/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/printing/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/processtools/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/reader/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/reportbrokensite/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/reputationservice/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/resistfingerprinting/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/satchel/megalist/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/search/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/shopping/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/startup/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/telemetry/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/telemetry/tests/test_metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/thumbnails/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/translations/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/toolkit/components/url-
classifier/metrics.yaml /usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/content/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/content/widgets/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/modules/gecko_metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/modules/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/mozapps/defaultagent/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/mozapps/extensions/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/mozapps/extensions/metrics_legacy.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/mozapps/handling/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/mozapps/update/background_task_metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/mozapps/update/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/mozapps/update/shared_metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/profile/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/toolkit/xre/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/widget/cocoa/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/widget/gtk/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/widget/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/widget/windows/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-138.0.4/xpcom/metrics.yaml
/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/tags.yaml 138.0.4
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/python/mozbuild/mozbuild/action/file_generate.py", line 154, in
<module>
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/python/mozbuild/mozbuild/action/file_generate.py", line 85, in
main
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in
exec_module
  File "<frozen importlib._bootstrap>", line 488, in
_call_with_frames_removed
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/build_scripts/glean_parser_ext/cache_y
aml.py", line 11, in <module>
    from run_glean_parser import parse
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/build_scripts/glean_parser_ext/run_gle
an_parser.py", line 12, in <module>
    import cpp
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/toolkit/components/glean/build_scripts/glean_parser_ext/cpp.py"
, line 12, in <module>
    from glean_parser import metrics, util
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/third_party/python/glean_parser/glean_parser/metrics.py", line
15, in <module>
    from . import pings
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/third_party/python/glean_parser/glean_parser/pings.py", line
14, in <module>
    from . import util
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/third_party/python/glean_parser/glean_parser/util.py", line 17,
in <module>
    import diskcache  # type: ignore
    ^^^^^^^^^^^^^^^^
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/third_party/python/diskcache/diskcache/__init__.py", line 8, in
<module>
    from .core import (
  File "/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/third_party/python/diskcache/diskcache/core.py", line 14, in
<module>
    import sqlite3
  File "/usr/pkg/lib/python3.12/sqlite3/__init__.py", line 57, in
<module>
    from sqlite3.dbapi2 import *
  File "/usr/pkg/lib/python3.12/sqlite3/dbapi2.py", line 27, in
<module>
    from _sqlite3 import *
ImportError: /usr/pkg/lib/python3.12/lib-dynload/_sqlite3.so: Undefined
PLT symbol "sqlite3_deserialize" (symnum = 39)
gmake[2]: *** [backend.mk:2019:
toolkit/components/glean/.deps/metrics_yamls.cached.stub] Error 1
gmake[2]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake[1]: *** [/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/config/recurse.mk:34: export] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/www/firefox/work/build'
gmake: *** [/usr/pkgsrc/www/firefox/work/firefox-
138.0.4/config/rules.mk:359: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox

my /etc/mk.conf is pretty simple:
LIBDVDCSS_MASTER_SITES=http://download.videolan.org/pub/libdvdcss/
ALLOW_VULNERABLE_PACKAGES=1
PKG_DEFAULT_OPTIONS+= -pulseaudio -alsa -samba4 oss cups
ACCEPTABLE_LICENSES+= lame-license
ACCEPTABLE_LICENSES+= mozilla-trademark-license
ACCEPTABLE_LICENSES+= libdvdcss-license
ACCEPTABLE_LICENSES+= unrar-license
ACCEPTABLE_LICENSES+= mplayer-codec-license
ACCEPTABLE_LICENSES+= pine-license
ACCEPTABLE_LICENSES+= lame-license
ACCEPTABLE_LICENSES+= ms-ttf-license
ACCEPTABLE_LICENSES+= gnu-agpl-v3
ACCEPTABLE_LICENSES+= dungeon-license
PKG_OPTIONS.firefox+= official-mozilla-branding
PKG_OPTIONS.ghostscript+= -cups
PKG_OPTIONS.samba4+= -cups -pam
PKG_OPTIONS.gvfs+= -samba
FETCH_USE_IPV4_ONLY=yes


Has anyone else seen this problem or knows of a workaround... I have a
copy of the full build log if needed.

Cheers,
Dave





Home | Main Index | Thread Index | Old Index