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/squid.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-297746-29053/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/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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/squid-6.5-8.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/squid.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-297746-29053/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/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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E6g2la + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf squid-6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/squid-6.5.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd squid-6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/SQUID-2023_10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/SQUID-2023_11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/SQUID-2024_1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-37894.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/squid-4.0.11-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/squid-3.1.0.9-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.0J2f2A + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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-6.5 + '[' '-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 2023-11-06 12:32:33.000000000 +0800 +++ ./configure 2024-10-31 10:47:43.930761722 +0800 @@ -2474,7 +2474,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. */ @@ -2716,7 +2716,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 2024-10-31 10:47:43.930761722 +0800 +++ ./configure 2024-10-31 10:47:43.974761959 +0800 @@ -11703,7 +11703,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'" @@ -57108,7 +57108,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 2023-11-06 12:33:07.000000000 +0800 +++ ./libltdl/configure 2024-10-31 10:47:44.002762109 +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 2024-10-31 10:47:44.002762109 +0800 +++ ./libltdl/configure 2024-10-31 10:47:44.022762217 +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'" @@ -14877,7 +14877,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/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./cfgaux/config.sub ++ basename ./cfgaux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./cfgaux/config.sub '/usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./cfgaux/config.guess ++ basename ./cfgaux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./cfgaux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './cfgaux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-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/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./cfgaux/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 --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 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 '981' 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-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking simplified host os... linux (version ) checking for aarch64-opencloudos-linux-gnu-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: auto checking whether compiler accepts -march=native... yes checking whether g++ supports C++17 features with -std=c++17... yes checking for aarch64-opencloudos-linux-gnu-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-opencloudos-linux-gnu-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: yes 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-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-opencloudos-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-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... /usr/bin/ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 11709: -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-opencloudos-linux-gnu-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... yes 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... no 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 for dlopen in -ldl... yes checking whether linking without -latomic works... yes 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 LIBEXPAT... yes checking for expat.h... yes checking for LIBXML2... yes checking for libxml/parser.h... yes checking for libxml/HTMLparser.h... yes checking for libxml/HTMLtree.h... yes configure: Enabling ESI processor: -lexpat -lxml2 configure: Web Cache Coordination Protocol enabled: yes configure: Web Cache Coordination V2 Protocol enabled: yes configure: SNMP support enabled: yes configure: Cachemgr default hostname set to localhost 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 configure: EUI (MAC address) controls enabled: yes configure: HTCP support enabled: yes checking for LIBNETTLE... no checking for nettle_md5_init in -lnettle... no checking for nettle/base64.h... no checking for nettle/md5.h... no checking for nettle/base64.h... (cached) no checking for Nettle 3.4 API compatibility... no configure: Library nettle not found. configure: Using Nettle cryptographic library: yes checking for crypt in -lcrypt... yes checking for MD5Init in -lmd5... no checking for LIBGNUTLS... no checking for gnutls_pcert_export_x509 in -lgnutls... no checking for gnutls/gnutls.h... no checking for gnutls/x509.h... no checking for gnutls/abstract.h... no configure: GnuTLS library support: no configure: OpenSSL library support: no checking for LIB_KRB5... yes configure: Try to find Kerberos headers in given path checking for gssapi.h... yes checking for gssapi/gssapi.h... yes checking for gssapi/gssapi_krb5.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_max_time_skew in -lkrb5... no 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: MIT Kerberos library support: yes -lkrb5 -lk5crypto -lcom_err -lgssapi_krb5 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 checking for LIBSYSTEMD... yes checking for systemd/sd-daemon.h... yes configure: systemd library support: -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 configure: Linux Netfilter Conntrack support requested: auto checking for library containing nfct_query... no checking for libnetfilter_conntrack/libnetfilter_conntrack.h... no checking for libnetfilter_conntrack/libnetfilter_conntrack_tcp.h... no checking size of long... 8 configure: Support for X-Forwarded-For enabled: yes configure: Support for Ident lookups 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 checking for pwd.h... yes checking for crypt... yes checking for unistd.h... (cached) yes checking for crypt.h... yes checking for shadow.h... yes checking for ldap.h... (cached) yes checking for winldap.h... no checking for crypt... (cached) yes checking for security/pam_appl.h... yes checking for PAM conversation struct signature type... linux checking for sasl/sasl.h... yes checking for sasl.h... no checking for sasl_errstring in -lsasl2... yes checking for smbclient... no configure: WARNING: Samba smbclient not found in default location. basic_smb_auth may not work on this machine checking for w32api/windows.h... no checking for windows.h... (cached) no configure: auth/basic helpers to be built: DB fake getpwnam LDAP NCSA PAM POP3 RADIUS SASL SMB SMB_LM configure: checking auth/digest helpers: file LDAP checking for ldap.h... (cached) yes checking for winldap.h... (cached) no configure: auth/digest helpers to be built: file LDAP configure: checking auth/negotiate helpers: kerberos configure: auth/negotiate helpers to be built: kerberos configure: checking auth/ntlm helpers: SMB_LM fake checking for w32api/windows.h... (cached) no checking for windows.h... (cached) no configure: auth/ntlm helpers to be built: SMB_LM fake checking for machine/byte_swap.h... no checking for sys/bswap.h... no checking for endian.h... yes checking for sys/endian.h... no checking for bswap_16... no checking for bswap16... no checking for bswap_32... no checking for bswap32... no checking for htole16... no checking for __htole16... no checking for htole32... no checking for __htole32... no checking for le16toh... no checking for __le16toh... no checking for le32toh... no checking for __le32toh... no configure: checking log helpers: DB file configure: log helpers to be built: DB file configure: checking acl/external helpers: LDAP_group time_quota session unix_group wbinfo_group kerberos_ldap_group checking for ldap.h... (cached) yes checking for winldap.h... (cached) no checking for LIBTDB... yes checking for sys/stat.h... (cached) yes checking for tdb.h... yes configure: Samba TrivialDB library support: auto -ltdb checking for LIBTDB... yes checking for sys/stat.h... (cached) yes checking for tdb.h... (cached) yes configure: Samba TrivialDB library support: auto -ltdb checking for pwd.h... (cached) yes checking for wbinfo... no configure: WARNING: Samba wbinfo not found in default location. ext_wbinfo_group_acl may not work on this machine checking for sasl/sasl.h... (cached) yes checking for sasl.h... (cached) no checking for sasl_errstring in -lsasl2... (cached) yes configure: acl/external helpers to be built: LDAP_group time_quota session unix_group wbinfo_group kerberos_ldap_group configure: checking http/url_rewriters helpers: LFS fake configure: http/url_rewriters helpers to be built: LFS fake configure: checking security/cert_validators helpers: fake configure: security/cert_validators helpers to be built: fake configure: checking security/cert_generators helpers: file configure: helper security/cert_generators/file ... found but cannot be built configure: security/cert_generators helpers to be built: configure: error: You need TLS gatewaying support to enable ssl-crtd feature. Try to use --with-openssl. error: Bad exit status from /var/tmp/rpm-tmp.0J2f2A (%build) Bad exit status from /var/tmp/rpm-tmp.0J2f2A (%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/squid.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/squid.spec