Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/logrotate.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672980068.629964/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ix84ivcj:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ix84ivcj:/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', '59e8179be1754e5c8bd66996bb6df42e', '-D', '/var/lib/mock/centos-stream-9-s390x-1672980068.629964/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ix84ivcj:/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 --target s390x --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 Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1671494400 Wrote: /builddir/build/SRPMS/logrotate-3.18.0-8.eln_clang_unknown.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/logrotate.spec'], chrootPath='/var/lib/mock/centos-stream-9-s390x-1672980068.629964/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ix84ivcj:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ix84ivcj:/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', 'aab6db57e62c4ecd83d288a84e055cf7', '-D', '/var/lib/mock/centos-stream-9-s390x-1672980068.629964/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ix84ivcj:/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 --target s390x --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 Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1671494400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OCuxml + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf logrotate-3.18.0 + /usr/bin/xz -dc /builddir/build/SOURCES/logrotate-3.18.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd logrotate-3.18.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'logrotate-3.18.0 base' + /usr/bin/cat /builddir/build/SOURCES/0001-logrotate-3.18.0-fix-resource-leaks.patch + /usr/bin/git apply --index --reject - Checking patch logrotate.c... Checking patch config.c... Checking patch logrotate.c... Checking patch config.c... Checking patch config.c... Checking patch logrotate.c... Checking patch logrotate.c... Checking patch logrotate.c... Checking patch config.c... Checking patch config.c... Checking patch logrotate.c... Applied patch logrotate.c cleanly. Applied patch config.c cleanly. Applied patch logrotate.c cleanly. Applied patch config.c cleanly. Applied patch config.c cleanly. Applied patch logrotate.c cleanly. Applied patch logrotate.c cleanly. Applied patch logrotate.c cleanly. Applied patch config.c cleanly. Applied patch config.c cleanly. Applied patch logrotate.c cleanly. + /usr/bin/git commit -q -m 0001-logrotate-3.18.0-fix-resource-leaks.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0002-logrotate-3.18.0-copytruncate-doc.patch + /usr/bin/git apply --index --reject - Checking patch logrotate.8.in... Applied patch logrotate.8.in cleanly. + /usr/bin/git commit -q -m 0002-logrotate-3.18.0-copytruncate-doc.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0003-logrotate-3.18.0-renamecopy-excl.patch + /usr/bin/git apply --index --reject - Checking patch config.c... Checking patch logrotate.8.in... Checking patch test/test-config.24.in... Checking patch test/test-config.58.in... Applied patch config.c cleanly. Applied patch logrotate.8.in cleanly. Applied patch test/test-config.24.in cleanly. Applied patch test/test-config.58.in cleanly. + /usr/bin/git commit -q -m 0003-logrotate-3.18.0-renamecopy-excl.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0004-logrotate-3.18.0-CVE-2022-1348.patch + /usr/bin/git apply --index --reject - Checking patch logrotate.c... Checking patch logrotate.spec.in... Checking patch test/Makefile.am... Checking patch test/test-0087.sh... Checking patch test/test-0092.sh... Checking patch test/test-config.92.in... Checking patch logrotate.c... Checking patch test/test-0048.sh... Checking patch logrotate.c... Applied patch logrotate.c cleanly. Applied patch logrotate.spec.in cleanly. Applied patch test/Makefile.am cleanly. Applied patch test/test-0087.sh cleanly. Applied patch test/test-0092.sh cleanly. Applied patch test/test-config.92.in cleanly. Applied patch logrotate.c cleanly. Applied patch test/test-0048.sh cleanly. Applied patch logrotate.c cleanly. + /usr/bin/git commit -q -m 0004-logrotate-3.18.0-CVE-2022-1348.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0005-logrotate-3.18.0-stricter-config-parser.patch + /usr/bin/git apply --index --reject - Checking patch config.c... Checking patch config.c... Checking patch config.c... Checking patch config.c... Checking patch config.c... Checking patch test/Makefile.am... Checking patch test/test-0102.sh... Checking patch test/test-0103.sh... Checking patch test/test-config.102.in... Checking patch test/test-config.103.in... Checking patch test/Makefile.am... Checking patch test/test-0102.sh... Checking patch test/test-0103.sh... Checking patch test/test-0104.sh... Checking patch test/test-0105.sh... Checking patch test/test-config.104.in... Checking patch test/test-config.105.in... Applied patch config.c cleanly. Applied patch config.c cleanly. Applied patch config.c cleanly. Applied patch config.c cleanly. Applied patch config.c cleanly. Applied patch test/Makefile.am cleanly. Applied patch test/test-0102.sh cleanly. Applied patch test/test-0103.sh cleanly. Applied patch test/test-config.102.in cleanly. Applied patch test/test-config.103.in cleanly. Applied patch test/Makefile.am cleanly. Applied patch test/test-0102.sh cleanly. Applied patch test/test-0103.sh cleanly. Applied patch test/test-0104.sh cleanly. Applied patch test/test-0105.sh cleanly. Applied patch test/test-config.104.in cleanly. Applied patch test/test-config.105.in cleanly. + /usr/bin/git commit -q -m 0005-logrotate-3.18.0-stricter-config-parser.patch --author 'rpm-build ' + cat + git add .gitignore + git commit -m 'update .gitignore' [master eb6bf74] update .gitignore 1 file changed, 3 insertions(+) create mode 100644 .gitignore + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing autoreconf: Leaving directory `.' + git add --all + git commit -m 'force autoreconf' --allow-empty [master d06a144] force autoreconf 3 files changed, 140 insertions(+), 325 deletions(-) + '[' -e /usr/lib/rpm/clang/logrotate-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uoR0OD + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd logrotate-3.18.0 + mkdir build + cd build + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' x ']' ++ find . -type f -name configure -print + '[' 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/redhat/config.sub ']' + /usr/bin/rm -f ../config.sub ++ basename ../config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../config.sub '/usr/lib/rpm/redhat/config.sub' -> '../config.sub' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) ++ basename ../config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../config.guess ++ basename ../config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../config.guess '/usr/lib/rpm/redhat/config.guess' -> '../config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ find . -name ltmain.sh + ../configure --build=s390x-ibm-linux-gnu --host=s390x-ibm-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 --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 thread-safe 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 s390x-ibm-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking whether clang understands -c and -o together... yes checking dependency style of clang... none checking how to run the C preprocessor... clang -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 for s390x-ibm-linux-gnu-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking whether clang understands -c and -o together... (cached) yes checking dependency style of clang... (cached) none checking for struct stat.st_blksize... yes checking for struct stat.st_blocks... yes checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking libgen.h usability... yes checking libgen.h presence... yes 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 madvise... yes checking for qsort... yes checking for secure_getenv... yes checking for strndup... yes checking for strptime... yes checking for utimensat... yes checking for vsyslog... 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.18.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 -j2 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in . make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' clang -DHAVE_CONFIG_H -I. -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o log.o ../log.c make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' clang -DHAVE_CONFIG_H -I. -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o config.o ../config.c make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' clang -DHAVE_CONFIG_H -I. -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 -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -c -o logrotate.o ../logrotate.c make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' ../logrotate.c:1067:17: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] const char *ptr = (const char *) buf; ^ 1 warning generated. make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' clang -Wall -Wconversion -Wdeclaration-after-statement -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -o logrotate config.o log.o logrotate.o -lacl -lselinux -lpopt make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' Making all in test make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build/test' test ../.. = .. || ln -fs ../../test/* . make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build/test' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kOxFIZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x ++ dirname /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd logrotate-3.18.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x 'INSTALL=/usr/bin/install -p' -C build make: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' /usr/bin/make install-recursive make[1]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' Making install in . make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' make[3]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/sbin' /usr/bin/install -p logrotate '/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/man/man5' /usr/bin/install -p -m 644 ../logrotate.conf.5 '/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/man/man8' /usr/bin/install -p -m 644 logrotate.8 '/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' Making install in test make[2]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build/test' make[3]: Entering directory '/builddir/build/BUILD/logrotate-3.18.0/build/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.18.0/build/test' make[2]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build/test' make[1]: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' make: Leaving directory '/builddir/build/BUILD/logrotate-3.18.0/build' + mkdir -p /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/etc/logrotate.d + mkdir -p /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/var/lib/logrotate + install -p -m 644 examples/logrotate.conf /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/etc/ + install -p -m 644 examples/btmp examples/wtmp /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/etc/logrotate.d/ + install -p -m 644 examples/logrotate.service examples/logrotate.timer /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/lib/systemd/system/ + mkdir -p /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/etc/rwtab.d + install -m644 /builddir/build/SOURCES/rwtab /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/etc/rwtab.d/logrotate + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/sbin/logrotate error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/sbin/logrotate built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto Checking for LLVM bitcode artifacts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 3.18.0-8.eln_clang_unknown --unique-debug-suffix -3.18.0-8.eln_clang_unknown.s390x --unique-debug-src-base logrotate-3.18.0-8.eln_clang_unknown.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/logrotate-3.18.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/sbin/logrotate extracting debug info from /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/sbin/logrotate original debug info size: 184kB, size after compression: 180kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 359 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/logrotate-3.18.0-8.eln_clang_unknown.s390x.debug error: write on a pipe with no reader error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/logrotate-3.18.0-8.eln_clang_unknown.s390x.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/sbin/logrotate error: write on a pipe with no reader [ 5c] clang version 15.0.1 (Red Hat 15.0.1-2.el9) /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/lib/debug/usr/sbin/logrotate-3.18.0-8.eln_clang_unknown.s390x.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yYunTp + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd logrotate-3.18.0 + /usr/bin/make -O -j2 V=1 VERBOSE=1 -C build -s check Making check in . Making check in test PASS: test-0002.sh PASS: test-0001.sh PASS: test-0004.sh PASS: test-0003.sh PASS: test-0005.sh PASS: test-0006.sh PASS: test-0008.sh PASS: test-0007.sh PASS: test-0009.sh PASS: test-0010.sh PASS: test-0011.sh PASS: test-0012.sh PASS: test-0013.sh PASS: test-0014.sh PASS: test-0015.sh PASS: test-0016.sh PASS: test-0017.sh PASS: test-0019.sh PASS: test-0018.sh PASS: test-0020.sh PASS: test-0021.sh PASS: test-0022.sh PASS: test-0023.sh PASS: test-0024.sh PASS: test-0025.sh PASS: test-0026.sh PASS: test-0027.sh PASS: test-0028.sh PASS: test-0029.sh PASS: test-0030.sh PASS: test-0031.sh PASS: test-0032.sh PASS: test-0033.sh PASS: test-0034.sh PASS: test-0035.sh PASS: test-0036.sh PASS: test-0037.sh PASS: test-0038.sh PASS: test-0040.sh PASS: test-0039.sh PASS: test-0041.sh PASS: test-0042.sh PASS: test-0043.sh PASS: test-0044.sh PASS: test-0045.sh PASS: test-0046.sh SKIP: test-0047.sh PASS: test-0049.sh PASS: test-0048.sh PASS: test-0051.sh PASS: test-0050.sh PASS: test-0052.sh PASS: test-0053.sh PASS: test-0054.sh PASS: test-0055.sh PASS: test-0057.sh PASS: test-0058.sh PASS: test-0056.sh PASS: test-0059.sh PASS: test-0060.sh PASS: test-0061.sh PASS: test-0062.sh PASS: test-0063.sh PASS: test-0064.sh PASS: test-0065.sh PASS: test-0066.sh PASS: test-0067.sh PASS: test-0069.sh PASS: test-0070.sh PASS: test-0071.sh PASS: test-0072.sh PASS: test-0073.sh PASS: test-0074.sh PASS: test-0075.sh PASS: test-0076.sh PASS: test-0077.sh PASS: test-0078.sh PASS: test-0079.sh PASS: test-0080.sh PASS: test-0081.sh PASS: test-0082.sh PASS: test-0083.sh PASS: test-0084.sh PASS: test-0085.sh PASS: test-0086.sh PASS: test-0087.sh PASS: test-0088.sh PASS: test-0092.sh PASS: test-0100.sh PASS: test-0101.sh PASS: test-0102.sh PASS: test-0103.sh PASS: test-0104.sh PASS: test-0105.sh PASS: test-0068.sh ============================================================================ Testsuite summary for logrotate 3.18.0 ============================================================================ # TOTAL: 95 # PASS: 94 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ + RPM_EC=0 ++ jobs -p + exit 0 Processing files: logrotate-3.18.0-8.eln_clang_unknown.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.obSr6t + umask 022 + cd /builddir/build/BUILD + cd logrotate-3.18.0 + DOCDIR=/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/doc/logrotate + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/doc/logrotate + cp -pr ChangeLog.md /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/doc/logrotate + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hDUls6 + umask 022 + cd /builddir/build/BUILD + cd logrotate-3.18.0 + LICENSEDIR=/builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/licenses/logrotate + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/licenses/logrotate + cp -pr COPYING /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x/usr/share/licenses/logrotate + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(logrotate) = 3.18.0-8.eln_clang_unknown logrotate = 3.18.0-8.eln_clang_unknown logrotate(s390-64) = 3.18.0-8.eln_clang_unknown 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: libacl.so.1()(64bit) libacl.so.1(ACL_1.0)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.2.3)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libselinux.so.1()(64bit) libselinux.so.1(LIBSELINUX_1.0)(64bit) Processing files: logrotate-debugsource-3.18.0-8.eln_clang_unknown.s390x Provides: logrotate-debugsource = 3.18.0-8.eln_clang_unknown logrotate-debugsource(s390-64) = 3.18.0-8.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: logrotate-debuginfo-3.18.0-8.eln_clang_unknown.s390x Provides: debuginfo(build-id) = a9fe4055307eed30135bf0ff946d8ee8d308c7f3 logrotate-debuginfo = 3.18.0-8.eln_clang_unknown logrotate-debuginfo(s390-64) = 3.18.0-8.eln_clang_unknown Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: logrotate-debugsource(s390-64) = 3.18.0-8.eln_clang_unknown Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x Wrote: /builddir/build/RPMS/logrotate-debuginfo-3.18.0-8.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/logrotate-debugsource-3.18.0-8.eln_clang_unknown.s390x.rpm Wrote: /builddir/build/RPMS/logrotate-3.18.0-8.eln_clang_unknown.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CYXkpa + umask 022 + cd /builddir/build/BUILD + cd logrotate-3.18.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/logrotate-3.18.0-8.eln_clang_unknown.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0