+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/hexer.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.T7v6pv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hexer-0.2.3 + /usr/bin/xz -dc /builddir/build/SOURCES/hexer-0.2.3.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hexer-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pAUKcC + umask 022 + cd /builddir/build/BUILD + cd hexer-0.2.3 + 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 ' + make -j4 cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o buffer.o buffer.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o tio.o tio.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o edit.o edit.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o main.o main.c In file included from main.c:70:0: readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] extern char **(*completer)(const char *prefix, const const char *command, ^~~~~ In file included from buffer.c:54:0: buffer.c: In function 'b_copy_forward': buffer.c:396:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(t_block = find_block(buffer, target_position + count - 1)); ^ buffer.c:399:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(s_block = find_block(buffer, source_position)); ^ buffer.c:403:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(s_block = find_block(buffer, source_position + count)); ^ buffer.c:406:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(s_block = find_block(buffer, source_position)); ^ buffer.c:415:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(s_block = find_block(buffer, source_position + count)); ^ buffer.c:420:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(s_block = ^ buffer.c:426:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] assert(s_block = find_block(buffer, source_position + count)); ^ In file included from edit.c:62:0: readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] extern char **(*completer)(const char *prefix, const const char *command, ^~~~~ cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o hexer.o hexer.c In file included from hexer.c:67:0: readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] extern char **(*completer)(const char *prefix, const const char *command, ^~~~~ cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o readline.o readline.c In file included from readline.c:58:0: readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] extern char **(*completer)(const char *prefix, const const char *command, ^~~~~ cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o regex.o regex.c In file included from edit.c:64:0: In function 'realloc_fatal', inlined from 'he_again' at edit.c:658:33, inlined from 'he_command' at edit.c:1199:5: util.h:65:16: warning: argument 2 range [9223372036854775808, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] void * const newp = realloc(p, size); ^~~~ In file included from edit.c:50:0: util.h: In function 'he_command': /usr/include/stdlib.h:549:14: note: in a call to allocation function 'realloc' declared here extern void *realloc (void *__ptr, size_t __size) ^~~~~~~ cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o port.o port.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o exh.o exh.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o set.o set.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o map.o map.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o signal.o signal.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o util.o util.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o commands.o commands.c cc -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -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 bin2c bin2c.c cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o calc.o calc.c ./bin2c -n helptext -o helptext.c help.txt cc -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_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_FILE_OFFSET_BITS=64 -DHEXER_VERSION=\"0.2.3\" -c -o helptext.o helptext.c In file included from calc.c:67:0: readline.h:49:54: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] extern char **(*completer)(const char *prefix, const const char *command, ^~~~~ cc -o hexer buffer.o tio.o edit.o main.o hexer.o readline.o regex.o port.o exh.o set.o map.o signal.o util.o commands.o helptext.o calc.o -lcurses -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.waPhgZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64 + cd hexer-0.2.3 + mkdir -p /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/bin/ + cp -p hexer /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/share/man/man1/ + cp -p hexer.1 /builddir/build/BUILDROOT/hexer-0.2.3-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: hexer-0.2.3-4.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a5RuDK + umask 022 + cd /builddir/build/BUILD + cd hexer-0.2.3 + DOCDIR=/builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/share/doc/hexer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/share/doc/hexer + cp -pr README /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/share/doc/hexer + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.u1UaZO + umask 022 + cd /builddir/build/BUILD + cd hexer-0.2.3 + LICENSEDIR=/builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/share/licenses/hexer + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/share/licenses/hexer + cp -pr COPYRIGHT /builddir/build/BUILDROOT/hexer-0.2.3-4.fc28.riscv64/usr/share/licenses/hexer + exit 0 Provides: hexer = 0.2.3-4.fc28 hexer(riscv-64) = 0.2.3-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) libm.so.6()(64bit) libm.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/hexer-0.2.3-4.fc28.riscv64 Wrote: /builddir/build/SRPMS/hexer-0.2.3-4.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/hexer-0.2.3-4.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8pEw89 + umask 022 + cd /builddir/build/BUILD + cd hexer-0.2.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/hexer-0.2.3-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