+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/xbiso.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.Ulze1g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xbiso-0.6.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/xbiso-0.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd xbiso-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xbiso-0.6.1-destdir.patch):' Patch #0 (xbiso-0.6.1-destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.in + echo 'Patch #1 (xbiso-0.6.1-ftplib4.patch):' Patch #1 (xbiso-0.6.1-ftplib4.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ftplib4 --fuzz=0 patching file xbiso.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.R3Pj4q + umask 022 + cd /builddir/build/BUILD + cd xbiso-0.6.1 + 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 riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 main in -lftp... yes checking for ceil in -lm... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for working alloca.h... yes checking for alloca... yes checking for mkdir... yes checking for strdup... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + make -j4 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 -o xbiso xbiso.c -DUSE_FTP -lftp -lm xbiso.c: In function 'main': xbiso.c:257:3: warning: implicit declaration of function 'handlefile' [-Wimplicit-function-declaration] handlefile((OFFT)dtable*2048, dtable); ^~~~~~~~~~ xbiso.c:101:8: warning: unused variable 'cpos' [-Wunused-variable] OFFT cpos; ^~~~ xbiso.c:100:7: warning: unused variable 'diri' [-Wunused-variable] int diri=0,ret; ^~~~ xbiso.c:99:16: warning: variable 'dtablesize' set but not used [-Wunused-but-set-variable] long dtable, dtablesize; ^~~~~~~~~~ xbiso.c: At top level: xbiso.c:272:1: warning: return type defaults to 'int' [-Wimplicit-int] handlefile(OFFT offset, int dtable) { ^~~~~~~~~~ xbiso.c: In function 'handlefile': xbiso.c:321:48: warning: format '%i' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] printf("ltable offset: %i\nrtable offset: %i\nsector: %li\nfilesize: %li\nattributes: 0x%x\nfilename length: %i\nfilename: %s\n\n", dirent.ltable, dirent.rtable, dirent.sector, dirent.size, dirent.attribs, dirent.fnamelen, dirent.fname); ~^ ~~~~~~~~~~~~~ %li xbiso.c: In function 'extract': xbiso.c:457:13: warning: variable 'xbftell' set but not used [-Wunused-but-set-variable] off64_t (*xbftell)(); ^~~~~~~ xbiso.c: In function 'main': xbiso.c:236:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(dbuf); ^~~~~~~~~~~ xbiso.c:243:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 0x14, 1, xiso); //header ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:247:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dtbuf, 1, 4, xiso); //Sector that root directory table resides in ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:249:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dtbuf, 1, 4, xiso); //Size of root directory table in bytes ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:253:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 0x14, 1, xiso); //header tail ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'handlefile': xbiso.c:295:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dtbuf, 1, 2, xiso); //ltable offset from current ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:297:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dtbuf, 1, 2, xiso); //rtable offset from current ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:299:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dtbuf, 1, 4, xiso); //sector of file ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:301:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dtbuf, 1, 4, xiso); //filesize ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:303:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&dirent.attribs, 1, 1, xiso); //file attributes ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:304:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&dirent.fnamelen, 1, 1, xiso); //filename length ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:312:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(dirent.fname, dirent.fnamelen, 1, xiso); //filename ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:328:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(buffer,32,1,xiso); ^~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:359:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^~~~~~~~~~~ xbiso.c:376:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ xbiso.c: In function 'procdir': xbiso.c:423:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(dirent->fname); ^~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'extract': xbiso.c:487:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fbuf, dirent->size, 1, xiso); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:526:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fbuf, BUFFSIZE, 1, xiso); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:540:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(fbuf, rm, 1, xiso); ^~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'procdir': xbiso.c:413:9: warning: 'DefaultNetbuf' may be used uninitialized in this function [-Wmaybe-uninitialized] if (FtpMkdir(dirent->fname, DefaultNetbuf) != 1) err ("Failed to create directory.\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'extract': xbiso.c:474:7: warning: 'DefaultNetbuf' may be used uninitialized in this function [-Wmaybe-uninitialized] FtpAccess(dirent->fname, FTPLIB_FILE_WRITE, FTPLIB_IMAGE, DefaultNetbuf, &nData); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c:547:2: warning: 'outf' may be used uninitialized in this function [-Wmaybe-uninitialized] fwrite(fbuf, rm, 1, outf); ^~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'handlefile': xbiso.c:353:2: warning: 'DefaultNetbuf' may be used uninitialized in this function [-Wmaybe-uninitialized] FtpChdir("..", DefaultNetbuf); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xbiso.c: In function 'main': xbiso.c:266:29: warning: 'pass' may be used uninitialized in this function [-Wmaybe-uninitialized] free(host); free(user); free(pass); free(initdir); ^~~~~~~~~~ xbiso.c:198:10: warning: 'user' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!FtpLogin(user,pass,DefaultNetbuf)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GZpQRA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 + cd xbiso-0.6.1 + rm -rf /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 + mkdir /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64/usr/bin + make DESTDIR=/builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 install install -m 755 xbiso /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64/usr/bin + /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: xbiso-0.6.1-18.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.z0PjUD + umask 022 + cd /builddir/build/BUILD + cd xbiso-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64/usr/share/doc/xbiso + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64/usr/share/doc/xbiso + cp -pr CHANGELOG /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64/usr/share/doc/xbiso + cp -pr LICENSE /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64/usr/share/doc/xbiso + cp -pr README /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64/usr/share/doc/xbiso + exit 0 Provides: xbiso = 0.6.1-18.fc28 xbiso(riscv-64) = 0.6.1-18.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) libftp.so.4()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xbiso-0.6.1-18.fc28.riscv64 Wrote: /builddir/build/SRPMS/xbiso-0.6.1-18.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/xbiso-0.6.1-18.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zRJ4Dn + umask 022 + cd /builddir/build/BUILD + cd xbiso-0.6.1 + rm -rf /builddir/build/BUILDROOT/xbiso-0.6.1-18.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