Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/logrotate.spec'], chrootPath='/var/lib/mock/dist-an23-build-262747-63919/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684108800 Wrote: /builddir/build/SRPMS/logrotate-3.21.0-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/logrotate.spec'], chrootPath='/var/lib/mock/dist-an23-build-262747-63919/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1684108800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x9oDYS + 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 . + echo 'Patch #0 (logrotate-3.21.0-use-zstd-by-default.patch):' 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 test/test-0108.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tLQmdt + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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=x86_64-Anolis-linux --host=x86_64-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 --with-compress-command=/usr/bin/zstd --with-uncompress-command=/usr/bin/unzstd --with-compress-extension=.zstd 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 x86_64-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 x86_64-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... x86_64-Anolis-linux-gnu checking host system type... x86_64-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: /usr/bin/zstd uncompress command: /usr/bin/unzstd compress extension: .zstd statefile path: /var/lib/logrotate/logrotate.status + /usr/bin/make -O -j64 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.fdiErq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-2.an23.x86_64 '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-2.an23.x86_64/usr/sbin' /usr/bin/install -p logrotate '/builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/share/man/man5' /usr/bin/install -p -m 644 logrotate.conf.5 '/builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/share/man/man8' /usr/bin/install -p -m 644 logrotate.8 '/builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/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-2.an23.x86_64/etc/logrotate.d + mkdir -p /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/var/lib/logrotate + install -p -m 644 examples/logrotate.conf /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/etc/ + install -p -m 644 examples/btmp examples/wtmp /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/etc/logrotate.d/ + install -p -m 644 examples/logrotate.service examples/logrotate.timer /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/lib/systemd/system/ + /usr/lib/rpm/anolis/generate-compatibility-deps logrotate ~/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 ~/build/BUILD/logrotate-3.21.0 ~/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 ~/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/lib/compatibility/logrotate ~/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 ~/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/lib/compatibility/logrotate ~/build/BUILD/logrotate-3.21.0 + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 3.21.0-2.an23 --unique-debug-suffix -3.21.0-2.an23.x86_64 --unique-debug-src-base logrotate-3.21.0-2.an23.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/logrotate-3.21.0 extracting debug info from /builddir/build/BUILDROOT/logrotate-3.21.0-2.an23.x86_64/usr/sbin/logrotate Support for debuginfod is not compiled into GDB. original debug info size: 212kB, size after compression: 200kB /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.nza3qu + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j64 V=1 VERBOSE=1 -s check Making check in . Making check in test SKIP: test-0047.sh PASS: test-0022.sh PASS: test-0040.sh PASS: test-0020.sh PASS: test-0019.sh PASS: test-0025.sh PASS: test-0034.sh PASS: test-0051.sh PASS: test-0023.sh PASS: test-0029.sh PASS: test-0036.sh PASS: test-0017.sh PASS: test-0012.sh PASS: test-0024.sh PASS: test-0002.sh PASS: test-0016.sh PASS: test-0030.sh PASS: test-0059.sh PASS: test-0014.sh PASS: test-0045.sh PASS: test-0026.sh PASS: test-0028.sh PASS: test-0031.sh PASS: test-0027.sh PASS: test-0053.sh PASS: test-0009.sh PASS: test-0035.sh PASS: test-0008.sh PASS: test-0018.sh PASS: test-0046.sh PASS: test-0049.sh PASS: test-0064.sh PASS: test-0033.sh PASS: test-0058.sh PASS: test-0011.sh PASS: test-0057.sh PASS: test-0015.sh PASS: test-0032.sh PASS: test-0021.sh PASS: test-0004.sh PASS: test-0060.sh PASS: test-0037.sh PASS: test-0041.sh PASS: test-0048.sh PASS: test-0061.sh PASS: test-0013.sh PASS: test-0044.sh PASS: test-0052.sh PASS: test-0065.sh PASS: test-0067.sh PASS: test-0007.sh PASS: test-0006.sh PASS: test-0043.sh PASS: test-0005.sh PASS: test-0080.sh PASS: test-0066.sh PASS: test-0062.sh PASS: test-0010.sh PASS: test-0063.sh PASS: test-0050.sh PASS: test-0042.sh PASS: test-0084.sh PASS: test-0038.sh PASS: test-0081.sh PASS: test-0083.sh PASS: test-0039.sh PASS: test-0089.sh PASS: test-0079.sh PASS: test-0088.sh PASS: test-0090.sh PASS: test-0001.sh PASS: test-0074.sh PASS: test-0078.sh PASS: test-0069.sh PASS: test-0102.sh PASS: test-0071.sh PASS: test-0092.sh PASS: test-0077.sh PASS: test-0076.sh PASS: test-0103.sh PASS: test-0091.sh PASS: test-0101.sh PASS: test-0100.sh PASS: test-0075.sh PASS: test-0073.sh PASS: test-0106.sh PASS: test-0003.sh PASS: test-0085.sh FAIL: test-0108.sh PASS: test-0086.sh PASS: test-0104.sh PASS: test-0107.sh PASS: test-0072.sh PASS: test-0105.sh PASS: test-0070.sh PASS: test-0055.sh PASS: test-0054.sh PASS: test-0056.sh PASS: test-0082.sh PASS: test-0087.sh PASS: test-0093.sh PASS: test-0068.sh =========================================== logrotate 3.21.0: test/test-suite.log =========================================== # TOTAL: 102 # PASS: 100 # SKIP: 1 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 SKIP: test-0047.sh ================== Running test 47 SELinux disabled. SELinux tests will not be executed. Skipping SELinux test 47 SKIP test-0047.sh (exit status: 77) FAIL: test-0108.sh ================== Running test 108 reading config file test-config.108 Creating stub state file: state acquired lock on state file stateReading state from file: state Allocating hash table for state file, size 64 entries Handling 1 logs rotating pattern: /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log forced from command line (1 rotations) empty log files are rotated, old logs are removed considering log /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log Creating new state Now: 2023-05-15 14:11 Last rotated at 2023-05-15 14:00 log needs rotating rotating log /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log, log->rotateCount is 1 dateext suffix '-20230515' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' renaming /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log.1.zstd to /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log.2.zstd (rotatecount 1, logstart 1, i 1), old log /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log.1.zstd does not exist log /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log.2.zstd doesn't exist -- won't try to dispose of it renaming /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log to /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log.1 creating new /builddir/build/BUILD/logrotate-3.21.0/test/test-0108/test.log mode = 0644 uid = 989 gid = 135 compressing log with: /usr/bin/zstd gzip: test.log.1.zstd: not in gzip format file test.log.1.zstd does not contain expected results (compressed 1, args zero) contains: '' expected: 'zero' FAIL test-0108.sh (exit status: 2) ============================================================================ Testsuite summary for logrotate 3.21.0 ============================================================================ # TOTAL: 102 # PASS: 100 # SKIP: 1 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See test/test-suite.log ============================================================================ make[4]: *** [Makefile:609: test-suite.log] Error 1 make[3]: *** [Makefile:717: check-TESTS] Error 2 make[2]: *** [Makefile:1496: check-am] Error 2 make[1]: *** [Makefile:637: check-recursive] Error 1 make: *** [Makefile:936: check] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.nza3qu (%check) Bad exit status from /var/tmp/rpm-tmp.nza3qu (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/logrotate.spec