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/pam_radius.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-258165-24783/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/pam_radius.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/pam_radius-2.0.0-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/pam_radius.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-258165-24783/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/pam_radius.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.Vc3iaS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pam_radius-release_2_0_0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pam_radius-2.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_radius-release_2_0_0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (pam_radius_auth-conffile-location.patch): + echo 'Patch #1 (pam_radius_auth-conffile-location.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/pam_radius_auth.h Hunk #1 succeeded at 113 (offset 16 lines). Patch #2 (radius-conffile-location.patch): + echo 'Patch #2 (radius-conffile-location.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/radius.h Hunk #1 succeeded at 178 (offset -1 lines). Patch #3 (pam_radius_auth-conf-inlinedoc.patch): + echo 'Patch #3 (pam_radius_auth-conf-inlinedoc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file pam_radius_auth.conf Patch #4 (INSTALL-doc.patch): + echo 'Patch #4 (INSTALL-doc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file INSTALL Patch #5 (pam_radius_auth-stop-printing-password.patch): + echo 'Patch #5 (pam_radius_auth-stop-printing-password.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .stop-printing-password --fuzz=0 patching file src/pam_radius_auth.c Patch #6 (pam-radius-auth-ip-conf.patch): + echo 'Patch #6 (pam-radius-auth-ip-conf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .auth-ip-conf --fuzz=0 patching file src/pam_radius_auth.c patching file src/pam_radius_auth.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TxKuXH + 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 pam_radius-release_2_0_0 + '[' '-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 2020-07-22 04:02:24.000000000 +0800 +++ ./configure 2024-08-27 16:41:45.532398696 +0800 @@ -1830,7 +1830,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 + 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 ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-werror configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking target system type... aarch64-opencloudos-linux-gnu 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking whether we are using SUNPro C... no checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking if compiler is clang... no checking for the compiler flag "-Qunused-arguments"... no checking whether byte ordering is bigendian... no checking for inet_aton in -lresolv... yes checking for inet_ntoa in -lnsl... no checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking security/pam_appl.h usability... yes checking security/pam_appl.h presence... yes checking for security/pam_appl.h... yes checking pam/pam_appl.h usability... no checking pam/pam_appl.h presence... no checking for pam/pam_appl.h... no checking for security/pam_modules.h... yes checking for pam/pam_modules.h... no checking for net/if.h... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for snprintf... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for strlcat... yes checking for strlcpy... yes checking for struct in6_addr... yes checking whether byte ordering is bigendian... (cached) no checking for an ANSI C-conforming const... yes checking for the compiler flag "-Wdocumentation"... no checking if building with -DNDEBUG... no configure: creating ./config.status config.status: creating src/config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j8 '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 -Wall -fPIC -Wno-unused-but-set-variable -Wno-strict-aliasing' make[1]: Entering directory '/builddir/build/BUILD/pam_radius-release_2_0_0/src' gcc -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 -Wall -fPIC -Wno-unused-but-set-variable -Wno-strict-aliasing -c pam_radius_auth.c -o pam_radius_auth.o make[1]: Entering directory '/builddir/build/BUILD/pam_radius-release_2_0_0/src' gcc -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 -Wall -fPIC -Wno-unused-but-set-variable -Wno-strict-aliasing -c md5.c -o md5.o make[1]: Leaving directory '/builddir/build/BUILD/pam_radius-release_2_0_0/src' make[1]: Leaving directory '/builddir/build/BUILD/pam_radius-release_2_0_0/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared src/pam_radius_auth.o src/md5.o -lpam -o pam_radius_auth.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IywOnh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64 + cd pam_radius-release_2_0_0 + mkdir -p /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/lib64/security + install -p pam_radius_auth.so /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/lib64/security + mkdir -p /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/etc + install -p pam_radius_auth.conf /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/etc/pam_radius.conf + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.0.0-1.ocs23 --unique-debug-suffix -2.0.0-1.ocs23.aarch64 --unique-debug-src-base pam_radius-2.0.0-1.ocs23.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/pam_radius-release_2_0_0 extracting debug info from /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/lib64/security/pam_radius_auth.so 145 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs *** WARNING: ./etc/pam_radius.conf is executable but has no shebang, removing executable bit + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: pam_radius-2.0.0-1.ocs23.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yCnzNA + umask 022 + cd /builddir/build/BUILD + cd pam_radius-release_2_0_0 + DOCDIR=/builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/usr/share/doc/pam_radius + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/usr/share/doc/pam_radius + cp -pr README.rst /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/usr/share/doc/pam_radius + cp -pr INSTALL /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/usr/share/doc/pam_radius + cp -pr USAGE /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/usr/share/doc/pam_radius + cp -pr LICENSE /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/usr/share/doc/pam_radius + cp -pr Changelog /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64/usr/share/doc/pam_radius + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(pam_radius) = 2.0.0-1.ocs23 pam_radius = 2.0.0-1.ocs23 pam_radius(aarch-64) = 2.0.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.38)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) rtld(GNU_HASH) Processing files: pam_radius-debugsource-2.0.0-1.ocs23.aarch64 Provides: pam_radius-debugsource = 2.0.0-1.ocs23 pam_radius-debugsource(aarch-64) = 2.0.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pam_radius-debuginfo-2.0.0-1.ocs23.aarch64 Provides: debuginfo(build-id) = df08bdbddc8f8a283ea6d0b7c3a7907198cbf0fd pam_radius-debuginfo = 2.0.0-1.ocs23 pam_radius-debuginfo(aarch-64) = 2.0.0-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pam_radius-debugsource(aarch-64) = 2.0.0-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pam_radius-2.0.0-1.ocs23.aarch64 Wrote: /builddir/build/RPMS/pam_radius-debuginfo-2.0.0-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/pam_radius-2.0.0-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/pam_radius-debugsource-2.0.0-1.ocs23.aarch64.rpm Child return code was: 0