+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/gdisk.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Pdg7jF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gptfdisk-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/gptfdisk-1.0.1.tar.gz + /usr/bin/tar -xof - + 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.H5Loqv + 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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64' g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o crc32.o crc32.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o support.o support.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o guid.o guid.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o gptpart.o gptpart.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o mbrpart.o mbrpart.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o mbr.o mbr.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o gpt.o gpt.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o bsd.o bsd.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o parttypes.o parttypes.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o attributes.o attributes.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o diskio.o diskio.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o cgdisk.o cgdisk.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o gdisk.o gdisk.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_FILE_OFFSET_BITS=64 -c -o sgdisk.o sgdisk.cc g++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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.u6ynnC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64 + 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-2.fc28.riscv64/usr/sbin/gdisk + install -D -p -m 0644 gdisk.8 /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/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-2.fc28.riscv64/usr/sbin/sgdisk + install -D -p -m 0644 sgdisk.8 /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/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-2.fc28.riscv64/usr/sbin/cgdisk + install -D -p -m 0644 cgdisk.8 /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/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-2.fc28.riscv64/usr/sbin/fixparts + install -D -p -m 0644 fixparts.8 /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/usr/share/man/man8/fixparts.8 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: gdisk-1.0.1-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bE1Ohy + umask 022 + cd /builddir/build/BUILD + cd gptfdisk-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/usr/share/doc/gdisk + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/usr/share/doc/gdisk + cp -pr COPYING /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/usr/share/doc/gdisk + cp -pr README /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/usr/share/doc/gdisk + cp -pr gdisk_test.sh /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64/usr/share/doc/gdisk + exit 0 Provides: gdisk = 1.0.1-2.fc28 gdisk(riscv-64) = 1.0.1-2.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/gdisk-1.0.1-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/gdisk-1.0.1-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BwEODI + umask 022 + cd /builddir/build/BUILD + cd gptfdisk-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gdisk-1.0.1-2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff