Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/mozjs78.spec'], chrootPath='/var/lib/mock/dist-an23-build-79689-40762/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/mozjs78.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 setting SOURCE_DATE_EPOCH=1647302400 Wrote: /builddir/build/SRPMS/mozjs78-78.15.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/mozjs78.spec'], chrootPath='/var/lib/mock/dist-an23-build-79689-40762/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/mozjs78.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 setting SOURCE_DATE_EPOCH=1647302400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BmImKc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-78.15.0/js/src + /usr/bin/xz -dc /builddir/build/SOURCES/firefox-78.15.0esr.source.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-78.15.0/js/src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd ../.. ~/build/BUILD/firefox-78.15.0 ~/build/BUILD/firefox-78.15.0/js/src Patch #1 (Fixup-compatibility-of-mozbuild-with-Python-3.10.patch): + echo 'Patch #1 (Fixup-compatibility-of-mozbuild-with-Python-3.10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file python/mach/mach/config.py patching file python/mach/mach/decorators.py patching file python/mozbuild/mozbuild/backend/configenvironment.py patching file python/mozbuild/mozbuild/makeutil.py patching file python/mozbuild/mozbuild/util.py patching file testing/marionette/client/marionette_driver/wait.py patching file testing/mozbase/manifestparser/manifestparser/filters.py patching file testing/mozbase/versioninfo.py patching file testing/web-platform/tests/tools/manifest/vcs.py patching file testing/web-platform/tests/tools/third_party/h2/h2/settings.py patching file testing/web-platform/tests/tools/third_party/html5lib/html5lib/_trie/_base.py patching file testing/web-platform/tests/tools/third_party/html5lib/html5lib/treebuilders/dom.py patching file testing/web-platform/tests/tools/third_party/hyper/hyper/common/headers.py patching file testing/web-platform/tests/tools/third_party/hyper/hyper/h2/settings.py patching file testing/web-platform/tests/tools/third_party/hyper/hyper/http11/connection.py patching file testing/web-platform/tests/tools/third_party/hyper/hyper/packages/hyperframe/flags.py patching file testing/web-platform/tests/tools/third_party/hyperframe/hyperframe/flags.py patching file testing/web-platform/tests/tools/wptserve/wptserve/config.py patching file testing/web-platform/tests/webdriver/tests/support/sync.py + echo 'Patch #2 (init_patch.patch):' Patch #2 (init_patch.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file python/mozbuild/mozbuild/configure/__init__.py + cp LICENSE js/src/ + popd ~/build/BUILD/firefox-78.15.0/js/src + rm -rf ../../modules/zlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8COoWJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd firefox-78.15.0/js/src + export CC=gcc + CC=gcc + export CXX=g++ + CXX=g++ + export 'RUSTFLAGS=-C embed-bitcode' + RUSTFLAGS='-C embed-bitcode' + export CARGO_PROFILE_RELEASE_LTO=true + CARGO_PROFILE_RELEASE_LTO=true + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export 'CXXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export 'LINKFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + LINKFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + mv ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + mv ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure --- ./ctypes/libffi/configure.backup 2021-09-28 18:04:53.000000000 +0800 +++ ./ctypes/libffi/configure 2022-03-16 15:06:29.274218268 +0800 @@ -1911,7 +1911,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + mv ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure --- ./ctypes/libffi/configure.backup 2022-03-16 15:06:29.274218268 +0800 +++ ./ctypes/libffi/configure 2022-03-16 15:06:29.294218248 +0800 @@ -19690,7 +19690,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./ctypes/libffi/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./ctypes/libffi/config.guess ++ basename ./ctypes/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./ctypes/libffi/config.guess '/usr/lib/rpm/anolis/config.guess' -> './ctypes/libffi/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./ctypes/libffi/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./ctypes/libffi/config.sub ++ basename ./ctypes/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./ctypes/libffi/config.sub '/usr/lib/rpm/anolis/config.sub' -> './ctypes/libffi/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld"~' ./ctypes/libffi/ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --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 --without-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 Creating Python 3 environment created virtual environment CPython3.10.2.final.0-64 in 218ms creator CPython3Posix(dest=/builddir/build/BUILD/firefox-78.15.0/_virtualenvs/init_py3, clear=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/builddir/.local/share/virtualenv) added seed packages: pip==20.2.2, setuptools==49.6.0, wheel==0.35.1 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator /builddir/build/BUILD/firefox-78.15.0/python/mozbuild/mozbuild/virtualenv.py:697: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion /builddir/build/BUILD/firefox-78.15.0/python/mozbuild/mozbuild/virtualenv.py:316: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead import distutils.sysconfig b"running build_ext\nbuilding 'psutil._psutil_linux' extension\ncreating build/temp.linux-aarch64-3.10\ncreating build/temp.linux-aarch64-3.10/psutil\ngcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/builddir/build/BUILD/firefox-78.15.0/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-3.10/psutil/_psutil_common.o\ngcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/builddir/build/BUILD/firefox-78.15.0/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_linux.c -o build/temp.linux-aarch64-3.10/psutil/_psutil_linux.o\ngcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/builddir/build/BUILD/firefox-78.15.0/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_posix.c -o build/temp.linux-aarch64-3.10/psutil/_psutil_posix.o\ncreating build/lib.linux-aarch64-3.10\ncreating build/lib.linux-aarch64-3.10/psutil\ngcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g build/temp.linux-aarch64-3.10/psutil/_psutil_common.o build/temp.linux-aarch64-3.10/psutil/_psutil_linux.o build/temp.linux-aarch64-3.10/psutil/_psutil_posix.o -L/usr/lib64 -o build/lib.linux-aarch64-3.10/psutil/_psutil_linux.cpython-310-aarch64-linux-gnu.so\nbuilding 'psutil._psutil_posix' extension\ngcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/builddir/build/BUILD/firefox-78.15.0/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_common.c -o build/temp.linux-aarch64-3.10/psutil/_psutil_common.o\ngcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=570 -DPSUTIL_LINUX=1 -I/builddir/build/BUILD/firefox-78.15.0/_virtualenvs/init_py3/include -I/usr/include/python3.10 -c psutil/_psutil_posix.c -o build/temp.linux-aarch64-3.10/psutil/_psutil_posix.o\ngcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g build/temp.linux-aarch64-3.10/psutil/_psutil_common.o build/temp.linux-aarch64-3.10/psutil/_psutil_posix.o -L/usr/lib64 -o build/lib.linux-aarch64-3.10/psutil/_psutil_posix.cpython-310-aarch64-linux-gnu.so\ncopying build/lib.linux-aarch64-3.10/psutil/_psutil_linux.cpython-310-aarch64-linux-gnu.so -> psutil\ncopying build/lib.linux-aarch64-3.10/psutil/_psutil_posix.cpython-310-aarch64-linux-gnu.so -> psutil\n" Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt) Re-executing in the virtualenv checking for vcs source checkout... no checking for a shell... /usr/bin/sh checking for host system type... aarch64-Anolis-linux-gnu checking for target system type... aarch64-Anolis-linux-gnu checking for Python 3... /builddir/build/BUILD/firefox-78.15.0/_virtualenvs/init_py3/bin/python (3.10.2) checking whether cross compiling... no checking for yasm... not found checking for the target C compiler... /usr/bin/gcc checking whether the target C compiler can be used... yes checking the target C compiler version... 12.0.1 checking the target C compiler works... yes checking for the target C++ compiler... /usr/bin/g++ checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 12.0.1 checking the target C++ compiler works... yes checking for the host C compiler... /usr/bin/gcc checking whether the host C compiler can be used... yes checking the host C compiler version... 12.0.1 checking the host C compiler works... yes checking for the host C++ compiler... /usr/bin/g++ checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 12.0.1 checking the host C++ compiler works... yes checking for 64-bit OS... yes checking for new enough STL headers from libstdc++... yes checking for nasm... /usr/bin/nasm checking nasm version... 2.15.05 checking for linker... bfd checking for the assembler... /usr/bin/gcc checking for ar... /usr/bin/ar checking for pkg_config... /usr/bin/pkg-config checking for pkg-config version... 1.8.0 checking for stdint.h... yes checking for inttypes.h... yes checking for malloc.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 linux/perf_event.h... yes checking for perf_event_open system call... yes checking whether the C compiler supports -Wbitfield-enum-conversion... no checking whether the C++ compiler supports -Wbitfield-enum-conversion... no checking whether the C compiler supports -Wshadow-field-in-constructor-modified... no checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... no checking whether the C compiler supports -Wunreachable-code-return... no checking whether the C++ compiler supports -Wunreachable-code-return... no checking whether the C compiler supports -Wclass-varargs... no checking whether the C++ compiler supports -Wclass-varargs... no checking whether the C++ compiler supports -Wempty-init-stmt... no checking whether the C compiler supports -Wfloat-overflow-conversion... no checking whether the C++ compiler supports -Wfloat-overflow-conversion... no checking whether the C compiler supports -Wfloat-zero-conversion... no checking whether the C++ compiler supports -Wfloat-zero-conversion... no checking whether the C compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wc++2a-compat... yes checking whether the C++ compiler supports -Wcomma... no checking whether the C compiler supports -Wduplicated-cond... yes checking whether the C++ compiler supports -Wduplicated-cond... yes checking whether the C++ compiler supports -Wimplicit-fallthrough... yes checking whether the C++ compiler supports -Wunused-function... yes checking whether the C++ compiler supports -Wunused-variable... yes checking whether the C compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wstring-conversion... no checking whether the C compiler supports -Wtautological-overlap-compare... no checking whether the C++ compiler supports -Wtautological-overlap-compare... no checking whether the C compiler supports -Wtautological-unsigned-enum-zero-compare... no checking whether the C++ compiler supports -Wtautological-unsigned-enum-zero-compare... no checking whether the C compiler supports -Wtautological-unsigned-zero-compare... no checking whether the C++ compiler supports -Wtautological-unsigned-zero-compare... no checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... no checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... no checking whether the C++ compiler supports -Wno-inline-new-delete... no checking whether the C compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... yes 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=coverage-mismatch... yes checking whether the C++ compiler supports -Wno-error=coverage-mismatch... yes checking whether the C compiler supports -Wno-error=backend-plugin... no checking whether the C++ compiler supports -Wno-error=backend-plugin... no 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... yes checking whether the C++ compiler supports -Wno-multistatement-macros... yes checking whether the C compiler supports -Wno-error=return-std-move... no checking whether the C++ compiler supports -Wno-error=return-std-move... no checking whether the C compiler supports -Wno-error=class-memaccess... yes checking whether the C++ compiler supports -Wno-error=class-memaccess... yes checking whether the C compiler supports -Wno-error=atomic-alignment... no checking whether the C++ compiler supports -Wno-error=atomic-alignment... no checking whether the C compiler supports -Wno-error=deprecated-copy... yes checking whether the C++ compiler supports -Wno-error=deprecated-copy... 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... no checking whether the C++ compiler supports -Wformat-security... no checking whether the C compiler supports -Wformat-overflow=2... yes checking whether the C++ compiler supports -Wformat-overflow=2... yes checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-noexcept-type... yes checking for llvm_profdata... /usr/bin/llvm-profdata checking whether the C++ compiler supports -fno-sized-deallocation... yes checking whether the C++ compiler supports -fno-aligned-new... yes checking for rustc... /usr/bin/rustc checking for cargo... /usr/bin/cargo checking rustc version... 1.59.0 checking cargo version... 1.59.0 checking for rust target triplet... aarch64-unknown-linux-gnu checking for rust host triplet... aarch64-unknown-linux-gnu checking for rustdoc... /usr/bin/rustdoc checking for rustfmt... not found checking for clang for bindgen... /usr/bin/clang++ checking for libclang for bindgen... /usr/lib64/libclang.so checking that libclang is new enough... yes 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 checking for readline... yes checking for awk... /usr/bin/gawk checking for perl... /usr/bin/perl checking for minimum required perl version >= 5.006... 5.034000 checking for full perl installation... yes checking for gmake... /usr/bin/gmake checking for watchman... not found checking for xargs... /usr/bin/xargs checking for rpmbuild... /usr/bin/rpmbuild checking for NSIS version... no checking for llvm-objdump... /usr/bin/llvm-objdump checking for zlib >= 1.2.3... yes checking MOZ_ZLIB_CFLAGS... checking MOZ_ZLIB_LIBS... -lz checking for autoconf... ERROR: Could not find autoconf 2.13 error: Bad exit status from /var/tmp/rpm-tmp.8COoWJ (%build) Bad exit status from /var/tmp/rpm-tmp.8COoWJ (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 --target aarch64 --nodeps /builddir/build/SPECS/mozjs78.spec