Building instrumented JS... 0:05.92 Clobber not needed. 0:05.94 /usr/bin/python3 /build/js91/src/firefox-91.5.1/configure.py 0:07.53 Creating Python 3 environment 0:10.75 created virtual environment CPython3.10.1.final.0-64 in 1909ms 0:10.76 creator CPython3Posix(dest=/build/js91/src/firefox-91.5.1/obj/_virtualenvs/common, clear=False, no_vcs_ignore=False, global=False) 0:10.76 seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/build/.local/share/virtualenv) 0:10.76 added seed packages: pip==20.3.1, setuptools==51.0.0, wheel==0.36.1 0:10.76 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator 0:11.68 /build/js91/src/firefox-91.5.1/python/mozbuild/mozbuild/virtualenv.py:648: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives 0:11.68 from distutils.version import LooseVersion 0:11.70 /build/js91/src/firefox-91.5.1/python/mozbuild/mozbuild/virtualenv.py:303: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead 0:11.70 import distutils.sysconfig 0:11.78 Re-executing in the virtualenv 0:14.38 Adding configure options from /build/js91/src/firefox-91.5.1/.mozconfig 0:14.38 --enable-application=js 0:14.38 --prefix=/usr 0:14.38 --enable-release 0:14.38 --enable-hardening 0:14.38 --enable-optimize 0:14.38 --enable-rust-simd 0:14.39 --enable-linker=lld 0:14.39 --disable-bootstrap 0:14.39 --disable-debug 0:14.39 --disable-debug-symbols 0:14.39 --disable-jemalloc 0:14.39 --disable-strip 0:14.39 --with-system-zlib 0:14.39 --without-system-icu 0:14.39 --enable-readline 0:14.39 --enable-shared-js 0:14.39 --enable-tests 0:14.39 --with-intl-api 0:14.40 --enable-profile-generate=cross 0:14.40 checking for vcs source checkout... no 0:14.71 checking for a shell... /usr/bin/sh 0:15.68 checking for host system type... riscv64-unknown-linux-gnu 0:15.68 checking for target system type... riscv64-unknown-linux-gnu 0:17.86 checking for Python 3... /build/js91/src/firefox-91.5.1/obj/_virtualenvs/common/bin/python (3.10.1) 0:18.01 checking whether cross compiling... no 0:18.03 checking for wget... not found 0:18.05 checking for ccache... not found 0:18.06 checking for the target C compiler... /usr/bin/clang 0:19.03 checking whether the target C compiler can be used... yes 0:19.03 checking the target C compiler version... 13.0.0 0:19.70 checking the target C compiler works... yes 0:19.71 checking for the target C++ compiler... /usr/bin/clang++ 0:20.73 checking whether the target C++ compiler can be used... yes 0:20.73 checking the target C++ compiler version... 13.0.0 0:21.41 checking the target C++ compiler works... yes 0:21.42 checking for the host C compiler... /usr/bin/clang 0:22.44 checking whether the host C compiler can be used... yes 0:22.44 checking the host C compiler version... 13.0.0 0:23.11 checking the host C compiler works... yes 0:23.12 checking for the host C++ compiler... /usr/bin/clang++ 0:24.15 checking whether the host C++ compiler can be used... yes 0:24.15 checking the host C++ compiler version... 13.0.0 0:24.83 checking the host C++ compiler works... yes 0:25.56 checking for 64-bit OS... yes 0:26.36 checking for new enough STL headers from libstdc++... yes 0:27.05 checking for linker... lld 0:27.06 checking for the assembler... /usr/bin/clang 0:27.46 checking for ar... /usr/bin/llvm-ar 0:27.82 checking for nm... /usr/bin/llvm-nm 0:27.82 checking for pkg_config... /usr/bin/pkg-config 0:27.86 checking for pkg-config version... 1.8.0 0:28.58 checking for stdint.h... yes 0:29.31 checking for inttypes.h... yes 0:30.10 checking for malloc.h... yes 0:30.81 checking for alloca.h... yes 0:31.33 checking for sys/byteorder.h... no 0:32.05 checking for getopt.h... yes 0:32.82 checking for unistd.h... yes 0:33.53 checking for nl_types.h... yes 0:34.11 checking for cpuid.h... no 0:34.89 checking for fts.h... yes 0:35.62 checking for sys/statvfs.h... yes 0:36.35 checking for sys/statfs.h... yes 0:37.08 checking for sys/vfs.h... yes 0:37.80 checking for sys/mount.h... yes 0:38.62 checking for sys/quota.h... yes 0:39.41 checking for linux/quota.h... yes 0:40.21 checking for linux/if_addr.h... yes 0:41.04 checking for linux/rtnetlink.h... yes 0:41.72 checking for sys/queue.h... yes 0:42.48 checking for sys/types.h... yes 0:43.30 checking for netinet/in.h... yes 0:44.07 checking for byteswap.h... yes 0:44.84 checking for memfd_create in sys/mman.h... yes 0:45.64 checking for linux/perf_event.h... yes 0:46.33 checking for perf_event_open system call... yes 0:47.01 checking whether the C compiler supports -Wbitfield-enum-conversion... yes 0:47.69 checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes 0:48.37 checking whether the C++ compiler supports -Wdeprecated-this-capture... yes 0:49.05 checking whether the C compiler supports -Wformat-type-confusion... yes 0:49.72 checking whether the C++ compiler supports -Wformat-type-confusion... yes 0:50.40 checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes 0:51.08 checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes 0:51.75 checking whether the C++ compiler supports -Wshadow-uncaptured-local... yes 0:52.43 checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes 0:53.10 checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes 0:53.78 checking whether the C compiler supports -Wunreachable-code-return... yes 0:54.46 checking whether the C++ compiler supports -Wunreachable-code-return... yes 0:55.13 checking whether the C compiler supports -Wclass-varargs... yes 0:55.81 checking whether the C++ compiler supports -Wclass-varargs... yes 0:56.48 checking whether the C++ compiler supports -Wempty-init-stmt... yes 0:57.15 checking whether the C compiler supports -Wfloat-overflow-conversion... yes 0:57.82 checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes 0:58.49 checking whether the C compiler supports -Wfloat-zero-conversion... yes 0:59.17 checking whether the C++ compiler supports -Wfloat-zero-conversion... yes 0:59.83 checking whether the C compiler supports -Wloop-analysis... yes 1:00.51 checking whether the C++ compiler supports -Wloop-analysis... yes 1:01.18 checking whether the C compiler supports -Wno-range-loop-analysis... yes 1:01.85 checking whether the C++ compiler supports -Wno-range-loop-analysis... yes 1:02.53 checking whether the C++ compiler supports -Wc++2a-compat... yes 1:03.21 checking whether the C++ compiler supports -Wcomma... yes 1:03.62 checking whether the C compiler supports -Wduplicated-cond... no 1:04.04 checking whether the C++ compiler supports -Wduplicated-cond... no 1:04.70 checking whether the C compiler supports -Wenum-compare-conditional... yes 1:05.38 checking whether the C++ compiler supports -Wenum-compare-conditional... yes 1:06.08 checking whether the C++ compiler supports -Wimplicit-fallthrough... yes 1:06.76 checking whether the C compiler supports -Wstring-conversion... yes 1:07.44 checking whether the C++ compiler supports -Wstring-conversion... yes 1:08.11 checking whether the C++ compiler supports -Wno-inline-new-delete... yes 1:08.53 checking whether the C compiler supports -Wno-error=maybe-uninitialized... no 1:08.94 checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no 1:09.62 checking whether the C compiler supports -Wno-error=deprecated-declarations... yes 1:10.30 checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes 1:10.97 checking whether the C compiler supports -Wno-error=array-bounds... yes 1:11.64 checking whether the C++ compiler supports -Wno-error=array-bounds... yes 1:12.06 checking whether the C compiler supports -Wno-error=coverage-mismatch... no 1:12.48 checking whether the C++ compiler supports -Wno-error=coverage-mismatch... no 1:13.15 checking whether the C compiler supports -Wno-error=backend-plugin... yes 1:13.83 checking whether the C++ compiler supports -Wno-error=backend-plugin... yes 1:14.49 checking whether the C compiler supports -Wno-error=free-nonheap-object... yes 1:15.17 checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes 1:15.58 checking whether the C compiler supports -Wno-multistatement-macros... no 1:16.00 checking whether the C++ compiler supports -Wno-multistatement-macros... no 1:16.67 checking whether the C compiler supports -Wno-error=return-std-move... yes 1:17.35 checking whether the C++ compiler supports -Wno-error=return-std-move... yes 1:17.76 checking whether the C compiler supports -Wno-error=class-memaccess... no 1:18.18 checking whether the C++ compiler supports -Wno-error=class-memaccess... no 1:18.84 checking whether the C compiler supports -Wno-error=atomic-alignment... yes 1:19.51 checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes 1:20.18 checking whether the C compiler supports -Wno-error=deprecated-copy... yes 1:20.85 checking whether the C++ compiler supports -Wno-error=deprecated-copy... yes 1:21.51 checking whether the C compiler supports -Wno-error=unused-but-set-variable... yes 1:22.19 checking whether the C++ compiler supports -Wno-error=unused-but-set-variable... yes 1:22.86 checking whether the C compiler supports -Wformat... yes 1:23.53 checking whether the C++ compiler supports -Wformat... yes 1:24.20 checking whether the C compiler supports -Wformat-security... yes 1:24.87 checking whether the C++ compiler supports -Wformat-security... yes 1:25.29 checking whether the C compiler supports -Wformat-overflow=2... no 1:25.70 checking whether the C++ compiler supports -Wformat-overflow=2... no 1:26.43 checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes 1:27.10 checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... yes 1:27.76 checking whether the C compiler supports -Werror=implicit-function-declaration... yes 1:28.43 checking whether the C compiler supports -Wno-psabi... yes 1:29.10 checking whether the C++ compiler supports -Wno-psabi... yes 1:29.80 checking whether the C++ compiler supports -fno-sized-deallocation... yes 1:30.48 checking whether the C++ compiler supports -fno-aligned-new... yes 1:30.49 checking for llvm_profdata... /usr/bin/llvm-profdata 1:30.60 checking for rustc... /usr/bin/rustc 1:30.61 checking for cargo... /usr/bin/cargo 1:31.49 checking rustc version... 1.58.1 1:31.61 checking cargo version... 1.58.0 1:33.70 checking for rust host triplet... riscv64gc-unknown-linux-gnu 1:35.37 checking for rust target triplet... riscv64gc-unknown-linux-gnu 1:35.38 checking for rustdoc... /usr/bin/rustdoc 1:35.39 checking for rustfmt... /usr/bin/rustfmt 1:35.40 checking for clang for bindgen... /usr/bin/clang++ 1:35.76 checking for libclang for bindgen... /usr/lib/libclang.so 1:36.05 checking that libclang is new enough... yes 1:36.05 checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_POSIX=1 -DOS_LINUX=1 -std=gnu++17 1:37.23 checking for readline... yes 1:37.25 checking for awk... /usr/bin/gawk 1:37.25 checking for perl... /usr/bin/perl 1:37.32 checking for minimum required perl version >= 5.006... 5.034000 1:37.47 checking for full perl installation... yes 1:37.48 checking for gmake... /usr/bin/make 1:37.48 checking for watchman... not found 1:37.49 checking for xargs... /usr/bin/xargs 1:37.49 checking for rpmbuild... not found 1:37.50 checking for NSIS version... no 1:37.85 checking for llvm-objdump... /usr/bin/llvm-objdump 1:37.90 checking for zlib >= 1.2.3... yes 1:37.94 checking MOZ_ZLIB_CFLAGS... 1:37.98 checking MOZ_ZLIB_LIBS... -lz 1:37.99 checking for m4... /usr/bin/m4 1:38.04 Refreshing /build/js91/src/firefox-91.5.1/js/src/old-configure with /build/js91/src/firefox-91.5.1/build/autoconf/autoconf.sh 1:39.00 creating cache ./config.cache 1:39.46 checking host system type... riscv64-unknown-linux-gnu 1:39.77 checking target system type... riscv64-unknown-linux-gnu 1:40.02 checking build system type... riscv64-unknown-linux-gnu 1:40.69 checking for Cygwin environment... no 1:41.32 checking for mingw32 environment... no 1:42.96 checking for executable suffix... configure: error: installation or configuration problem: compiler cannot create executables. 1:42.98 DEBUG: 1:42.99 DEBUG: configure:766: /usr/bin/clang -std=gnu99 -c -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection conftest.c 1>&5 1:42.99 DEBUG: clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] 1:42.99 DEBUG: configure:762:8: error: use of undeclared identifier '__MINGW32__' 1:42.99 DEBUG: return __MINGW32__; 1:42.99 DEBUG: ^ 1:42.99 DEBUG: 1 error generated. 1:42.99 DEBUG: configure: failed program was: 1:42.99 DEBUG: #line 759 "configure" 1:42.99 DEBUG: #include "confdefs.h" 1:42.99 DEBUG: 1:42.99 DEBUG: int main() { 1:43.00 DEBUG: return __MINGW32__; 1:43.00 DEBUG: ; return 0; } 1:43.00 DEBUG: configure:785: checking for executable suffix 1:43.00 DEBUG: configure:795: /usr/bin/clang -std=gnu99 -o conftest -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fuse-ld=lld conftest.c 1>&5 1:43.00 DEBUG: clang-13: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] 1:43.00 DEBUG: ld.lld: error: init.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax 1:43.00 DEBUG: ld.lld: error: conftest.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax 1:43.00 DEBUG: clang-13: error: linker command failed with exit code 1 (use -v to see invocation) 1:43.00 DEBUG: configure: error: installation or configuration problem: compiler cannot create executables. 1:43.00 ERROR: old-configure failed Config object not found by mach. Error running mach: ['build'] The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You can invoke |./mach busted| to check if this issue is already on file. If it isn't, please use |./mach busted file build| to report it. If |./mach busted| is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: Exception: Process executed with non-0 exit code 1: ['/usr/bin/python3', '/build/js91/src/firefox-91.5.1/configure.py'] File "/build/js91/src/firefox-91.5.1/python/mozbuild/mozbuild/build_commands.py", line 153, in build return driver.build( File "/build/js91/src/firefox-91.5.1/python/mozbuild/mozbuild/controller/building.py", line 1144, in build config_rc = self.configure( File "/build/js91/src/firefox-91.5.1/python/mozbuild/mozbuild/controller/building.py", line 1528, in configure status = self._run_command_in_objdir( File "/build/js91/src/firefox-91.5.1/python/mozbuild/mozbuild/base.py", line 845, in _run_command_in_objdir return self.run_process(cwd=self.topobjdir, **args) File "/build/js91/src/firefox-91.5.1/python/mach/mach/mixin/process.py", line 176, in run_process raise Exception( ==> ERROR: A failure occurred in build().  Aborting...