+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/dhex.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.Q0vm5j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dhex_0.68 + /usr/bin/gzip -dc /builddir/build/SOURCES/dhex_0.68.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dhex_0.68 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dhex-0.68-build-fix.patch):' Patch #0 (dhex-0.68-build-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .build-fix --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dBWonl + umask 022 + cd /builddir/build/BUILD + cd dhex_0.68 + make -j4 '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 ' 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc buffers.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc configfile.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc correlation.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc gpl.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gpl.c: In function 'warte': gpl.c:7:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(b,sizeof(b),stdin); ^~~~~~~~~~~~~~~~~~~~~~~~ correlation.c: In function 'find_mindiff': correlation.c:181:9: warning: variable 'match' set but not used [-Wunused-but-set-variable] tInt64 match; ^~~~~ configfile.c: In function 'readconfigfile': configfile.c:193:23: warning: pointer targets in passing argument 2 of 'getcolors' differ in signedness [-Wpointer-sign] getcolors(output,line); ^~~~ configfile.c:77:5: note: expected 'char *' but argument is of type 'unsigned char *' int getcolors(tOutput* output,char* line) ^~~~~~~~~ configfile.c:194:59: warning: pointer targets in passing argument 2 of 'configkeytab' differ in signedness [-Wpointer-sign] keyboardcnt+=(configkeytab((tKeyTab*)output->pKeyTab,line)==0); ^~~~ In file included from configfile.c:9:0: input.h:43:5: note: expected 'char *' but argument is of type 'unsigned char *' int configkeytab(tKeyTab* pKeyTab,char* line); ^~~~~~~~~~~~ configfile.c:182:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&c,sizeof(char),1,f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc hexcalc.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc input.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc machine_type.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc main.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc markers.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 main.c: In function 'parsecommandlineoptions': main.c:217:14: warning: variable 'forward' set but not used [-Wunused-but-set-variable] tBool forward=1; ^~~~~~~ main.c: In function 'main': main.c:516:41: warning: pointer targets in passing argument 3 of 'searchfor' differ in signedness [-Wpointer-sign] if (gosearch1) searchfor(&search1,buf1,&cursorpos1,1); ^ In file included from ui.h:5:0, from main.c:15: search.h:8:7: note: expected 'tUInt64 * {aka long long unsigned int *}' but argument is of type 'tInt64 * {aka long long int *}' tInt8 searchfor(tSearch* search,tBuffer* buf,tUInt64* cursorpos,tBool nextnotprev); ^~~~~~~~~ main.c:517:53: warning: pointer targets in passing argument 3 of 'searchfor' differ in signedness [-Wpointer-sign] if (gosearch2 && diffmode) searchfor(&search2,buf2,&cursorpos2,1); ^ In file included from ui.h:5:0, from main.c:15: search.h:8:7: note: expected 'tUInt64 * {aka long long unsigned int *}' but argument is of type 'tInt64 * {aka long long int *}' tInt8 searchfor(tSearch* search,tBuffer* buf,tUInt64* cursorpos,tBool nextnotprev); ^~~~~~~~~ main.c:621:33: warning: pointer targets in passing argument 3 of 'gotomask' differ in signedness [-Wpointer-sign] if (gotomask(output,markers,&cursorpos1,buf1->baseaddr)==RETOK) ^ In file included from main.c:19:0: markers.h:9:7: note: expected 'tUInt64 * {aka long long unsigned int *}' but argument is of type 'tInt64 * {aka long long int *}' tInt8 gotomask(tOutput* output,tMarkers* markers,tUInt64* cursorpos,tInt64 baseaddr); ^~~~~~~~ main.c:630:37: warning: pointer targets in passing argument 4 of 'searchmask' differ in signedness [-Wpointer-sign] searchmask(output,&search1,buf1,&cursorpos1); ^ In file included from main.c:15:0: ui.h:8:6: note: expected 'tUInt64 * {aka long long unsigned int *}' but argument is of type 'tInt64 * {aka long long int *}' void searchmask(tOutput* output,tSearch* search,tBuffer* buf,tUInt64* cursorpos); ^~~~~~~~~~ main.c:684:30: warning: pointer targets in passing argument 3 of 'searchfor' differ in signedness [-Wpointer-sign] searchfor(&search1,buf1,&cursorpos1,(ch==KEYF3)); // f3: next ^ In file included from ui.h:5:0, from main.c:15: search.h:8:7: note: expected 'tUInt64 * {aka long long unsigned int *}' but argument is of type 'tInt64 * {aka long long int *}' tInt8 searchfor(tSearch* search,tBuffer* buf,tUInt64* cursorpos,tBool nextnotprev); ^~~~~~~~~ markers.c: In function 'parsemarkerfile': markers.c:40:3: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&c,sizeof(char),1,f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc menu.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 menu.c: In function 'MenuInteract': menu.c:222:8: warning: variable 'retval' set but not used [-Wunused-but-set-variable] tInt8 retval; ^~~~~~ gcc output.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc search.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 gcc ui.c -c -I. -D_GNU_SOURCE -D_DEFAULT_SOURCE -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 -std=c99 output.c: In function 'printbuffersingle': output.c:90:9: warning: variable 'charcnt' set but not used [-Wunused-but-set-variable] tInt32 charcnt; ^~~~~~~ output.c: In function 'printbufferdiff': output.c:205:9: warning: variable 'charcnt' set but not used [-Wunused-but-set-variable] tInt32 charcnt; ^~~~~~~ output.c: In function 'printmainmenu': output.c:411:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Goto ", // F1 ^~~~~~~~ output.c:411:1: note: (near initialization for 'menutextsnodiff[0]') output.c:412:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Search", // F2 ^~~~~~~~ output.c:412:1: note: (near initialization for 'menutextsnodiff[1]') output.c:413:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Next ", // F3 ^~~~~~~~ output.c:413:1: note: (near initialization for 'menutextsnodiff[2]') output.c:414:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Prev ", // F4 ^~~~~~~~ output.c:414:1: note: (near initialization for 'menutextsnodiff[3]') output.c:415:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "HexCal", // F5 ^~~~~~~~ output.c:415:1: note: (near initialization for 'menutextsnodiff[4]') output.c:416:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F6 ^~~~~~~~ output.c:416:1: note: (near initialization for 'menutextsnodiff[5]') output.c:417:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F7 ^~~~~~~~ output.c:417:1: note: (near initialization for 'menutextsnodiff[6]') output.c:418:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F8 ^~~~~~~~ output.c:418:1: note: (near initialization for 'menutextsnodiff[7]') output.c:419:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Undo ", // F9 ^~~~~~~~ output.c:419:1: note: (near initialization for 'menutextsnodiff[8]') output.c:420:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Quit "}; // F10 ^~~~~~~~ output.c:420:1: note: (near initialization for 'menutextsnodiff[9]') output.c:423:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F1 ^~~~~~~~ output.c:423:1: note: (near initialization for 'menutextsdiff[0]') output.c:424:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F2 ^~~~~~~~ output.c:424:1: note: (near initialization for 'menutextsdiff[1]') output.c:425:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Next ", // F3 ^~~~~~~~ output.c:425:1: note: (near initialization for 'menutextsdiff[2]') output.c:426:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Prev ", // F4 ^~~~~~~~ output.c:426:1: note: (near initialization for 'menutextsdiff[3]') output.c:427:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "HexCal", // F5 ^~~~~~~~ output.c:427:1: note: (near initialization for 'menutextsdiff[4]') output.c:428:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Corr. ", // F6 ^~~~~~~~ output.c:428:1: note: (near initialization for 'menutextsdiff[5]') output.c:429:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F7 ^~~~~~~~ output.c:429:1: note: (near initialization for 'menutextsdiff[6]') output.c:430:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F8 ^~~~~~~~ output.c:430:1: note: (near initialization for 'menutextsdiff[7]') output.c:431:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] " ", // F9 ^~~~~~~~~ output.c:431:1: note: (near initialization for 'menutextsdiff[8]') output.c:432:1: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "Quit "}; // F10 ^~~~~~~~ output.c:432:1: note: (near initialization for 'menutextsdiff[9]') search.c: In function 'searchfor': search.c:80:11: warning: variable 'firstsearchlogpos' set but not used [-Wunused-but-set-variable] tInt64 firstsearchlogpos; ^~~~~~~~~~~~~~~~~ search.c:93:6: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&c,sizeof(char),1,frlog); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c: In function 'correlationmask': ui.c:194:37: warning: pointer targets in passing argument 4 of 'decinput' differ in signedness [-Wpointer-sign] decinput(output,offsy+4,offsx+22,&correlation->start_mindiff,18); ^ In file included from ui.c:8:0: input.h:39:8: note: expected 'tUInt64 * {aka long long unsigned int *}' but argument is of type 'tInt64 * {aka long long int *}' tInt16 decinput(tOutput* output,tInt16 y,tInt16 x,tUInt64* val,tInt16 len); ^~~~~~~~ gcc -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dhex buffers.o configfile.o correlation.o gpl.o hexcalc.o input.o machine_type.o main.o markers.o menu.o output.o search.o ui.o -lncurses -ltinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OFMWaq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64 + cd dhex_0.68 + install -dD /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/bin /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/man/man5 + make -j4 DESTDIR=/builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64 BINDIR=/usr/bin MANDIR=/usr/share/man install install -Dpm 755 dhex /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/bin install -Dpm 644 dhex.1 /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/man/man1 install -Dpm 644 -t /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/man/man5 dhexrc.5 dhex_markers.5 dhex_searchlog.5 + /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: dhex-0.68-8.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6PulbW + umask 022 + cd /builddir/build/BUILD + cd dhex_0.68 + DOCDIR=/builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/doc/dhex + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/doc/dhex + cp -pr README.txt /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/doc/dhex + cp -pr gpl.txt /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/doc/dhex + cp -pr todo.txt /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64/usr/share/doc/dhex + exit 0 Provides: dhex = 0.68-8.fc28 dhex(riscv-64) = 0.68-8.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) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dhex-0.68-8.fc28.riscv64 Wrote: /builddir/build/SRPMS/dhex-0.68-8.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/dhex-0.68-8.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Cv4hcD + umask 022 + cd /builddir/build/BUILD + cd dhex_0.68 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dhex-0.68-8.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