Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/logrotate.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-309208-66339/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlf_vnxh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlf_vnxh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '79a4393c51b94488bd58f9cbfa24abb6', '-D', '/var/lib/mock/dist-an23-loongarch-build-309208-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlf_vnxh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--console=pipe', '--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 loongarch64 --nodeps /builddir/build/SPECS/logrotate.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1684281600 Wrote: /builddir/build/SRPMS/logrotate-3.21.0-3.an23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/logrotate.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-309208-66339/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=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlf_vnxh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlf_vnxh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '5fc8e016ad5b4711981f3a4905ef438f', '-D', '/var/lib/mock/dist-an23-loongarch-build-309208-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.vlf_vnxh:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '--console=pipe', '--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 loongarch64 --nodeps /builddir/build/SPECS/logrotate.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: loongarch64 Building for target loongarch64 setting SOURCE_DATE_EPOCH=1684281600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cmbXry + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf logrotate-3.21.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/logrotate-3.21.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd logrotate-3.21.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (logrotate-3.21.0-use-zstd-by-default.patch): + echo 'Patch #0 (logrotate-3.21.0-use-zstd-by-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file logrotate.8 patching file logrotate.8.in patching file examples/logrotate.conf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZXkE4I + 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 -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 -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 -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 -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 logrotate-3.21.0 + 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 -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 -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 -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 -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 + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./config.guess '/usr/lib/rpm/anolis/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./config.sub '/usr/lib/rpm/anolis/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name 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 . + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-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 --with-state-file-path=/var/lib/logrotate/logrotate.status 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 make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) checking for loongarch64-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 dependency style of gcc... 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 checking for loongarch64-Anolis-linux-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking build system type... loongarch64-Anolis-linux-gnu checking host system type... loongarch64-Anolis-linux-gnu checking for uint32_t... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for libgen.h... yes checking for poptParseArgvString in -lpopt... yes checking for getfscreatecon_raw in -lselinux... yes checking for acl_get_file in -lacl... yes checking for asprintf... yes checking for futimens... yes checking for madvise... yes checking for secure_getenv... yes checking for strndup... yes checking for utimensat... yes checking for vsyslog... yes checking for struct stat.st_atim... yes checking for struct stat.st_mtim... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: creating logrotate.8 config.status: creating logrotate.spec config.status: creating config.h config.status: executing depfiles commands logrotate 3.21.0 SELinux support: yes ACL support: yes default mail command: /bin/mail compress command: /bin/gzip uncompress command: /bin/gunzip compress extension: .gz statefile path: /var/lib/logrotate/logrotate.status + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in . make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0' gcc -DHAVE_CONFIG_H -I. -include config.h -Wall -Wconversion -Wdeclaration-after-statement -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o log.o log.c make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0' make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0' gcc -DHAVE_CONFIG_H -I. -include config.h -Wall -Wconversion -Wdeclaration-after-statement -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o logrotate.o logrotate.c make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0' make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0' gcc -DHAVE_CONFIG_H -I. -include config.h -Wall -Wconversion -Wdeclaration-after-statement -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -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 -fasynchronous-unwind-tables -fstack-clash-protection -c -o config.o config.c make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0' make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0' gcc -Wall -Wconversion -Wdeclaration-after-statement -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -o logrotate config.o log.o logrotate.o -lacl -lselinux -lpopt make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0' Making all in test make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0/test' test .. = .. || ln -fs ../test/* . make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0/test' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.T7dxfg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64 ++ dirname /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64 + 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 -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 -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 -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 -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 logrotate-3.21.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64 'INSTALL=/usr/bin/install -p' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0' Making install in . make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0' make[3]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/sbin' /usr/bin/install -p logrotate '/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/man/man5' /usr/bin/install -p -m 644 logrotate.conf.5 '/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/man/man8' /usr/bin/install -p -m 644 logrotate.8 '/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0' make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0' Making install in test make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0/test' make[3]: Entering directory '/builddir/build/BUILD/logrotate-3.21.0/test' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0/test' make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0/test' make[1]: Leaving directory '/builddir/build/BUILD/logrotate-3.21.0' + mkdir -p /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/etc/logrotate.d + mkdir -p /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/var/lib/logrotate + install -p -m 644 examples/logrotate.conf /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/etc/ + install -p -m 644 examples/btmp examples/wtmp /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/etc/logrotate.d/ + install -p -m 644 examples/logrotate.service examples/logrotate.timer /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/lib/systemd/system/ + /usr/lib/rpm/anolis/generate-compatibility-deps logrotate ~/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 ~/build/BUILD/logrotate-3.21.0 ~/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 ~/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/lib/compatibility/logrotate ~/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 ~/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.21.0-3.an23 --unique-debug-suffix -3.21.0-3.an23.loongarch64 --unique-debug-src-base logrotate-3.21.0-3.an23.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/logrotate-3.21.0 extracting debug info from /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/sbin/logrotate original debug info size: 660kB, size after compression: 652kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 372 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EvqrBw + 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 -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 -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 -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 -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 logrotate-3.21.0 + /usr/bin/make -O -j32 V=1 VERBOSE=1 -s check Making check in . Making check in test PASS: test-0020.sh PASS: test-0019.sh PASS: test-0022.sh PASS: test-0002.sh PASS: test-0016.sh PASS: test-0014.sh PASS: test-0012.sh PASS: test-0009.sh PASS: test-0023.sh PASS: test-0024.sh PASS: test-0025.sh PASS: test-0008.sh PASS: test-0028.sh PASS: test-0018.sh PASS: test-0030.sh PASS: test-0031.sh PASS: test-0017.sh PASS: test-0021.sh PASS: test-0013.sh PASS: test-0032.sh PASS: test-0011.sh PASS: test-0010.sh PASS: test-0007.sh PASS: test-0034.sh PASS: test-0015.sh PASS: test-0027.sh PASS: test-0036.sh SKIP: test-0047.sh PASS: test-0029.sh PASS: test-0006.sh PASS: test-0026.sh PASS: test-0040.sh PASS: test-0004.sh PASS: test-0001.sh PASS: test-0035.sh PASS: test-0046.sh PASS: test-0037.sh PASS: test-0045.sh PASS: test-0051.sh PASS: test-0049.sh PASS: test-0005.sh PASS: test-0041.sh PASS: test-0048.sh PASS: test-0038.sh PASS: test-0043.sh PASS: test-0044.sh PASS: test-0053.sh PASS: test-0042.sh PASS: test-0033.sh PASS: test-0058.sh PASS: test-0039.sh PASS: test-0052.sh PASS: test-0057.sh PASS: test-0064.sh PASS: test-0061.sh PASS: test-0065.sh PASS: test-0067.sh PASS: test-0060.sh PASS: test-0066.sh PASS: test-0003.sh PASS: test-0059.sh PASS: test-0062.sh PASS: test-0063.sh PASS: test-0050.sh PASS: test-0069.sh PASS: test-0080.sh PASS: test-0081.sh PASS: test-0079.sh PASS: test-0089.sh PASS: test-0088.sh PASS: test-0083.sh PASS: test-0084.sh PASS: test-0071.sh PASS: test-0090.sh PASS: test-0077.sh PASS: test-0073.sh PASS: test-0074.sh PASS: test-0092.sh PASS: test-0075.sh PASS: test-0078.sh PASS: test-0076.sh PASS: test-0091.sh PASS: test-0085.sh PASS: test-0101.sh PASS: test-0086.sh PASS: test-0100.sh PASS: test-0070.sh PASS: test-0102.sh PASS: test-0103.sh PASS: test-0106.sh PASS: test-0072.sh PASS: test-0107.sh PASS: test-0054.sh PASS: test-0108.sh PASS: test-0104.sh PASS: test-0055.sh PASS: test-0056.sh PASS: test-0105.sh PASS: test-0082.sh PASS: test-0087.sh PASS: test-0093.sh PASS: test-0068.sh ============================================================================ Testsuite summary for logrotate 3.21.0 ============================================================================ # TOTAL: 102 # PASS: 101 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ + RPM_EC=0 ++ jobs -p + exit 0 Processing files: logrotate-3.21.0-3.an23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.k147yQ + umask 022 + cd /builddir/build/BUILD + cd logrotate-3.21.0 + LICENSEDIR=/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/licenses/logrotate + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/licenses/logrotate + cp -pr COPYING /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/licenses/logrotate + RPM_EC=0 ++ jobs -p + exit 0 Provides: api(logrotate) = 3.21.0 config(logrotate) = 3.21.0-3.an23 logrotate = 3.21.0-3.an23 logrotate(loongarch-64) = 3.21.0-3.an23 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libacl.so.1()(64bit) libacl.so.1(ACL_1.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(64bit) rtld(GNU_HASH) Processing files: logrotate-doc-3.21.0-3.an23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ffYPtb + umask 022 + cd /builddir/build/BUILD + cd logrotate-3.21.0 + DOCDIR=/builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/doc/logrotate-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/doc/logrotate-doc + cp -pr ChangeLog.md /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64/usr/share/doc/logrotate-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: logrotate-doc = 3.21.0-3.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: logrotate-debugsource-3.21.0-3.an23.loongarch64 Provides: logrotate-debugsource = 3.21.0-3.an23 logrotate-debugsource(loongarch-64) = 3.21.0-3.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: logrotate-debuginfo-3.21.0-3.an23.loongarch64 Provides: debuginfo(build-id) = 5cb4cfd26dbcf1b97c66e50cc978d7c10c1d4cc6 logrotate-debuginfo = 3.21.0-3.an23 logrotate-debuginfo(loongarch-64) = 3.21.0-3.an23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: logrotate-debugsource(loongarch-64) = 3.21.0-3.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/logrotate-3.21.0-3.an23.loongarch64 Wrote: /builddir/build/RPMS/logrotate-doc-3.21.0-3.an23.noarch.rpm Wrote: /builddir/build/RPMS/logrotate-3.21.0-3.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/logrotate-debuginfo-3.21.0-3.an23.loongarch64.rpm Wrote: /builddir/build/RPMS/logrotate-debugsource-3.21.0-3.an23.loongarch64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0