Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/gdisk.spec'], shell=FalseprintOutput=Falseuser='mockbuild'nspawn_args=[]timeout=172800chrootPath='/var/lib/mock/module-4ed16bacdadd8f0f-build-9637802-778675/root'uid=1000logger=gid=425env={'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/gdisk.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: s390x Building for target s390x Wrote: /builddir/build/SRPMS/gdisk-1.0.1-3.module_4ed16bac.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/gdisk.spec'], shell=FalseprintOutput=Falseuser='mockbuild'nspawn_args=[]timeout=172800chrootPath='/var/lib/mock/module-4ed16bacdadd8f0f-build-9637802-778675/root'uid=1000logger=gid=425env={'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/gdisk.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: s390x Building for target s390x Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PWE3Z4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gptfdisk-1.0.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/gptfdisk-1.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gptfdisk-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 0644 gdisk_test.sh + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mlFof3 + umask 022 + cd /builddir/build/BUILD + cd gptfdisk-1.0.1 + make 'CXXFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64' g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o crc32.o crc32.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o support.o support.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o guid.o guid.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o gptpart.o gptpart.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o mbrpart.o mbrpart.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o basicmbr.o basicmbr.cc basicmbr.cc: In member function 'uint64_t BasicMBRData::GetFirstSector(int)': basicmbr.cc:1502:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ basicmbr.cc:1504:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return retval; ^~~~~~ basicmbr.cc: In member function 'uint64_t BasicMBRData::GetLength(int)': basicmbr.cc:1514:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ basicmbr.cc:1516:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return retval; ^~~~~~ g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o mbr.o mbr.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o gpt.o gpt.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o bsd.o bsd.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o parttypes.o parttypes.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o attributes.o attributes.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o diskio.o diskio.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o diskio-unix.o diskio-unix.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o cgdisk.o cgdisk.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o gptcurses.o gptcurses.cc g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o cgdisk.o gptcurses.o -luuid -lncursesw -o cgdisk g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o gdisk.o gdisk.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o gpttext.o gpttext.cc g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o gdisk.o gpttext.o -luuid -o gdisk g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o sgdisk.o sgdisk.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o gptcl.o gptcl.cc gptcl.cc: In member function 'int GPTDataCL::DoOptions(int, char**)': gptcl.cc:158:10: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ((WhichWasUsed() == use_mbr) || (WhichWasUsed() == use_bsd)) ^~ gptcl.cc:160:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' sSize = GetBlockSize(); ^~~~~ g++ crc32.o support.o guid.o gptpart.o mbrpart.o basicmbr.o mbr.o gpt.o bsd.o parttypes.o attributes.o diskio.o diskio-unix.o sgdisk.o gptcl.o -luuid -lpopt -o sgdisk g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=zEC12 -mtune=z13 -D_FILE_OFFSET_BITS=64 -c -o fixparts.o fixparts.cc g++ support.o diskio.o diskio-unix.o basicmbr.o mbrpart.o fixparts.o -o fixparts + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xqpNyV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x ++ dirname /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x + cd gptfdisk-1.0.1 + for f in gdisk sgdisk cgdisk fixparts + install -D -p -m 0755 gdisk /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/gdisk + install -D -p -m 0644 gdisk.8 /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/man/man8/gdisk.8 + for f in gdisk sgdisk cgdisk fixparts + install -D -p -m 0755 sgdisk /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/sgdisk + install -D -p -m 0644 sgdisk.8 /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/man/man8/sgdisk.8 + for f in gdisk sgdisk cgdisk fixparts + install -D -p -m 0755 cgdisk /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/cgdisk + install -D -p -m 0644 cgdisk.8 /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/man/man8/cgdisk.8 + for f in gdisk sgdisk cgdisk fixparts + install -D -p -m 0755 fixparts /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/fixparts + install -D -p -m 0644 fixparts.8 /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/man/man8/fixparts.8 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.1-3.module_4ed16bac --unique-debug-suffix -1.0.1-3.module_4ed16bac.s390x --unique-debug-src-base gdisk-1.0.1-3.module_4ed16bac.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gptfdisk-1.0.1 extracting debug info from /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/gdisk extracting debug info from /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/sgdisk extracting debug info from /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/cgdisk extracting debug info from /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/sbin/fixparts /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 791 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: gdisk-1.0.1-3.module_4ed16bac.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PHionf + umask 022 + cd /builddir/build/BUILD + cd gptfdisk-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/doc/gdisk + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/doc/gdisk + cp -pr COPYING /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/doc/gdisk + cp -pr README /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/doc/gdisk + cp -pr gdisk_test.sh /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x/usr/share/doc/gdisk + exit 0 Provides: gdisk = 1.0.1-3.module_4ed16bac gdisk(s390-64) = 1.0.1-3.module_4ed16bac Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2)(64bit) libncursesw.so.6()(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtinfo.so.6()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) rtld(GNU_HASH) Processing files: gdisk-debugsource-1.0.1-3.module_4ed16bac.s390x Provides: gdisk-debugsource = 1.0.1-3.module_4ed16bac gdisk-debugsource(s390-64) = 1.0.1-3.module_4ed16bac Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gdisk-debuginfo-1.0.1-3.module_4ed16bac.s390x Provides: debuginfo(build-id) = 3ef790ced65db715e197d2fd0d80b646c9ad4322 debuginfo(build-id) = 5d7ef102fc51bd78902955a4c43cbc660dbea4fc debuginfo(build-id) = 94c7e162a9f8f8629e36f8955cce61cb3a4fc5ed debuginfo(build-id) = df75ee20d8d51ba5937a8501bd7d6b14a0bf8ab5 gdisk-debuginfo = 1.0.1-3.module_4ed16bac gdisk-debuginfo(s390-64) = 1.0.1-3.module_4ed16bac Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x Wrote: /builddir/build/RPMS/gdisk-1.0.1-3.module_4ed16bac.s390x.rpm Wrote: /builddir/build/RPMS/gdisk-debugsource-1.0.1-3.module_4ed16bac.s390x.rpm Wrote: /builddir/build/RPMS/gdisk-debuginfo-1.0.1-3.module_4ed16bac.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UVp5Ph + umask 022 + cd /builddir/build/BUILD + cd gptfdisk-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gdisk-1.0.1-3.module_4ed16bac.s390x + exit 0 Child return code was: 0