Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/squid.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-482052-74250/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=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '89974884ddeb41ed9c47b03e41800883', '-D', '/var/lib/mock/dist-an23.3-build-482052-74250/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/squid.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1761696000 Wrote: /builddir/build/SRPMS/squid-7.2-1.an23.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/squid.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-482052-74250/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=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b2a344b76f5146a3997f57ddd02c98cd', '-D', '/var/lib/mock/dist-an23.3-build-482052-74250/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/squid.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1761696000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.y93b3g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf squid-7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/squid-7.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd squid-7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/squid-6.1-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/squid-6.1-location.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/squid-6.1-perlpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/squid-6.1-symlink-lang-err.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|@SYSCONFDIR@/squid.conf.documented|/usr/share/doc/squid/squid.conf.documented|' src/squid.8.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qYLeYB + 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 -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 -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 squid-7.2 + 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 -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 -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' ./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 --- ./configure.backup 2025-10-17 04:18:10.000000000 +0800 +++ ./configure 2025-10-29 10:52:55.989718985 +0800 @@ -2495,7 +2495,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. */ @@ -2737,7 +2737,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' ./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 --- ./configure.backup 2025-10-29 10:52:55.989718985 +0800 +++ ./configure 2025-10-29 10:52:56.029719200 +0800 @@ -11753,7 +11753,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -52776,7 +52776,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_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 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"`' + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure --- ./libltdl/configure.backup 2025-10-17 04:18:10.000000000 +0800 +++ ./libltdl/configure 2025-10-29 10:52:56.049719307 +0800 @@ -1712,7 +1712,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' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure + mv ./libltdl/configure.backup ./libltdl/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'\''"#' ./libltdl/configure + diff -u ./libltdl/configure.backup ./libltdl/configure --- ./libltdl/configure.backup 2025-10-29 10:52:56.049719307 +0800 +++ ./libltdl/configure 2025-10-29 10:52:56.059719361 +0800 @@ -6876,7 +6876,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -14873,7 +14873,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_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 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"`' + '[' 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 ./cfgaux/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./cfgaux/config.sub ++ basename ./cfgaux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./cfgaux/config.sub '/usr/lib/rpm/anolis/config.sub' -> './cfgaux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./cfgaux/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./cfgaux/config.guess ++ basename ./cfgaux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./cfgaux/config.guess '/usr/lib/rpm/anolis/config.guess' -> './cfgaux/config.guess' + '[' 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"~' ./cfgaux/ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 Forcing run-time library search path definition in configure to prevent libtool from adding rpath for standard directories (configure was generated with libtool without support for autodetection) + ./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 --libexecdir=/usr/lib64/squid --datadir=/usr/share/squid --sysconfdir=/etc/squid --with-logdir=/var/log/squid --with-pidfile=/run/squid.pid --disable-dependency-tracking --enable-eui --enable-follow-x-forwarded-for --enable-auth --enable-auth-basic=DB,fake,getpwnam,LDAP,NCSA,PAM,POP3,RADIUS,SASL,SMB,SMB_LM --enable-auth-ntlm=SMB_LM,fake --enable-auth-digest=file,LDAP --enable-auth-negotiate=kerberos --enable-external-acl-helpers=LDAP_group,time_quota,session,unix_group,wbinfo_group,kerberos_ldap_group --enable-storeid-rewrite-helpers=file --enable-cache-digests --enable-cachemgr-hostname=localhost --enable-delay-pools --enable-epoll --enable-icap-client --enable-ident-lookups --enable-linux-netfilter --enable-removal-policies=heap,lru --enable-snmp --enable-ssl --enable-ssl-crtd --enable-storeio=aufs,diskd,ufs,rock --enable-diskio --enable-wccpv2 --enable-esi --enable-ecap --with-aio --with-default-user=squid --with-dl --with-openssl --with-pthreads --disable-arch-native --disable-security-cert-validators --disable-strict-error-checking --with-swapdir=/var/spool/squid --enable-translation checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '982' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... aarch64-Anolis-linux-gnu checking host system type... aarch64-Anolis-linux-gnu checking simplified host os... linux (version ) configure: Building on Anolis OS 23.3 checking for aarch64-Anolis-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no configure: CPU arch native optimization enabled: no checking whether g++ supports C++17 features with -std=c++17... yes checking for aarch64-Anolis-linux-ranlib... no checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sh... /usr/bin/sh checking for false... /usr/bin/false checking for true... /usr/bin/true checking for mv... /usr/bin/mv checking for mkdir... /usr/bin/mkdir checking for ln... /usr/bin/ln checking for chmod... /usr/bin/chmod checking for tr... /usr/bin/tr checking for rm... /usr/bin/rm checking for aarch64-Anolis-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for perl... /usr/bin/perl checking for pod2man... /usr/bin/pod2man checking for ar... /usr/bin/ar checking for linuxdoc... /usr/bin/false configure: strict error checking enabled: no checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-Anolis-linux-gnu file names to aarch64-Anolis-linux-gnu format... func_convert_file_noop checking how to convert aarch64-Anolis-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-Anolis-linux-file... no checking for file... file checking for aarch64-Anolis-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-Anolis-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-Anolis-linux-ar... /usr/bin/ar checking for archiver @FILE support... @ checking for aarch64-Anolis-linux-strip... no checking for strip... strip checking for aarch64-Anolis-linux-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 11759: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-Anolis-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -std=c++17 -E checking for ld used by g++ -std=c++17... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ -std=c++17 linker (/usr/bin/ld) supports shared libraries... yes /usr/bin/grep: warning: stray \ before - checking for g++ -std=c++17 option to produce PIC... -fPIC -DPIC checking if g++ -std=c++17 PIC flag -fPIC -DPIC works... yes checking if g++ -std=c++17 static flag -static works... no checking if g++ -std=c++17 supports -c -o file.o... yes checking if g++ -std=c++17 supports -c -o file.o... (cached) yes checking whether the g++ -std=c++17 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for g++ -std=c++17 options needed to detect all undeclared functions... none needed checking what extension is used for runtime loadable modules... .so checking what variable specifies run-time module search path... LD_LIBRARY_PATH checking for the default library search path... /usr/lib64 /lib /usr/lib checking for gcc options needed to detect all undeclared functions... none needed checking for library containing dlopen... none required checking for dlerror... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... no checking for _ prefix in compiled symbols... no checking whether deplibs are loaded by dlopen... yes checking for argz.h... yes checking for error_t... yes checking for argz_add... yes checking for argz_append... yes checking for argz_count... yes checking for argz_create_sep... yes checking for argz_insert... yes checking for argz_next... yes checking for argz_stringify... yes checking if argz actually works... yes checking whether libtool supports -dlopen/-dlpreopen... yes checking for ltdl.h... yes checking whether lt_dlinterface_register is declared... yes checking for lt_dladvise_preload in -lltdl... yes checking where to find libltdl headers... checking where to find libltdl library... -lltdl checking for unistd.h... (cached) yes checking for dl.h... no checking for sys/dl.h... no checking for dld.h... no checking for mach-o/dyld.h... no checking for dirent.h... yes checking for closedir... yes checking for opendir... yes checking for readdir... yes checking for strlcat... yes checking for strlcpy... yes checking for library containing dlopen... (cached) none required checking for dlerror... (cached) yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dld_link in -ldld... (cached) no checking whether to use loadable modules... yes checking what kind of compiler we're using... gcc checking for compiler variant... gcc checking compiler name-version... gcc-12 checking whether compiler accepts -Wall... yes checking whether compiler accepts -Werror=extra... yes checking whether compiler accepts -Werror=no-unused-private-field... no checking whether compiler accepts -Werror=implicit-fallthrough=5... yes checking whether compiler accepts -Werror=pointer-arith... yes checking whether compiler accepts -Werror=write-strings... yes checking whether compiler accepts -Werror=comments... yes checking whether compiler accepts -Werror=shadow... yes checking whether compiler accepts -Werror=missing-declarations... yes checking whether compiler accepts -Werror=overloaded-virtual... yes checking whether compiler requires -Werror -Wno-deprecated-register... no configure: xmalloc stats display: no checking whether linking without -latomic works... yes checking for K32GetProcessMemoryInfo in -lpsapi... no configure: Library 'psapi' support: no (auto) checking for library containing shm_open... none required configure: DiskIO modules built: AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped checking for aio.h... yes checking for aio_read in -lrt... yes configure: Native POSIX AIO support detected. configure: Enabling AIO DiskIO module configure: Enabling Blocking DiskIO module configure: Enabling DiskDaemon DiskIO module checking for pthread_create in -lpthread... yes configure: Enabling DiskThreads DiskIO module configure: Enabling IpcIo DiskIO module configure: Enabling Mmapped DiskIO module configure: IO Modules built: AIO Blocking DiskDaemon DiskThreads IpcIo Mmapped configure: Store modules built: aufs diskd rock ufs configure: Removal policies to build: heap lru configure: Delay pools enabled checking for EXT_LIBECAP... yes checking for libecap/adapter/service.h... yes checking for libecap/adapter/xaction.h... yes checking for libecap/common/area.h... yes checking for libecap/common/body.h... yes checking for libecap/common/delay.h... yes checking for libecap/common/forward.h... yes checking for libecap/common/header.h... yes checking for libecap/common/memory.h... yes checking for libecap/common/message.h... yes checking for libecap/common/name.h... yes checking for libecap/common/named_values.h... yes checking for libecap/common/names.h... yes checking for libecap/common/options.h... yes checking for libecap/common/registry.h... yes checking for libecap/common/version.h... yes checking for libecap/host/host.h... yes checking for libecap/host/xaction.h... yes checking whether -lecap will link... yes configure: Web Cache Coordination Protocol enabled: yes configure: Web Cache Coordination V2 Protocol enabled: yes configure: SNMP support enabled: yes checking for windows.h... no checking for sys/sockio.h... no checking for sys/param.h... yes checking for net/if_arp.h... yes checking for net/route.h... yes checking for net/if_dl.h... no checking for sys/sysctl.h... no checking for struct arpreq.arp_pa... yes configure: EUI (MAC address) controls enabled: yes configure: HTCP support enabled: yes checking for LIBNETTLE... yes checking for nettle/base64.h... yes checking for nettle/md5.h... yes configure: Library 'nettle' support: yes (auto) -lnettle checking for crypt in -lcrypt... yes checking for MD5Init in -lmd5... no checking for LIBGNUTLS... yes checking for gnutls/gnutls.h... yes checking for gnutls/x509.h... yes checking for gnutls/abstract.h... yes configure: Library 'gnutls' support: yes (auto) -lgnutls checking for openssl/asn1.h... yes checking for openssl/bio.h... yes checking for openssl/bn.h... yes checking for openssl/crypto.h... yes checking for openssl/decoder.h... yes checking for openssl/dh.h... yes checking for openssl/err.h... yes checking for openssl/evp.h... yes checking for openssl/lhash.h... yes checking for openssl/md5.h... yes checking for openssl/opensslv.h... yes checking for openssl/rsa.h... yes checking for openssl/ssl.h... yes checking for openssl/x509.h... yes checking for openssl/x509v3.h... yes checking for openssl/engine.h... yes checking for openssl/txt_db.h... yes checking for openssl/pem.h... yes checking for LIBOPENSSL... yes checking for OPENSSL_LH_strhash in -lcrypto... yes checking for EVP_PKEY_get0_RSA in -lcrypto... yes checking for BIO_meth_new in -lcrypto... yes checking for BIO_get_data in -lcrypto... yes checking for BIO_get_init in -lcrypto... yes checking for ASN1_STRING_get0_data in -lcrypto... yes checking for EVP_PKEY_up_ref in -lcrypto... yes checking for X509_STORE_CTX_get0_cert in -lcrypto... yes checking for X509_VERIFY_PARAM_get_depth in -lcrypto... yes checking for X509_STORE_CTX_get0_untrusted in -lcrypto... yes checking for X509_VERIFY_PARAM_set_auth_level in -lcrypto... yes checking for X509_up_ref in -lcrypto... yes checking for X509_chain_up_ref in -lcrypto... yes checking for X509_CRL_up_ref in -lcrypto... yes checking for DH_up_ref in -lcrypto... yes checking for X509_get0_signature in -lcrypto... yes checking for SSL_get0_param in -lcrypto... yes checking for EVP_PKEY_get_default_digest_name in -lcrypto... yes checking for OPENSSL_init_ssl in -lssl... yes checking for SSL_CIPHER_find in -lssl... yes checking for SSL_CTX_set_tmp_rsa_callback in -lssl... no checking for SSL_SESSION_get_id in -lssl... yes checking for SSL_get_client_random in -lssl... yes checking for SSL_SESSION_get_master_key in -lssl... yes checking for TLS_method in -lssl... yes checking for TLS_client_method in -lssl... yes checking for TLS_server_method in -lssl... yes checking for SSL_CTX_get0_certificate in -lssl... yes checking whether SSL_CTX_new and similar openSSL API functions require 'const SSL_METHOD *'"... yes checking whether SSL_get_new_ex_index() dup callback accepts 'const CRYPTO_EX_DATA *'"... no checking whether SSL_CTX_sess_set_get_cb() callback accepts a const ID argument"... yes checking "whether X509_get0_signature() accepts const parameters"... yes checking whether the TXT_DB use OPENSSL_PSTRING data member... yes checking whether the squid workaround for buggy versions of sk_OPENSSL_PSTRING_value should used... no checking whether the workaround for OpenSSL IMPLEMENT_LHASH_ macros should used... yes configure: OpenSSL library support: yes -lssl -lcrypto checking for LIBMIT_KRB5... yes checking for gssapi.h... yes checking for gssapi/gssapi.h... yes checking for gssapi/gssapi_krb5.h... yes checking for gssapi/gssapi_ext.h... yes checking for gssapi/gssapi_generic.h... yes checking for krb5.h... yes checking for com_err.h... yes checking for et/com_err.h... yes checking for profile.h... yes checking for error_message in -lcom_err... yes checking for krb5_get_err_text in -lkrb5... no checking for krb5_get_error_message in -lkrb5... yes checking for krb5_free_error_message in -lkrb5... yes checking for krb5_free_error_string in -lkrb5... no checking whether krb5_kt_free_entry is declared... yes checking for krb5_pac... yes checking for krb5_kt_free_entry in -lkrb5... yes checking for krb5_get_init_creds_keytab in -lkrb5... yes checking for krb5_get_profile in -lkrb5... yes checking for profile_get_integer in -lkrb5... yes checking for profile_release in -lkrb5... yes checking for krb5_get_renewed_creds in -lkrb5... yes checking for krb5_principal_get_realm in -lkrb5... no checking for krb5_get_init_creds_opt_alloc in -lkrb5... yes checking for krb5_get_init_creds_free requires krb5_context... yes checking for gss_map_name_to_any... yes checking for gsskrb5_extract_authz_data_from_sec_context... yes checking for memory cache... yes checking for memory keytab... yes checking for working gssapi... yes checking for spnego support... yes checking for working krb5... yes configure: Library 'mit-krb5' support: yes (auto) -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err configure: Library 'heimdal-krb5' support: no (auto) configure: Library 'gss' support: no (auto) checking for LIBLDAP... yes checking for ldap.h... yes checking for lber.h... yes checking for mozldap/ldap.h... no checking for LDAP... 1 checking for OpenLDAP... 1 checking for Sun LDAP SDK... 0 checking for Mozilla LDAP SDK... 0 checking for LDAP_OPT_DEBUG_LEVEL... 1 checking for LDAP_SCOPE_DEFAULT... 1 checking for LDAP_REBIND_PROC... 1 checking for LDAP_REBINDPROC_CALLBACK... 0 checking for LDAP_REBIND_FUNCTION... 0 checking for LDAP_URL_LUD_SCHEME... 0 checking for ldapssl_client_init in -lldap... no checking for library containing ldap_url_desc2str... -lldap checking for library containing ldap_url_parse... none required checking for library containing ldap_start_tls_s... none required configure: Library 'ldap' support: yes (auto) -lldap -llber checking for LIBSASL... yes checking for sasl/sasl.h... yes checking for sasl.h... no configure: Library 'sasl' support: yes (auto) -lsasl2 checking for LIBSYSTEMD... yes checking for systemd/sd-daemon.h... yes configure: Library 'systemd' support: yes (auto) -lsystemd configure: Forw/Via database enabled: no configure: Cache Digests enabled: yes configure: enabling select syscall for net I/O: auto configure: enabling poll syscall for net I/O: auto checking for sys/event.h... no checking for kqueue... no configure: enabling kqueue for net I/O: no configure: enabling epoll syscall for net I/O: yes checking for library containing epoll_ctl... none required checking for sys/epoll.h... yes checking if epoll works... yes configure: enabling /dev/poll for net I/O: auto checking for ioctl... yes checking for write... yes checking for sys/devpoll.h... no configure: HTTP violations support enabled: yes configure: FreeBSD IPFW-based transparent proxying enabled: no configure: IPF-based transparent proxying requested: no configure: PF-based transparent proxying requested: no configure: NAT lookups via /dev/pf: no configure: Linux Netfilter support requested: yes checking for LIBNETFILTER_CONNTRACK... no checking for libnetfilter_conntrack/libnetfilter_conntrack.h... no checking for libnetfilter_conntrack/libnetfilter_conntrack_tcp.h... no configure: Library 'netfilter-conntrack' support: no (auto) checking size of long... 8 configure: Support for X-Forwarded-For enabled: yes configure: Default hosts file set to: /etc/hosts configure: Authentication support enabled: yes configure: checking auth/basic helpers: DB fake getpwnam LDAP NCSA PAM POP3 RADIUS SASL SMB SMB_LM configure: error: SMB_LM not found in ./src/auth/basic error: Bad exit status from /var/tmp/rpm-tmp.qYLeYB (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qYLeYB (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b2a344b76f5146a3997f57ddd02c98cd -D /var/lib/mock/dist-an23.3-build-482052-74250/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/squid.spec\'\n', 1)] 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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M b2a344b76f5146a3997f57ddd02c98cd -D /var/lib/mock/dist-an23.3-build-482052-74250/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.scatwsh7:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/squid.spec'