+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/byaccj.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.xy1EOp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf byaccj1.15 + /usr/bin/gzip -dc /builddir/build/SOURCES/byaccj1.15_src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd byaccj1.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -c -x src/Makefile src/Makefile.bcc src/README src/closure.c src/course.y src/defs.h src/error.c src/lalr.c src/lr0.c src/main.c src/mkpar.c src/new_features src/no_warranty src/output.c src/reader.c src/skeleton.c src/symtab.c src/t.y src/tf.y src/tt.y src/verbose.c src/warshall.c src/x.y src/yacc.1 docs/ACKNOWLEDGEMEN docs/tf.y docs/yacc.cat mode of 'src/Makefile' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/Makefile.bcc' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/README' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/closure.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/course.y' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/defs.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/error.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/lalr.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/lr0.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/main.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/mkpar.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/new_features' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/no_warranty' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/output.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/reader.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/skeleton.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/symtab.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/t.y' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/tf.y' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/tt.y' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/verbose.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/warshall.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/x.y' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'src/yacc.1' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'docs/ACKNOWLEDGEMEN' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'docs/tf.y' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of 'docs/yacc.cat' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4||g' src/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.18GTaW + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + pushd src ~/build/BUILD/byaccj1.15/src ~/build/BUILD/byaccj1.15 + make linux '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= gcc -c -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. closure.c -o closure.o gcc -c -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. error.c -o error.o gcc -c -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. lalr.c -o lalr.o gcc -c -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. lr0.c -o lr0.o gcc -c -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. main.c -o main.o main.c: In function 'done': main.c:88:43: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] if (action_file) { fclose(action_file); unlink(action_file_name); } ^~~~~~ unix gcc -c -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. mkpar.c -o mkpar.o mkpar.c: In function 'unused_rules': mkpar.c:176:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (nunused) ^ mkpar.c: In function 'remove_conflicts': mkpar.c:235:21: warning: 'pref' may be used uninitialized in this function [-Wmaybe-uninitialized] pref->suppressed = 2; ~~~~~~~~~~~~~~~~~^~~ gcc -c -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. output.c -o output.o output.c: In function 'output_defines': output.c:846:24: warning: too many arguments for format [-Wformat-extra-args] fprintf(defines_file, "}\n",jclass_name,JAVA_INTERFACE_SUFFIX); ^~~~~ output.c: In function 'output_stored_text': output.c:872:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!lflag) ^ output.c: In function 'output_trailing_text': output.c:1436:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!lflag) ^ output.c: In function 'output_semantic_actions': output.c:1476:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!lflag) ^ gcc -c -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. reader.c -o reader.o reader.c: In function 'copy_text': reader.c:317:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!lflag)/*rwj*/ ^ reader.c: In function 'copy_union': reader.c:448:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!lflag) ^ reader.c: In function 'copy_action': reader.c:1259:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (!lflag)/*rwj*/ ^ reader.c: In function 'mark_symbol': reader.c:1486:9: warning: 'bp' may be used uninitialized in this function [-Wmaybe-uninitialized] bucket *bp; ^~ reader.c: In function 'print_grammar': reader.c:1821:12: warning: 'spacing' may be used uninitialized in this function [-Wmaybe-uninitialized] while (--j >= 0) putc(' ', f); ^ gcc -c -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. skeleton.c -o skeleton.o gcc -c -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. symtab.c -o symtab.o gcc -c -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. verbose.c -o verbose.o verbose.c: In function 'print_conflicts': verbose.c:125:4: warning: 'number' may be used uninitialized in this function [-Wmaybe-uninitialized] fprintf(verbose_file, ^~~~~~~~~~~~~~~~~~~~~ "%d: reduce/reduce conflict (reduce %d, reduce %d) on %s\n", ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ state, number - 2, p->number - 2,symbol_name[symbol]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verbose.c:117:7: warning: 'act' may be used uninitialized in this function [-Wmaybe-uninitialized] if (act == SHIFT) ^ gcc -c -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. warshall.c -o warshall.o gcc -o yacc closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o main.o: In function `create_file_names': /builddir/build/BUILD/byaccj1.15/src/main.c:356: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' done mv yacc yacc.linux + popd ~/build/BUILD/byaccj1.15 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jAFMMK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64 + cd byaccj1.15 + mkdir -p /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64/usr/bin + cp -p src/yacc.linux /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64/usr/bin/byaccj + /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: byaccj-1.15-15.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SgxJTD + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + DOCDIR=/builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64/usr/share/doc/byaccj + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64/usr/share/doc/byaccj + cp -pr docs/ACKNOWLEDGEMEN docs/tf.y docs/yacc.cat /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64/usr/share/doc/byaccj + cp -pr src/README /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64/usr/share/doc/byaccj + exit 0 Provides: byaccj = 0:1.15-15.fc28 byaccj(riscv-64) = 0:1.15-15.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/byaccj-1.15-15.fc28.riscv64 Wrote: /builddir/build/SRPMS/byaccj-1.15-15.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/byaccj-1.15-15.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oXLVSH + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/byaccj-1.15-15.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff