+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/safecopy.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: Fri Apr 18 2009 Fabian Affolter - 1.2-2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5wZjHj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf safecopy-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/safecopy-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd safecopy-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lQRAPT + umask 022 + cd /builddir/build/BUILD + cd safecopy-1.7 + 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 CFLAGS + 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 CXXFLAGS + 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 FFLAGS + 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 FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 dependency style of gcc... none checking for library containing strerror... none required checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) 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 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands ----------------------------------------------------------------------- compile configuration completed successfully + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/safecopy-1.7/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"safecopy\" -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -I. -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 -c voidlist.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"safecopy\" -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -I. -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 -c textlist.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"safecopy\" -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -I. -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 -c arglist.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"safecopy\" -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -I. -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 -c lowlevel.c arglist.c: In function 'arglist_freecontent': arglist.c:66:10: warning: variable 'identity' set but not used [-Wunused-but-set-variable] char *identity; ^~~~~~~~ arglist.c: In function 'arglist_addtoknown': arglist.c:89:20: warning: variable 'data' set but not used [-Wunused-but-set-variable] struct argdata *data; ^~~~ arglist.c: In function 'arglist_isinteger': arglist.c:402:21: warning: variable 'isnegative' set but not used [-Wunused-but-set-variable] int t,len,result,isnegative; ^~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"safecopy\" -DVERSION=\"1.7\" -DSTDC_HEADERS=1 -I. -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 -c safecopy.c safecopy.c: In function 'usage': safecopy.c:263:20: warning: unknown escape sequence: '\-' fprintf(printout, " Default: none, 0 if \-I is specified\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c: In function 'main': safecopy.c:889:46: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type '__blksize_t {aka int}' [-Wformat=] fprintf(stdout, "Reported hw blocksize: %lu\n", filestatus.st_blksize); ~~^ ~~~~~~~~~~~~~~~~~~~~~ %u safecopy.c: In function 'printpercentage': safecopy.c:386:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, percentage, strlen(percentage)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:388:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, &"\b", 1); ^~~~~~~~~~~~~~~~~~ safecopy.c: In function 'printtimecategory': safecopy.c:427:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, icon, strlen(icon)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:429:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, &"\b", 1); ^~~~~~~~~~~~~~~~~~ safecopy.c: In function 'outputbadblocks': safecopy.c:547:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(bblocksout, textbuffer , strlen( textbuffer )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c: In function 'main': safecopy.c:1408:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &"|/|", 3); ^~~~~~~~~~~~~~~~~~~ safecopy.c:1512:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, statusvars->textbuffer , strlen( statusvars->textbuffer )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:1538:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &"<", 1); ^~~~~~~~~~~~~~~~~ safecopy.c:1550:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, statusvars->textbuffer , strlen( statusvars->textbuffer )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:1551:29: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (configvars->human) write(2, &"\n", 1); ^~~~~~~~~~~~~~~~~~ safecopy.c:1566:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &"_", 1); ^~~~~~~~~~~~~~~~~ safecopy.c:1571:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &".", 1); ^~~~~~~~~~~~~~~~~ safecopy.c:1628:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &">", 1); ^~~~~~~~~~~~~~~~~ safecopy.c:1636:6: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &"!", 1); ^~~~~~~~~~~~~~~~~ safecopy.c:1652:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, statusvars->textbuffer , strlen( statusvars->textbuffer )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:1663:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, &"X", 1); ^~~~~~~~~~~~~~~~~ safecopy.c:1699:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(statusvars->source, statusvars->databuffer , statusvars->blocksize ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:1707:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(statusvars->source, statusvars->databuffer , statusvars->blocksize ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:1741:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(1, statusvars->textbuffer , strlen( statusvars->textbuffer )); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ safecopy.c:1742:26: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] if (configvars->human) write(2, &"\n", 1); ^~~~~~~~~~~~~~~~~~ gcc -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 -o safecopy voidlist.o textlist.o arglist.o lowlevel.o safecopy.o make[1]: Leaving directory '/builddir/build/BUILD/safecopy-1.7/src' make[1]: Entering directory '/builddir/build/BUILD/safecopy-1.7' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/builddir/build/BUILD/safecopy-1.7' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WdYCbJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 + cd safecopy-1.7 + rm -rf /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/safecopy-1.7/src' make[2]: Entering directory '/builddir/build/BUILD/safecopy-1.7/src' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/bin" install -p safecopy '/builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/bin' test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/man/man1" install -p -m 644 safecopy.1 '/builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/safecopy-1.7/src' make[1]: Leaving directory '/builddir/build/BUILD/safecopy-1.7/src' make[1]: Entering directory '/builddir/build/BUILD/safecopy-1.7' make[2]: Entering directory '/builddir/build/BUILD/safecopy-1.7' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/safecopy-1.7' make[1]: Leaving directory '/builddir/build/BUILD/safecopy-1.7' + /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: safecopy-1.7-11.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3gb7TE + umask 022 + cd /builddir/build/BUILD + cd safecopy-1.7 + DOCDIR=/builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/doc/safecopy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/doc/safecopy + cp -pr AUTHORS /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/doc/safecopy + cp -pr ChangeLog /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/doc/safecopy + cp -pr COPYING /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/doc/safecopy + cp -pr NEWS /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/doc/safecopy + cp -pr README /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64/usr/share/doc/safecopy + exit 0 Provides: safecopy = 1.7-11.fc28 safecopy(riscv-64) = 1.7-11.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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 Wrote: /builddir/build/SRPMS/safecopy-1.7-11.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/safecopy-1.7-11.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FPTtm7 + umask 022 + cd /builddir/build/BUILD + cd safecopy-1.7 + rm -rf /builddir/build/BUILDROOT/safecopy-1.7-11.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff