+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/pbzip2.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 warning: bogus date in %changelog: Wed Sep 14 2015 Adam Tkac - 1.1.12-1 warning: bogus date in %changelog: Fri Jan 8 2009 Jeff Gilchrist - 1.0.5-1 warning: bogus date in %changelog: Fri Dec 21 2008 Jeff Gilchrist - 1.0.4-1 warning: bogus date in %changelog: Tue Oct 31 2008 Jeff Gilchrist - 1.0.3-1 warning: bogus date in %changelog: Tue Jul 25 2007 Jeff Gilchrist - 1.0.2-1 warning: bogus date in %changelog: Sun Jan 24 2005 Jeff Gilchrist - 0.9-1 warning: bogus date in %changelog: Mon Nov 30 2004 Jeff Gilchrist - 0.8.2-1 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kr8gM8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pbzip2-1.1.12 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/pbzip2-1.1.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pbzip2-1.1.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pbzip2-1.1.12-buildflags.patch):' Patch #0 (pbzip2-1.1.12-buildflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + f=AUTHORS + iconv -f iso-8859-1 -t utf-8 AUTHORS + mv AUTHORS.utf8 AUTHORS + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YKAkam + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.12 + export 'CFLAGS=-fpic -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 ' + CFLAGS='-fpic -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 ' + export 'CXXFLAGS=-fpic -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 ' + CXXFLAGS='-fpic -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 ' + export 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 g++ -fpic -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_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_STACKSIZE_CUSTOMIZATION -pthread -D_POSIX_PTHREAD_SEMANTICS -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld pbzip2.cpp BZ2StreamScanner.cpp ErrorContext.cpp -o pbzip2 -lbz2 -lpthread pbzip2.cpp:1226:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, "pbzip2: *WARNING: Compressed block size is large [%"PRIuMAX" bytes].\n", ^ pbzip2.cpp:1836:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); ^ pbzip2.cpp:2079:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, " Output Size: %"PRIuMAX" bytes\n", (uintmax_t)CompressedSize); ^ pbzip2.cpp:2814:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, "pbzip2: *ERROR: Could not initialize (OutputBuffer); size=%"PRIuMAX"! Aborting...\n", (uintmax_t)size); ^ pbzip2.cpp:4120:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, " Input Size: %"PRIuMAX" bytes\n", (uintmax_t)InFileSize); ^ pbzip2.cpp:4242:22: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf(stderr, "*Warning* Max memory limit increased to %"PRIuMAX" MB to support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU); ^ pbzip2.cpp: In function 'int testCompressedData(char*)': pbzip2.cpp:3015:13: warning: variable 'nread' set but not used [-Wunused-but-set-variable] int bzerr, nread, streamNo; ^~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2ztSA4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64 + cd pbzip2-1.1.12 + rm -rf /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64 + install -D -m755 pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/bin/pbzip2 + install -D -m644 pbzip2.1 /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/share/man/man1/pbzip2.1 + ln -sf ./pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/bin/pbunzip2 + ln -sf ./pbzip2 /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/bin/pbzcat + /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: pbzip2-1.1.12-2.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.K1z5pL + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.12 + DOCDIR=/builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/share/doc/pbzip2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/share/doc/pbzip2 + cp -pr AUTHORS /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/share/doc/pbzip2 + cp -pr ChangeLog /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/share/doc/pbzip2 + cp -pr COPYING /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/share/doc/pbzip2 + cp -pr README /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64/usr/share/doc/pbzip2 + exit 0 Provides: pbzip2 = 1.1.12-2.fc28 pbzip2(riscv-64) = 1.1.12-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) libbz2.so.1()(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) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64 Wrote: /builddir/build/SRPMS/pbzip2-1.1.12-2.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/pbzip2-1.1.12-2.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7seJB4 + umask 022 + cd /builddir/build/BUILD + cd pbzip2-1.1.12 + rm -rf /builddir/build/BUILDROOT/pbzip2-1.1.12-2.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff