Mock Version: 2.11 Mock Version: 2.11 Mock Version: 2.11 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/cciss_vol_status.spec'], chrootPath='/var/lib/mock/f35-build-28615390-3871019/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/cciss_vol_status.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1626825600 Wrote: /builddir/build/SRPMS/cciss_vol_status-1.12-9.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/cciss_vol_status.spec'], chrootPath='/var/lib/mock/f35-build-28615390-3871019/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/cciss_vol_status.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1626825600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.W2Jd6M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cciss_vol_status-1.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/cciss_vol_status-1.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cciss_vol_status-1.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UgML8B + umask 022 + cd /builddir/build/BUILD + cd cciss_vol_status-1.12 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -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/redhat/redhat-hardened-ld ' + 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 --- ./configure.backup 2017-03-10 22:20:27.000000000 +0000 +++ ./configure 2021-07-21 21:20:17.536903204 +0000 @@ -1813,7 +1813,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/cciss_vol_status-1.12/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/cciss_vol_status-1.12/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 for s390x-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for unistd.h... (cached) yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking scsi/scsi.h usability... yes checking scsi/scsi.h presence... yes checking for scsi/scsi.h... yes checking linux/cciss_ioctl.h usability... yes checking linux/cciss_ioctl.h presence... yes checking for linux/cciss_ioctl.h... yes checking /usr/src/sys/dev/ciss/cissio.h usability... no checking /usr/src/sys/dev/ciss/cissio.h presence... no checking for /usr/src/sys/dev/ciss/cissio.h... no checking for an ANSI C-conforming const... yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for getopt... yes checking for getopt_long... yes checking for memset... yes checking for strerror... yes checking for strstr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j3 make all-am make[1]: Entering directory '/builddir/build/BUILD/cciss_vol_status-1.12' gcc -DHAVE_CONFIG_H -I. -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cciss_vol_status.o cciss_vol_status.c cciss_vol_status.c: In function 'all_same': cciss_vol_status.c:1615:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 1615 | int rc; | ^~ cciss_vol_status.c: In function 'check_one_nonvolatile_cache_status': cciss_vol_status.c:2294:27: warning: unknown conversion type character 'R' in format [-Wformat=] 2294 | printf("%35s: %d% Read / %d% Write\n", "Cache Ratio", cache_config->percent_read_cache, cache_config->percent_write_cache); | ^ cciss_vol_status.c:2294:38: warning: unknown conversion type character 'W' in format [-Wformat=] 2294 | printf("%35s: %d% Read / %d% Write\n", "Cache Ratio", cache_config->percent_read_cache, cache_config->percent_write_cache); | ^ cciss_vol_status.c: In function 'cciss_status': cciss_vol_status.c:1207:21: warning: array subscript 41 is above array bounds of 'char[41]' [-Warray-bounds] 1207 | enclosure_sn[41] = '\0'; | ~~~~~~~~~~~~^~~~ cciss_vol_status.c:1183:14: note: while referencing 'enclosure_sn' 1183 | char enclosure_sn[41]; | ^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from cciss_vol_status.c:32: In function 'strncpy', inlined from 'print_bus_status' at cciss_vol_status.c:1201:2, inlined from 'check_fan_power_temp' at cciss_vol_status.c:2123:4, inlined from 'cciss_status' at cciss_vol_status.c:2701:2: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' accessing between 0 and 16 bytes at offsets 0 and [0, 16] may overlap up to 16 bytes at offset [0, 15] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'print_bus_status' at cciss_vol_status.c:1217:2, inlined from 'check_fan_power_temp' at cciss_vol_status.c:2123:4, inlined from 'cciss_status' at cciss_vol_status.c:2701:2: /usr/include/bits/string_fortified.h:95:10: warning: '__strncpy_chk' accessing between 0 and 40 bytes at offsets 0 and [0, 40] may overlap up to 40 bytes at offset [0, 39] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o cciss_vol_status cciss_vol_status.o In function 'print_bus_status', inlined from 'check_fan_power_temp' at cciss_vol_status.c:2123:4, inlined from 'cciss_status' at cciss_vol_status.c:2701:2: cciss_vol_status.c:1207:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1207 | enclosure_sn[41] = '\0'; | ^ cciss_vol_status.c: In function 'cciss_status': cciss_vol_status.c:1183:14: note: at offset 41 into destination object 'enclosure_sn' of size 41 1183 | char enclosure_sn[41]; | ^ make[1]: Leaving directory '/builddir/build/BUILD/cciss_vol_status-1.12' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.15JdrB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x ++ dirname /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x + cd cciss_vol_status-1.12 + rm -rf /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x + make install DESTDIR=/builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x make[1]: Entering directory '/builddir/build/BUILD/cciss_vol_status-1.12' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/bin' /usr/bin/install -c cciss_vol_status '/builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/share/man/man8' /usr/bin/install -c -m 644 cciss_vol_status.8 '/builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/share/man/man8' make[1]: Leaving directory '/builddir/build/BUILD/cciss_vol_status-1.12' + /usr/bin/find-debuginfo -j3 --strict-build-id -m -i --build-id-seed 1.12-9.fc35 --unique-debug-suffix -1.12-9.fc35.s390x --unique-debug-src-base cciss_vol_status-1.12-9.fc35.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cciss_vol_status-1.12 extracting debug info from /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/bin/cciss_vol_status original debug info size: 140kB, size after compression: 136kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 180 blocks + /usr/lib/rpm/check-buildroot + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: cciss_vol_status-1.12-9.fc35.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WhcgFG + umask 022 + cd /builddir/build/BUILD + cd cciss_vol_status-1.12 + DOCDIR=/builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/share/doc/cciss_vol_status + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/share/doc/cciss_vol_status + cp -pr AUTHORS /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/share/doc/cciss_vol_status + cp -pr ChangeLog /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/share/doc/cciss_vol_status + cp -pr COPYING /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x/usr/share/doc/cciss_vol_status + RPM_EC=0 ++ jobs -p + exit 0 Provides: cciss_vol_status = 1.12-9.fc35 cciss_vol_status(s390-64) = 1.12-9.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: glibc >= 2.33.9000-43.fc35 libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(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) rtld(GNU_HASH) Processing files: cciss_vol_status-debugsource-1.12-9.fc35.s390x Provides: cciss_vol_status-debugsource = 1.12-9.fc35 cciss_vol_status-debugsource(s390-64) = 1.12-9.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cciss_vol_status-debuginfo-1.12-9.fc35.s390x Provides: cciss_vol_status-debuginfo = 1.12-9.fc35 cciss_vol_status-debuginfo(s390-64) = 1.12-9.fc35 debuginfo(build-id) = 2ce936cf402ae8d9c9636ed5fb53098c8bdd7352 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cciss_vol_status-debugsource(s390-64) = 1.12-9.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x Wrote: /builddir/build/RPMS/cciss_vol_status-debugsource-1.12-9.fc35.s390x.rpm Wrote: /builddir/build/RPMS/cciss_vol_status-1.12-9.fc35.s390x.rpm Wrote: /builddir/build/RPMS/cciss_vol_status-debuginfo-1.12-9.fc35.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xpzOYx + umask 022 + cd /builddir/build/BUILD + cd cciss_vol_status-1.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cciss_vol_status-1.12-9.fc35.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0