https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292574
Bug ID: 292574
Summary: www/firefox 147.0: Build failure while configuring
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Assignee: [email protected]
Flags: maintainer-feedback?([email protected])
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 [email protected] [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
--
You are receiving this mail because:
You are the assignee for the bug.