+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/parzip.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.3WOrfN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf parzip-1.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/parzip-1.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd parzip-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xCVopv + umask 022 + cd /builddir/build/BUILD + cd parzip-1.2.0 + export 'CFLAGS=-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='-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=-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='-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 'FFLAGS=-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 -I/usr/lib64/gfortran/modules' + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export 'FCFLAGS=-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 -I/usr/lib64/gfortran/modules' + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + 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' + /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload . riscv64-redhat-linux-gnu The Meson build system Version: 0.44.1 Source dir: /builddir/build/BUILD/parzip-1.2.0 Build dir: /builddir/build/BUILD/parzip-1.2.0/riscv64-redhat-linux-gnu Build type: native build Project name: parzip Native C++ compiler: c++ (gcc 7.3.1) Appending CXXFLAGS from environment: '-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 ' Appending LDFLAGS from environment: '-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' Build machine cpu family: riscv64 Build machine cpu: riscv64 Found pkg-config: /usr/bin/pkg-config (1.4.1) Native dependency zlib found: YES 1.2.11 Native dependency liblzma found: YES 5.2.3 Dependency threads found: YES Dependency gtk+-3.0 found: NO Program unziptest.py found: YES (/builddir/build/BUILD/parzip-1.2.0/src/unziptest.py) Program ziptest.py found: YES (/usr/bin/env python3 /builddir/build/BUILD/parzip-1.2.0/src/ziptest.py) Build targets in project: 3 Found ninja-1.8.2 at /usr/bin/ninja + /usr/bin/ninja -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' [1/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/compress.cpp.o' -MF 'src/parzcore@sta/compress.cpp.o.d' -o 'src/parzcore@sta/compress.cpp.o' -c ../src/compress.cpp [2/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/decompress.cpp.o' -MF 'src/parzcore@sta/decompress.cpp.o.d' -o 'src/parzcore@sta/decompress.cpp.o' -c ../src/decompress.cpp ../src/decompress.cpp: In function 'void {anonymous}::set_unix_permissions(const localheader&, const centralheader&, const string&)': ../src/decompress.cpp:340:10: warning: ignoring return value of 'int chown(const char*, __uid_t, __gid_t)', declared with attribute warn_unused_result [-Wunused-result] chown(fname.c_str(), lh.unix.uid, lh.unix.gid); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [3/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/fileutils.cpp.o' -MF 'src/parzcore@sta/fileutils.cpp.o.d' -o 'src/parzcore@sta/fileutils.cpp.o' -c ../src/fileutils.cpp ../src/fileutils.cpp: In function 'std::vector > {anonymous}::handle_dir_platform(const string&)': ../src/fileutils.cpp:105:35: warning: 'int readdir_r(DIR*, dirent*, dirent**)' is deprecated [-Wdeprecated-declarations] while (readdir_r(dir, cur, &de) == 0 && de) { ^ In file included from /usr/include/features.h:428:0, from /usr/include/c++/7/riscv64-redhat-linux/bits/os_defines.h:39, from /usr/include/c++/7/riscv64-redhat-linux/bits/c++config.h:533, from /usr/include/c++/7/cstdint:38, from ../src/zipdefs.h:20, from ../src/fileutils.h:20, from ../src/fileutils.cpp:18: /usr/include/dirent.h:189:12: note: declared here extern int __REDIRECT (readdir_r, ^ [4/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/utils.cpp.o' -MF 'src/parzcore@sta/utils.cpp.o.d' -o 'src/parzcore@sta/utils.cpp.o' -c ../src/utils.cpp [5/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/file.cpp.o' -MF 'src/parzcore@sta/file.cpp.o.d' -o 'src/parzcore@sta/file.cpp.o' -c ../src/file.cpp [6/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/mmapper.cpp.o' -MF 'src/parzcore@sta/mmapper.cpp.o.d' -o 'src/parzcore@sta/mmapper.cpp.o' -c ../src/mmapper.cpp [7/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/taskcontrol.cpp.o' -MF 'src/parzcore@sta/taskcontrol.cpp.o.d' -o 'src/parzcore@sta/taskcontrol.cpp.o' -c ../src/taskcontrol.cpp [8/14] c++ -Isrc/parunzip@exe -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -pthread -MMD -MQ 'src/parunzip@exe/parunzip.cpp.o' -MF 'src/parunzip@exe/parunzip.cpp.o.d' -o 'src/parunzip@exe/parunzip.cpp.o' -c ../src/parunzip.cpp [9/14] c++ -Isrc/parzip@exe -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -pthread -MMD -MQ 'src/parzip@exe/parzip.cpp.o' -MF 'src/parzip@exe/parzip.cpp.o.d' -o 'src/parzip@exe/parzip.cpp.o' -c ../src/parzip.cpp [10/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/zipcreator.cpp.o' -MF 'src/parzcore@sta/zipcreator.cpp.o.d' -o 'src/parzcore@sta/zipcreator.cpp.o' -c ../src/zipcreator.cpp [11/14] c++ -Isrc/parzcore@sta -Isrc -I../src -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++14 -O2 -g -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 -fPIC -pthread -MMD -MQ 'src/parzcore@sta/zipfile.cpp.o' -MF 'src/parzcore@sta/zipfile.cpp.o.d' -o 'src/parzcore@sta/zipfile.cpp.o' -c ../src/zipfile.cpp [12/14] rm -f src/libparzcore.a && gcc-ar csrD src/libparzcore.a 'src/parzcore@sta/zipfile.cpp.o' 'src/parzcore@sta/compress.cpp.o' 'src/parzcore@sta/decompress.cpp.o' 'src/parzcore@sta/fileutils.cpp.o' 'src/parzcore@sta/utils.cpp.o' 'src/parzcore@sta/file.cpp.o' 'src/parzcore@sta/mmapper.cpp.o' 'src/parzcore@sta/zipcreator.cpp.o' 'src/parzcore@sta/taskcontrol.cpp.o' [13/14] c++ -o src/parzip 'src/parzip@exe/parzip.cpp.o' -Wl,--no-undefined -Wl,--as-needed -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group src/libparzcore.a -pthread -lz -llzma -Wl,--end-group [14/14] c++ -o src/parunzip 'src/parunzip@exe/parunzip.cpp.o' -Wl,--no-undefined -Wl,--as-needed -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group src/libparzcore.a -pthread -lz -llzma -Wl,--end-group + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iv3Ibx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64 + cd parzip-1.2.0 + DESTDIR=/builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64 + /usr/bin/ninja install -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' [0/1] /usr/bin/python3 /usr/bin/meson --internal install /builddir/build/BUILD/parzip-1.2.0/riscv64-redhat-linux-gnu/meson-private/install.dat Installing src/parunzip to /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/bin/parunzip Installing src/parzip to /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/bin/parzip Installing /builddir/build/BUILD/parzip-1.2.0/man/parzip.1 to /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/man/man1 Installing /builddir/build/BUILD/parzip-1.2.0/man/parunzip.1 to /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/man/man1 + /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: parzip-1.2.0-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vC8Cy1 + umask 022 + cd /builddir/build/BUILD + cd parzip-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/doc/parzip + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/doc/parzip + cp -pr README.md /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/doc/parzip + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.AZpc8P + umask 022 + cd /builddir/build/BUILD + cd parzip-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/licenses/parzip + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/licenses/parzip + cp -pr COPYING /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64/usr/share/licenses/parzip + exit 0 Provides: parzip = 1.2.0-4.fc28 parzip(riscv-64) = 1.2.0-4.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) libgcc_s.so.1(GCC_4.3.0)(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(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.11)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.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.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/parzip-1.2.0-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/parzip-1.2.0-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/parzip-1.2.0-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LsLNoW + umask 022 + cd /builddir/build/BUILD + cd parzip-1.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/parzip-1.2.0-4.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