Running with portmaster on 14.3-RELEASE-p7, I get the following config failure (gets the same failure using python 3.12 as well): ===> Configuring for thunderbird-147.0 ===> FreeBSD 10 autotools fix applied to /usr/ports/mail/thunderbird/work/thunderbird-147.0/comm/third_party/libgcrypt/build-aux/config.rpath Using Python 3.11.14 from /usr/ports/mail/thunderbird/work/.bin/python3 Creating local state directory: /usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0-90f58f2072fc Creating the 'build' site at /usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0-90f58f2072fc/_virtualenvs/build Created Python 3 virtualenv Adding configure options from /usr/ports/mail/thunderbird/work/thunderbird-147.0/.mozconfig --enable-application=comm/mail --enable-official-branding --with-system-bz2 --with-system-jsonc --with-wasi-sysroot=/usr/local/share/wasi-sysroot --prefix=/usr/local --with-libclang-path=/usr/local/llvm19/lib --with-system-libevent --enable-system-ffi --with-system-graphite2 --with-system-harfbuzz --with-system-jpeg=/usr/local --with-system-nspr --with-system-nss --with-system-png --enable-system-pixman --with-system-libvpx --with-system-webp --enable-update-channel=release --disable-updater --with-system-zlib --disable-optimize --disable-dbus --disable-libproxy --enable-alsa --disable-pulseaudio --disable-sndio --disable-debug --disable-debug-symbols --enable-release --enable-rust-simd --disable-profiling --disable-tests --enable-strip --enable-install-strip RUSTFLAGS= MAIL_PKG_SHARED=1 MOZ_GOOGLE_SAFEBROWSING_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 PYTHON3=/usr/local/bin/python3.11 MOZ_THUNDERBIRD=1 MOZ_GOOGLE_LOCATION_SERVICE_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 PATH=/usr/ports/mail/thunderbird/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin checking for vcs source checkout... no checking for a shell... /bin/sh checking for host system type... x86_64-unknown-freebsd14.3 checking for target system type... x86_64-unknown-freebsd14.3 Determining COMM source information from sourcestamp.txt... Determining GECKO source information from sourcestamp.txt... checking whether cross compiling... no checking if configuration file confvars.sh exists... /usr/ports/mail/thunderbird/work/thunderbird-147.0/comm/mail/confvars.sh checking if configuration file configure.sh exists... /usr/ports/mail/thunderbird/work/thunderbird-147.0/comm/mail/branding/thunderbird/configure.sh Determining COMM source information from environment... COMM_SOURCE_REPOSITORY: https://hg.mozilla.org/releases/comm-release COMM_SOURCE_CHANGESET: 06a73e47bd62b3df96fa30ce452262ef5d2e15e9 checking for Python 3... /usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0-90f58f2072fc/_virtualenvs/build/bin/python (3.11.14) checking for ccache... not found checking for the target C compiler... /usr/local/bin/clang19 checking whether the target C compiler can be used... yes checking the target C compiler version... 19.1.7 checking the target C compiler works... yes checking for the target C++ compiler... /usr/local/bin/clang++19 checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 19.1.7 checking the target C++ compiler works... yes checking for the host C compiler... /usr/local/bin/clang19 checking whether the host C compiler can be used... yes checking the host C compiler version... 19.1.7 checking the host C compiler works... yes checking for the host C++ compiler... /usr/local/bin/clang++19 checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 19.1.7 checking the host C++ compiler works... yes checking for target linker... lld checking for host linker... lld checking for 64-bit OS... yes checking for __thread keyword for TLS variables... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for the assembler... /usr/local/bin/clang19 checking for llvm-objdump... /usr/local/llvm19/bin/llvm-objdump checking for ar... /usr/local/llvm19/bin/llvm-ar checking whether ar supports response files... yes checking for host_ar... /usr/local/llvm19/bin/llvm-ar checking for -mavxvnni support... yes checking for -mavx512bw support... yes checking for -mavx512vnni support... yes checking for pkg_config... /usr/local/bin/pkgconf checking for pkg-config version... 2.4.3 checking whether pkg-config is pkgconf... yes WARNING: When not building jemalloc, you need to build with --with-redist or set WIN32_REDIST_DIR. checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes checking for malloc.h... yes checking whether malloc_usable_size definition can use const argument... yes checking for stdint.h... yes checking for inttypes.h... yes checking for alloca.h... no checking for sys/byteorder.h... no checking for getopt.h... yes checking for unistd.h... yes checking for nl_types.h... yes checking for cpuid.h... yes checking for fts.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... no checking for sys/vfs.h... no checking for sys/mount.h... yes checking for sys/quota.h... no checking for sys/queue.h... yes checking for sys/types.h... yes checking for netinet/in.h... yes checking for byteswap.h... yes checking for memfd_create in sys/mman.h... yes checking for clock_gettime(CLOCK_MONOTONIC)... yes checking for res_ninit()... yes checking for dladdr... yes checking for dlfcn.h... yes checking for dlopen in -ldl... yes checking for gethostbyname_r in -lc_r... no checking for socket in -lsocket... no checking for pthread_create... no checking for pthread_create in -lpthread... yes checking for pthread.h... yes checking whether the C compiler supports -pthread... yes checking whether 64-bits std::atomic requires -latomic... no checking whether the C++ compiler supports -Wdeprecated-literal-operator... yes checking whether the C compiler supports -Winvalid-utf8... yes checking whether the C++ compiler supports -Winvalid-utf8... yes checking whether the C compiler supports -Wformat... yes checking whether the C++ compiler supports -Wformat... yes checking whether the C compiler supports -Wno-character-conversion... no checking whether the C++ compiler supports -Wno-character-conversion... no checking whether the C++ compiler supports -fno-sized-deallocation... yes checking whether the C++ compiler supports -fno-aligned-new... yes checking whether the linker supports Identical Code Folding... yes checking whether the C linker supports -Wl,--build-id=sha1... yes checking whether the C assembler supports -Wa,--noexecstack... yes checking whether the C linker supports -Wl,-z,noexecstack... yes checking whether the C linker supports -Wl,-z,text... yes checking whether the C linker supports -Wl,-z,relro... yes checking whether the C linker supports -Wl,-z,now... yes checking whether the C linker supports -Wl,-z,nocopyreloc... yes checking whether the C assembler supports -fPIC... yes checking whether the C compiler supports -fPIC... yes checking whether the C++ compiler supports -fPIC... yes checking for --ignore-unresolved-symbol option to the linker... no checking what kind of list files are supported by the linker... linkerlist checking for llvm_profdata... /usr/bin/llvm-profdata checking for readelf... /usr/local/llvm19/bin/llvm-readelf checking for objcopy... /usr/local/llvm19/bin/llvm-objcopy Determining GECKO source information from environment... Determining GECKO source information from .gecko_rev.yml GECKO_SOURCE_REPOSITORY: https://hg.mozilla.org/releases/mozilla-release GECKO_SOURCE_CHANGESET: 7797f9c423177e9425de47ea4a1fd944653c5661 checking for json-c >= 0.11... yes checking MZLA_JSONC_CFLAGS... -I/usr/local/include -I/usr/local/include/json-c checking MZLA_JSONC_LIBS... -L/usr/local/lib -ljson-c checking for bzip2 >= 1.0.6... no WARNING: Package bzip2 was not found in the pkg-config search path. WARNING: Perhaps you should add the directory containing `bzip2.pc' WARNING: to the PKG_CONFIG_PATH environment variable WARNING: Package 'bzip2' not found checking for BZ2_bzread... yes checking for bzlib.h... yes Configuring Botan... DEBUG: <truncated - see config.log for full output> DEBUG: | │ exit code: 1 DEBUG: | _─> [12 lines of output] DEBUG: | Running `maturin pep517 build-wheel -i /usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0-90f58f2072fc/_virtualenvs/mach/bin/python --compatibility off` DEBUG: | __ Building a mixed python/rust project DEBUG: | __ Found uniffi bindings DEBUG: | __ Using build options bindings from pyproject.toml DEBUG: | error: failed to parse manifest at `/tmp/pip-install-ewt7jrty/glean-sdk_fb6a4be360a74dc4885060e786600dcd/glean-core/Cargo.toml` DEBUG: | DEBUG: | Caused by: DEBUG: | can't find `dispatcher` bench at `benches/dispatcher.rs` or `benches/dispatcher/main.rs`. Please specify bench.path if you want to use a non-default path. DEBUG: | __ maturin failed DEBUG: | Caused by: Failed to build a native library through cargo DEBUG: | Caused by: Cargo build finished with "exit status: 101": `env -u CARGO "cargo" "rustc" "--profile" "release" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-ewt7jrty/glean-sdk_fb6a4be360a74dc4885060e786600dcd/glean-core/bundle/Cargo.toml" "--lib" "--crate-type" "cdylib"` DEBUG: | Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0-90f58f2072fc/_virtualenvs/mach/bin/python', '--compatibility', 'off'] returned non-zero exit status 1 DEBUG: | [end of output] DEBUG: | DEBUG: | note: This error originates from a subprocess, and is likely not a problem with pip. DEBUG: | ERROR: Failed building wheel for glean-sdk DEBUG: | ERROR: Failed to build installable wheels for some pyproject.toml based projects (glean-sdk) DEBUG: | ERROR: Command `/usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0-90f58f2072fc/_virtualenvs/build/bin/python /usr/ports/mail/thunderbird/work/thunderbird-147.0/mach --log-no-times python --virtualenv build /usr/ports/mail/thunderbird/work/thunderbird-147.0/comm/third_party/botan/configure.py --cc-bin=/usr/local/bin/clang++19 --cc-abi-flags=-std=gnu++20 --cpu=x86_64 --os=freebsd --with-build-dir=/usr/ports/mail/thunderbird/work/.build/comm/third_party/botan --build-targets=static --minimized-build --link-method=copy --without-documentation --distribution-info=Thunderbird_147.0 --enable-modules=aead,aes,auto_rng,bigint,blowfish,camellia,cast128,cbc,cfb,crc24,des,dl_group,dsa,eax,ec_group,ecdh,ecdsa,ed25519,elgamal,eme_pkcs1,emsa_pkcs1,emsa_raw,ffi,hash,hkdf,hmac,hmac_drbg,idea,kdf,md5,ocb,pcurves_brainpool256r1,pcurves_brainpool384r1,pcurves_brainpool512r1,pcurves_generic,pcurves_numsp512d1,pcurves_secp192r1,pcurves_secp224r1,pcurves_secp256k1,pcurves_secp256r1,pcurves_secp384r1,pcurves_secp521r1,pcurves_sm2p256v1,pgp_s2k,pubkey,raw_hash,rfc3394,rmd160,rsa,sha1,sha2_32,sha2_64,sha3,sm2,sm3,sm4,sp800_56a,system_rng,twofish,x25519` failed with exit status 1. ===> Script "configure" failed unexpectedly. Please report the problem to gecko@FreeBSD.org [maintainer] and attach the "/usr/ports/mail/thunderbird/work/.build/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/mail/thunderbird *** Error code 1 Stop. make: stopped in /usr/ports/mail/thunderbird
thunderbird or firefox?
Oops, thunderbird. (Blush.)
Created attachment 267541 [details] config.log from configuration failure Failure still occurs in thunderbird 147.0.1.
Console output from configuration failure: root@sullivan:/usr/ports/mail/thunderbird # make ===> thunderbird-147.0.1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by thunderbird-147.0.1 for building ===> Extracting for thunderbird-147.0.1 => SHA256 Checksum OK for thunderbird-147.0.1.source.tar.xz. ===> Patching for thunderbird-147.0.1 ===> Applying FreeBSD patches for thunderbird-147.0.1 from /usr/ports/mail/thunderbird/files ===> thunderbird-147.0.1 depends on package: nspr>=4.32 - found ===> thunderbird-147.0.1 depends on package: nss>=3.118 - found ===> thunderbird-147.0.1 depends on package: libevent>=2.1.8 - found ===> thunderbird-147.0.1 depends on package: harfbuzz>=10.1.0 - found ===> thunderbird-147.0.1 depends on package: graphite2>=1.3.14 - found ===> thunderbird-147.0.1 depends on package: png>=1.6.45 - found ===> thunderbird-147.0.1 depends on package: dav1d>=1.0.0 - found ===> thunderbird-147.0.1 depends on package: libvpx>=1.15.0 - found ===> thunderbird-147.0.1 depends on package: py312-sqlite3>0 - found ===> thunderbird-147.0.1 depends on package: v4l_compat>0 - found ===> thunderbird-147.0.1 depends on executable: nasm - found ===> thunderbird-147.0.1 depends on executable: yasm - found ===> thunderbird-147.0.1 depends on executable: zip - found ===> thunderbird-147.0.1 depends on file: /usr/local/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a - found ===> thunderbird-147.0.1 depends on file: /usr/local/share/wasi-sysroot/lib/wasm32-wasi/libc.a - found ===> thunderbird-147.0.1 depends on package: wasi-compiler-rt19>0 - found ===> thunderbird-147.0.1 depends on package: rust-cbindgen>=0.29.1 - found ===> thunderbird-147.0.1 depends on package: rust>=1.92.0 - found ===> thunderbird-147.0.1 depends on file: /usr/local/include/alsa/asoundlib.h - found ===> thunderbird-147.0.1 depends on package: gmake>=4.4.1 - found ===> thunderbird-147.0.1 depends on package: libiconv>=1.14_11 - found ===> thunderbird-147.0.1 depends on executable: llvm-config19 - found ===> thunderbird-147.0.1 depends on executable: node - found ===> thunderbird-147.0.1 depends on package: pkgconf>=1.3.0_1 - found ===> thunderbird-147.0.1 depends on file: /usr/local/bin/python3.12 - found ===> thunderbird-147.0.1 depends on executable: update-desktop-database - found ===> thunderbird-147.0.1 depends on package: xorgproto>=0 - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xcb.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xcomposite.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xdamage.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xfixes.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> thunderbird-147.0.1 depends on file: /usr/local/libdata/pkgconfig/xtst.pc - found ===> thunderbird-147.0.1 depends on shared library: libjson-c.so - found (/usr/local/lib/libjson-c.so) ===> thunderbird-147.0.1 depends on shared library: libdrm.so - found (/usr/local/lib/libdrm.so) ===> thunderbird-147.0.1 depends on shared library: libepoll-shim.so - found (/usr/local/lib/libepoll-shim.so) ===> thunderbird-147.0.1 depends on shared library: libfontconfig.so - found (/usr/local/lib/libfontconfig.so) ===> thunderbird-147.0.1 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> thunderbird-147.0.1 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so) ===> thunderbird-147.0.1 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so) ===> thunderbird-147.0.1 depends on shared library: libgraphite2.so - found (/usr/local/lib/libgraphite2.so) ===> thunderbird-147.0.1 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so) ===> thunderbird-147.0.1 depends on shared library: libnspr4.so - found (/usr/local/lib/libnspr4.so) ===> thunderbird-147.0.1 depends on shared library: libnss3.so - found (/usr/local/lib/libnss3.so) ===> thunderbird-147.0.1 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> thunderbird-147.0.1 depends on shared library: libpixman-1.so - found (/usr/local/lib/libpixman-1.so) ===> thunderbird-147.0.1 depends on shared library: libvpx.so - found (/usr/local/lib/libvpx.so) ===> thunderbird-147.0.1 depends on shared library: libwebp.so - found (/usr/local/lib/libwebp.so) ===> thunderbird-147.0.1 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so) ===> thunderbird-147.0.1 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> thunderbird-147.0.1 depends on shared library: libcairo.so - found (/usr/local/lib/libcairo.so) ===> thunderbird-147.0.1 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) ===> thunderbird-147.0.1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> thunderbird-147.0.1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> thunderbird-147.0.1 depends on shared library: libgtk-3.so - found (/usr/local/lib/libgtk-3.so) ===> thunderbird-147.0.1 depends on shared library: libharfbuzz.so - found (/usr/local/lib/libharfbuzz.so) ===> thunderbird-147.0.1 depends on s --with-system-jpeg=/usr/local --with-system-nspr --with-system-nss --with-system-png --enable-system-pixman --with-system-libvpx --with-system-webp --enable-update-channel=release --disable-updater --with-system-zlib --disable-optimize --disable-dbus --disable-libproxy --enable-alsa --disable-pulseaudio --disable-sndio --disable-debug --disable-debug-symbols --enable-release --enable-rust-simd --disable-profiling --disable-tests --enable-strip --enable-install-strip MAIL_PKG_SHARED=1 MOZ_THUNDERBIRD=1 PYTHON3=/usr/local/bin/python3.12 RUSTFLAGS= MOZ_GOOGLE_SAFEBROWSING_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 MOZ_GOOGLE_LOCATION_SERVICE_API_KEY=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 checking for a shell... /bin/sh checking for host system type... x86_64-unknown-freebsd14.3 checking for target system type... x86_64-unknown-freebsd14.3 Determining COMM source information from sourcestamp.txt... Determining GECKO source information from sourcestamp.txt... checking whether cross compiling... no checking if configuration file confvars.sh exists... /usr/ports/mail/thunderbird/work/thunderbird-147.0.1/comm/mail/confvars.sh checking if configuration file configure.sh exists... /usr/ports/mail/thunderbird/work/thunderbird-147.0.1/comm/mail/branding/thunderbird/configure.sh Determining COMM source information from environment... COMM_SOURCE_REPOSITORY: https://hg.mozilla.org/releases/comm-release COMM_SOURCE_CHANGESET: e853535cc79b2149c6dc66298a500f071f7c05a6 checking for Python 3... /usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0.1-cef9b7e2b087/_virtualenvs/build/bin/python (3.12.12) checking for ccache... not found checking for the target C compiler... /usr/local/bin/clang19 checking whether the target C compiler can be used... yes checking the target C compiler version... 19.1.7 checking the target C compiler works... yes checking for the target C++ compiler... /usr/local/bin/clang++19 checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 19.1.7 checking the target C++ compiler works... yes checking for the host C compiler... /usr/local/bin/clang19 checking whether the host C compiler can be used... yes checking the host C compiler version... 19.1.7 checking the host C compiler works... yes checking for the host C++ compiler... /usr/local/bin/clang++19 checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 19. WARNING: When not building jemalloc, you need to build with --with-redist or set WIN32_REDIST_DIR. checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes checking for malloc.h... yes checking whether malloc_usable_size definition can use const argument... yes checking for stdint.h... yes checking for inttypes.h... yes checking for alloca.h... no checking for sys/byteorder.h... no checking for getopt.h... yes checking for unistd.h... yes checking for nl_types.h... yes checking for cpuid.h... yes checking for fts.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... no checking for sys/vfs.h... no checking for sys/mount.h... yes checking for sys/quota.h... no checking for sys/queue.h... yes checking for sys/types.h... yes checking for netinet/in.h... yes checking for byteswap.h... yes checking for memfd_create in sys/mman.h... yes checking for clock_gettime(CLOCK_MONOTONIC)... yes checking for res_ninit()... yes checking for dladdr... yes checking for dlfcn.h... yes checking for dlopen i checking for socket in -lsocket... no checking for pthread_create... no checking for pthread_create in -lpthread... yes checking for pthread.h... yes checking whether the C compiler supports -pthread... yes checking whether 64-bits std::atomic requires -latomic... no checking whether the C++ compiler supports -Wdeprecated-literal-operator... yes checking whether the C compiler supports -Winvalid-utf8... yes checking whether the C++ compiler supports -Winvalid-utf8... yes checking whether the C compiler supports -Wformat... yes checking whether the C++ compiler supports -Wformat... yes checking whether the C compiler supports -Wno-character-conversion... no checking whether the C++ compiler supports -Wno-character-conversion... no checking whether the C++ compiler supports -fno-sized-deallocation... yes checking whether the C++ compiler supports -fno-aligned-new... yes checking whether the linker supports Identical Code Folding... yes checking whether the C linker supports -Wl,--build-id=sha1... yes checking whether the C assembler supports -Wa,--noexecstack... yes checking whether the C linker supports -Wl,-z,noexecstack... yes checking whether the C linker supports -Wl,-z,text... yes checking whether the C linker supports -Wl,-z,relro... yes checking whether the C linker supports -Wl,-z,now... yes checking whether the C linker supports -Wl,-z,nocopyreloc... yes checking whether the C assembler supports -fPIC... yes checking whether the C compiler supports -fPIC... yes checking whether the C++ compiler supports -fPIC... yes checking for --ignore-unresolved-symbol option to the linker... no checking what kind of list files are supported by the linker... linkerlist checking for llvm_profdata... /usr/bin/llvm-profdata checking for readelf... /usr/local/llvm19/bin/llvm-readelf checking for objcopy... /usr/local/llvm19/bin/llvm-objcopy Determining GECKO source information from environment... Determining GECKO source information from .gecko_rev.yml GECKO_SOURCE_REPOSITORY: https://hg-edge.mozilla.org/releases/mozilla-release GECKO_SOURCE_CHANGESET: 7c42d7af4adc37371e296ff7cb1033ce4f39af12 checking for json-c >= 0.11... yes checking MZLA_JSONC_CFLAGS... -I/usr/local/include -I/usr/local/include/json-c checking MZLA_JSONC_LIBS... -L/usr/local/lib -ljson-c checking for bzip2 >= 1.0.6... no WARNING: Package bzip2 was not found in the pkg-config search path. WARNING: Perhaps you should add the directory containing `bzip2.pc' WARNING: to the PKG_CONFIG_PATH environment variable WARNING: Package 'bzip2' not found checking for BZ2_bzread... yes checking for bzlib.h... yes Configuring Botan... DEBUG: <truncated - see config.log for full output> DEBUG: | │ exit code: 1 DEBUG: | _─> [12 lines of output] DEBUG: | Running `maturin pep517 build-wheel -i /usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0.1-cef9b7e2b087/_virtualenvs/mach/bin/python --compatibility off` DEBUG: | __ Building a mixed python/rust project DEBUG: | __ Found uniffi bindings DEBUG: | __ Using build options bindings from pyproject.toml DEBUG: | error: failed to parse manifest at `/tmp/pip-install-bhpx9w5h/glean-sdk_2ea3a6686b15427093bea8872d6a7889/glean-core/Cargo.toml` DEBUG: | DEBUG: | Caused by: DEBUG: | can't find `dispatcher` bench at `benches/dispatcher.rs` or `benches/dispatcher/main.rs`. Please specify bench.path if you want to use a non-default path. DEBUG: | __ maturin failed DEBUG: | Caused by: Failed to build a native library through cargo DEBUG: | Caused by: Cargo build finished with "exit status: 101": `env -u CARGO "cargo" "rustc" "--profile" "release" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-bhpx9w5h/glean-sdk_2ea3a6686b15427093bea8872d6a7889/glean-core/bundle/Cargo.toml" "--lib" "--crate-type" "cdylib"` DEBUG: | Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0.1-cef9b7e2b087/_virtualenvs/mach/bin/python', '--compatibility', 'off'] returned non-zero exit status 1 DEBUG: | [end of output] DEBUG: | DEBUG: | note: This error originates from a subprocess, and is likely not a problem with pip. DEBUG: | ERROR: Failed building wheel for glean-sdk DEBUG: | ERROR: Failed to build installable wheels for some pyproject.toml based projects (glean-sdk) DEBUG: | ERROR: Command `/usr/ports/mail/thunderbird/work/.mozbuild/srcdirs/thunderbird-147.0.1-cef9b7e2b087/_virtualenvs/build/bin/python /usr/ports/mail/thunderbird/work/thunderbird-147.0.1/mach --log-no-times python --virtualenv build /usr/ports/mail/thunderbird/work/thunderbird-147.0.1/comm/third_party/botan/configure.py --cc-bin=/usr/local/bin/clang++19 --cc-abi-flags=-std=gnu++20 --cpu=x86_64 --os=freebsd --with-build-dir=/usr/ports/mail/thunderbird/work/.build/comm/third_party/botan --build-targets=static --minimized-build --link-method=copy --without-documentation --distribution-info=Thunderbird_147.0.1 --enable-modules=aead,aes,auto_rng,bigint,blowfish,camellia,cast128,cbc,cfb,crc24,des,dl_group,dsa,eax,ec_group,ecdh,ecdsa,ed25519,elgamal,eme_pkcs1,emsa_pkcs1,emsa_raw,ffi,hash,hkdf,hmac,hmac_drbg,idea,kdf,md5,ocb,pcurves_brainpool256r1,pcurves_brainpool384r1,pcurves_brainpool512r1,pcurves_generic,pcurves_numsp512d1,pcurves_secp192r1,pcurves_secp224r1,pcurves_secp256k1,pcurves_secp256r1,pcurves_secp384r1,pcurves_secp521r1,pcurves_sm2p256v1,pgp_s2k,pubkey,raw_hash,rfc3394,rmd160,rsa,sha1,sha2_32,sha2_64,sha3,sm2,sm3,sm4,sp800_56a,system_rng,twofish,x25519` failed with exit status 1. ===> Script "configure" failed unexpectedly. Please report the problem to gecko@FreeBSD.org [maintainer] and attach the "/usr/ports/mail/thunderbird/work/.build/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/mail/thunderbird *** Error code 1 Stop. make: stopped in /usr/ports/mail/thunderbird
Still fails, on 14.3-RELEASE-p8, building thunderbird 147.0.1
Created attachment 267634 [details] build log (14.3-RELEASE-p8, 147.0.1)
Created attachment 267635 [details] config.log from 147.0.1 build on 14.3.RELEASE-p8
My build options: OPTIONS_FILE_SET+=CANBERRA OPTIONS_FILE_UNSET+=DBUS OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_SET+=FFMPEG OPTIONS_FILE_UNSET+=LIBPROXY OPTIONS_FILE_UNSET+=LIGHTNING OPTIONS_FILE_UNSET+=LTO OPTIONS_FILE_UNSET+=OPTIMIZED_CFLAGS OPTIONS_FILE_UNSET+=PROFILE OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_SET+=ALSA OPTIONS_FILE_UNSET+=JACK OPTIONS_FILE_UNSET+=PULSEAUDIO OPTIONS_FILE_UNSET+=SNDIO
hey, have you tried to: `pip install wheel`
(In reply to George Mitchell from comment #8) Build fine on live system 14.3 amd64 with options: OPTIONS_FILE_UNSET+=CANBERRA OPTIONS_FILE_UNSET+=DBUS OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_SET+=FFMPEG OPTIONS_FILE_SET+=LIBPROXY OPTIONS_FILE_SET+=LIGHTNING OPTIONS_FILE_UNSET+=LTO OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS OPTIONS_FILE_UNSET+=PROFILE OPTIONS_FILE_UNSET+=TEST OPTIONS_FILE_UNSET+=ALSA OPTIONS_FILE_UNSET+=JACK OPTIONS_FILE_UNSET+=PULSEAUDIO OPTIONS_FILE_UNSET+=SNDIO
(In reply to Nicklas Boman from comment #9) I've never used pip on FreeBSD; I just use ports. I have devel/py-wheel 0.46.3 installed, and that appears to be the most recent version from pypi.org. (Hmm, whaddya know, a pip command exists on my system, but I don't think that will help since I already have the most recent wheel installed.)
if you can run this from the commandline with the terminal you are trying to build, and nothing prints, then the wheel is not a problem: python -c "import wheel"
(In reply to Nicklas Boman from comment #12) I tried it, and nothing happens.
great, then it is not an issue with python and wheel. then probably look into comment 10 and their options.
Created attachment 267680 [details] Build failure after adjusting OPTIONS I adjusted my OPTIONS as shown in comment #10 and my build still fails in what looks like the same way.
The actual problem is this here: : DEBUG: | FileNotFoundError: [Errno 2] No such file or directory (originated from sysctlbyname('kern.sched.topology_spec') malloc 1/3) I have no idea how you managed to break that sysctl, it does in fact exist on 14.3 (as witnessed here, and the package build also passes https://pkg-status.freebsd.org/beefy22/data/143amd64-default/fc7460de47a6/logs/thunderbird-147.0.1.log ). Did you maybe modify your kernel config, perhaps switching to SCHED_4BSD?
Indeed yes. I am probably one of (or perhaps THE) most preeminent SCHED_ULE haters in the community. Looking a little more into your diagnosis, which is unquestionably correct, I think this problem is actually in the Pypi package psutil (not to be confused with our print/psutils package). So presumably this is an upstream problem. Is it perhaps too much for me to hope that upstream developers take notice that the kern.sched.topology_spec sysctl is not available for SCHED_4BSD users? There seems to be an active movement at present to make it possible to choose your scheduler at boot time, and even a more active movement to prevent SCHED_4BSD from being deprecated. And an HPC scheduler also seems to be under way. Third party software should be aware of these developments.
Why does configuring thunderbird require knowing the number of cores on the machine building the package?
https://reviews.freebsd.org/D55062
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=120ca8d74b46caa260702485e30fe5f9f9984682 commit 120ca8d74b46caa260702485e30fe5f9f9984682 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-02-02 20:22:46 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-02-03 02:43:18 +0000 Re-introduce kern.sched.topology_spec Move it back from kern.sched.ule.topology_spec. Make it scheduler-agnostic. Provide trivial report for UP kernels. Apparently the MIB is used by some third-party software. Obviously it did not worked on UP or 4BSD configs. PR: 292574 Reviewed by: olce Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D55062 sys/kern/sched_shim.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++ sys/kern/sched_ule.c | 92 --------------------------------------------------- sys/kern/subr_smp.c | 81 ++++++++++++++++++++++++++------------------- sys/sys/smp.h | 9 +++-- 4 files changed, 144 insertions(+), 129 deletions(-)
Thank you so much Konstantin (and the others who diagnosed the problem)! I never would have figured this out in a million years. I appreciate the help!
I guess I have to rebuild my kernel on my build machine. Should there be a patch level bump in sys/conf/newvers.sh?
A commit in branch stable/15 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8cec47467a99f3e581ef36d5be24676da2695083 commit 8cec47467a99f3e581ef36d5be24676da2695083 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2026-02-02 20:22:46 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2026-02-11 05:12:38 +0000 Re-introduce kern.sched.topology_spec PR: 292574 (cherry picked from commit 120ca8d74b46caa260702485e30fe5f9f9984682) sys/kern/sched_shim.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++ sys/kern/sched_ule.c | 92 --------------------------------------------------- sys/kern/subr_smp.c | 81 ++++++++++++++++++++++++++------------------- sys/sys/smp.h | 9 +++-- 4 files changed, 144 insertions(+), 129 deletions(-)
Konstantin, thank you for all your help. Neither of the commits given apply successfully to the 14.3-RELEASE branch; there's no sys/kern/sched_shim.c. The other files are there. Can you suggest to me how I could patch 14.3-RELEASE?
For the time being, running 14.3-RELEASE-p8, it would seem that I have to run a SCHED_ULE kernel to compile thunderbird. Any guesses on whether running thunderbird also depeneds on kern.sched.topology_spec, or only the config phase? It seems implausible that compiling thunderbird should depend on knowing the CPU topology, but not running it.
Having no other choice, I compiled with a SCHED_ULE kernel, and the resulting package works just fine on a SCHED_4BSD machine. Consider me puzzled about why the build process has any interest in the CPU topology (and in the configuration phase, of all places), and yet the run time doesn't care.
Events seem to have overtaken this bug. Version 150.0.1 compiling on SCHED_4BSD on 14.3-RELEASE-p13 seems to work just fine. Pending new developments, I will close this tomorrow as "overtaken by events."
So it's fixed. Somehow I didn't get email when it was closed, but I guess I shouldn't look a gift horse in the mouth. Thank you, Anonymous! Of course, 150.0.1_1 is now in the vulm database.
And today, 150.0.1_1 has been removed from the vuln database...
Sorry, ignore my immediately previous comment. 150.0.1_1 IS still in the vuln database.