Source: firefox
Version: 117.0.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear maintainer,

firefox fails to build from source. From my build log on amd64:

| checking for vpx >= 1.10.0... yes
| checking MOZ_LIBVPX_CFLAGS... 
| checking MOZ_LIBVPX_LIBS... -lvpx -lm
| checking for vpx/vpx_decoder.h... yes
| checking for vpx_codec_dec_init_ver... yes
| checking for nasm... /usr/bin/nasm
| checking nasm version... 2.16.01
| checking for the wasm C compiler... /usr/bin/clang
| checking whether the wasm C compiler can be used... yes
| checking the wasm C compiler version... 16.0.6
| checking the wasm C compiler works... yes
| checking the wasm C compiler can find wasi headers... yes
| checking the wasm C linker can find wasi libraries... yes
| checking for the wasm C++ compiler... /usr/bin/clang++
| checking whether the wasm C++ compiler can be used... yes
| checking the wasm C++ compiler version... 16.0.6
| checking the wasm C++ compiler works... yes
| checking the wasm C++ compiler can find wasi headers... 
| DEBUG: Creating `/tmp/conftest.t4tbmgsv.cpp` with content:
| DEBUG: | #include <cstring>
| DEBUG: | int
| DEBUG: | main(void)
| DEBUG: | {
| DEBUG: | 
| DEBUG: |   ;
| DEBUG: |   return 0;
| DEBUG: | }
| DEBUG: Executing: `/usr/bin/clang++ --target=wasm32-wasi 
/tmp/conftest.t4tbmgsv.cpp -c`
| DEBUG: The command returned non-zero exit status 1.
| DEBUG: Its error output was:
| DEBUG: | /tmp/conftest.t4tbmgsv.cpp:1:10: fatal error: 'cstring' file not 
found
| DEBUG: | #include <cstring>
| DEBUG: |          ^~~~~~~~~
| DEBUG: | 1 error generated.
| ERROR: Cannot find wasi headers or problem with the wasm compiler. Please fix 
the problem. Or build with --without-wasm-sandboxed-libraries.
| make[1]: *** [debian/rules:228: stamps/configure-browser] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:329: build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

A full build log on riscv64 is also available:
https://buildd.debian.org/status/fetch.php?pkg=firefox&arch=riscv64&ver=117.0.1-1&stamp=1694756702&raw=0

Regards
Aurelien

Reply via email to