Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mozjs.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-308802-31782/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/mozjs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/mozjs-128.8.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mozjs.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-308802-31782/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mozjs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.66x1f3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-128.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/firefox-128.8.0esr.source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-128.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/emitter.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-soname.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/copy-headers.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tests-increase-timeout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/icu_sources_data.py-Decouple-from-Mozilla-build-system.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/icu_sources_data-Write-command-output-to-our-stderr.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/tests-Use-native-TemporaryDirectory.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/init_patch.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-sloppy-m4-detection-from-bundled-autoconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/firefox-112.0-commasplit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/spidermonkey_checks_disable.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp LICENSE js/src/ + cp /builddir/build/SOURCES/known_failures.txt js/src/ + rm -rf modules/zlib + rm -rf js/src/devtools/automation/variants/ + rm -rf js/src/octane/ + rm -rf js/src/ctypes/libffi/ + chmod -x third_party/rust/bumpalo/src/lib.rs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oO8SZV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fPIE -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fPIE -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fPIE -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fPIE -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: ~/build/BUILD/firefox-128.8.0/js/src ~/build/BUILD/firefox-128.8.0 + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd firefox-128.8.0 + export M4=m4 + M4=m4 + export AWK=awk + AWK=awk + export AC_MACRODIR=./build/autoconf/ + AC_MACRODIR=./build/autoconf/ + pushd js/src/ + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-icu --with-system-zlib --disable-tests --disable-strip --with-intl-api --enable-readline --enable-shared-js --enable-optimize --disable-debug --enable-pie --disable-jemalloc Using Python 3.11.6 from /usr/bin/python3 Creating local state directory: /builddir/.mozbuild/srcdirs/firefox-128.8.0-36fd2ada3175 Created Python 3 virtualenv checking for vcs source checkout... no checking for a shell... /usr/bin/sh checking for host system type... aarch64-opencloudos-linux-gnu checking for target system type... aarch64-opencloudos-linux-gnu WARNING: Unknown option: --build WARNING: Unknown option: --program-prefix WARNING: Unknown option: --disable-dependency-tracking WARNING: Unknown option: --exec-prefix WARNING: Unknown option: --bindir WARNING: Unknown option: --sbindir WARNING: Unknown option: --sysconfdir WARNING: Unknown option: --libexecdir WARNING: Unknown option: --localstatedir WARNING: Unknown option: --sharedstatedir WARNING: Unknown option: --mandir WARNING: Unknown option: --infodir WARNING: Unknown option: --enable-pie checking for Python 3... /builddir/.mozbuild/srcdirs/firefox-128.8.0-36fd2ada3175/_virtualenvs/build/bin/python (3.11.6) checking whether cross compiling... no checking for wget... /usr/bin/wget checking for ccache... not found checking for the target C compiler... /usr/bin/clang checking whether the target C compiler can be used... yes checking the target C compiler version... 17.0.6 checking the target C compiler works... yes checking for the target C++ compiler... /usr/bin/clang++ checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 17.0.6 checking the target C++ compiler works... yes checking for the host C compiler... /usr/bin/clang checking whether the host C compiler can be used... yes checking the host C compiler version... 17.0.6 checking the host C compiler works... yes checking for the host C++ compiler... /usr/bin/clang++ checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 17.0.6 checking the host C++ compiler works... yes checking for target linker... bfd checking for host linker... bfd checking for 64-bit OS... yes checking for new enough STL headers from libstdc++... yes checking for __thread keyword for TLS variables... yes checking for unwind.h... yes checking for _Unwind_Backtrace... yes checking for the assembler... /usr/bin/clang checking for ar... /usr/bin/llvm-ar checking whether ar supports response files... yes checking for host_ar... /usr/bin/llvm-ar checking for nm... /usr/bin/llvm-nm checking for i8mm target feature... yes checking for pkg_config... /usr/bin/pkg-config checking for pkg-config version... 1.9.5 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... no checking for stdint.h... yes checking for inttypes.h... yes checking for alloca.h... yes 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... no checking for fts.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for linux/if_addr.h... yes checking for linux/rtnetlink.h... yes 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 linux/perf_event.h... yes checking for perf_event_open system call... 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... 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 -Wbitfield-enum-conversion... yes checking whether the C++ compiler supports -Wbitfield-enum-conversion... yes checking whether the C compiler supports -Wformat-type-confusion... yes checking whether the C++ compiler supports -Wformat-type-confusion... yes checking whether the C compiler supports -Wshadow-field-in-constructor-modified... yes checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... yes checking whether the C compiler supports -Wtautological-constant-in-range-compare... yes checking whether the C++ compiler supports -Wtautological-constant-in-range-compare... yes checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... yes checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... yes checking whether the C compiler supports -Wunreachable-code-return... yes checking whether the C++ compiler supports -Wunreachable-code-return... yes checking whether the C compiler supports -Wunused-but-set-parameter... yes checking whether the C++ compiler supports -Wunused-but-set-parameter... yes checking whether the C compiler supports -Wclass-varargs... yes checking whether the C++ compiler supports -Wclass-varargs... yes checking whether the C++ compiler supports -Wempty-init-stmt... yes checking whether the C compiler supports -Wfloat-overflow-conversion... yes checking whether the C++ compiler supports -Wfloat-overflow-conversion... yes checking whether the C compiler supports -Wfloat-zero-conversion... yes checking whether the C++ compiler supports -Wfloat-zero-conversion... yes checking whether the C compiler supports -Wloop-analysis... yes checking whether the C++ compiler supports -Wloop-analysis... yes checking whether the C compiler supports -Wno-range-loop-analysis... yes checking whether the C++ compiler supports -Wno-range-loop-analysis... yes checking whether the C++ compiler supports -Wcomma-subscript... no checking whether the C compiler supports -Wenum-compare-conditional... yes checking whether the C++ compiler supports -Wenum-compare-conditional... yes checking whether the C compiler supports -Wenum-float-conversion... yes checking whether the C++ compiler supports -Wenum-float-conversion... yes checking whether the C++ compiler supports -Wvolatile... no checking whether the C++ compiler supports -Wno-deprecated-anon-enum-enum-conversion... yes checking whether the C++ compiler supports -Wno-deprecated-enum-enum-conversion... yes checking whether the C++ compiler supports -Wno-deprecated-this-capture... yes checking whether the C++ compiler supports -Wcomma... yes checking whether the C compiler supports -Wduplicated-cond... no checking whether the C++ compiler supports -Wduplicated-cond... no checking whether the C++ compiler supports -Wimplicit-fallthrough... yes checking whether the C compiler supports -Wlogical-op... no checking whether the C++ compiler supports -Wlogical-op... no checking whether the C compiler supports -Wstring-conversion... yes checking whether the C++ compiler supports -Wstring-conversion... yes checking whether the C++ compiler supports -Wno-inline-new-delete... yes checking whether the C compiler supports -Wno-error=maybe-uninitialized... no checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... no checking whether the C compiler supports -Wno-error=deprecated-declarations... yes checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes checking whether the C compiler supports -Wno-error=array-bounds... yes checking whether the C++ compiler supports -Wno-error=array-bounds... yes checking whether the C compiler supports -Wno-error=free-nonheap-object... yes checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes checking whether the C compiler supports -Wno-multistatement-macros... no checking whether the C++ compiler supports -Wno-multistatement-macros... no checking whether the C compiler supports -Wno-error=class-memaccess... no checking whether the C++ compiler supports -Wno-error=class-memaccess... no checking whether the C compiler supports -Wno-error=atomic-alignment... yes checking whether the C++ compiler supports -Wno-error=atomic-alignment... yes checking whether the C compiler supports -Wno-error=deprecated-builtins... yes checking whether the C++ compiler supports -Wno-error=deprecated-builtins... yes checking whether the C compiler supports -Wformat... yes checking whether the C++ compiler supports -Wformat... yes checking whether the C compiler supports -Wformat-security... yes checking whether the C++ compiler supports -Wformat-security... yes checking whether the C compiler supports -Wformat-overflow=2... no checking whether the C++ compiler supports -Wformat-overflow=2... no checking whether the C compiler supports -Werror=implicit-function-declaration... yes checking whether the C compiler supports -Wno-psabi... yes checking whether the C++ compiler supports -Wno-psabi... yes checking whether the C compiler supports -Wthread-safety... yes checking whether the C++ compiler supports -Wthread-safety... yes checking whether the C compiler supports -Wno-error=builtin-macro-redefined... yes checking whether the C++ compiler supports -Wno-error=builtin-macro-redefined... yes checking whether the C++ compiler supports -Wno-vla-cxx-extension... no checking whether the C compiler supports -Wno-unknown-warning-option... yes checking whether the C++ compiler supports -Wno-unknown-warning-option... yes checking whether the C++ compiler supports -fno-sized-deallocation... yes checking whether the C++ compiler supports -fno-aligned-new... yes checking whether the C linker supports -Wl,--build-id=sha1... yes checking whether the C compiler 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 for --ignore-unresolved-symbol option to the linker... yes checking what kind of list files are supported by the linker... linkerlist checking for llvm_profdata... /usr/bin/llvm-profdata checking whether llvm-profdata supports 'order' subcommand... yes checking for llvm-objdump... /usr/bin/llvm-objdump checking for readelf... /usr/bin/llvm-readelf checking for objcopy... /usr/bin/llvm-objcopy checking for rustc... /usr/bin/rustc checking for cargo... /usr/bin/cargo checking rustc version... 1.83.0 checking cargo version... 1.83.0 checking for rust host triplet... aarch64-unknown-linux-gnu checking for rust target triplet... aarch64-unknown-linux-gnu checking for rustdoc... /usr/bin/rustdoc checking for cbindgen... no ERROR: Cannot find cbindgen. Please run `mach bootstrap`, `cargo install cbindgen`, ensure that `cbindgen` is on your PATH, or point at an executable with `CBINDGEN`. error: Bad exit status from /var/tmp/rpm-tmp.oO8SZV (%build) Bad exit status from /var/tmp/rpm-tmp.oO8SZV (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mozjs.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/mozjs.spec