Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/f33-build-302646-56999/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/byaccj.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/byaccj-1.15-22.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/f33-build-302646-56999/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/byaccj.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uzdXo1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf byaccj1.15 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/byaccj1.15_src.tar.gz + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fZcby0 + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + pushd src ~/build/BUILD/byaccj1.15/src ~/build/BUILD/byaccj1.15 + make yacc 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' LDFLAGS= gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. closure.c -o closure.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. error.c -o error.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. lalr.c -o lalr.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. lr0.c -o lr0.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. main.c -o main.o main.c: In function 'done': main.c:88:43: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 88 | if (action_file) { fclose(action_file); unlink(action_file_name); } | ^~~~~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 176 | if (nunused) | ^ mkpar.c: In function 'remove_conflicts': mkpar.c:235:21: warning: 'pref' may be used uninitialized in this function [-Wmaybe-uninitialized] 235 | pref->suppressed = 2; | ~~~~~~~~~~~~~~~~~^~~ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 846 | 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] 872 | if (!lflag) | ^ output.c: In function 'output_trailing_text': output.c:1436:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1436 | if (!lflag) | ^ output.c: In function 'output_semantic_actions': output.c:1476:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1476 | if (!lflag) | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 317 | if (!lflag)/*rwj*/ | ^ reader.c: In function 'copy_union': reader.c:448:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 448 | if (!lflag) | ^ reader.c: In function 'copy_action': reader.c:1259:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1259 | if (!lflag)/*rwj*/ | ^ reader.c: In function 'mark_symbol': reader.c:1520:23: warning: 'bp' may be used uninitialized in this function [-Wmaybe-uninitialized] 1520 | rprec[nrules] = bp->prec; | ~~^~~~~~ reader.c: In function 'print_grammar': reader.c:1821:12: warning: 'spacing' may be used uninitialized in this function [-Wmaybe-uninitialized] 1821 | while (--j >= 0) putc(' ', f); | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. skeleton.c -o skeleton.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. symtab.c -o symtab.o gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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] 125 | fprintf(verbose_file, | ^~~~~~~~~~~~~~~~~~~~~ 126 | "%d: reduce/reduce conflict (reduce %d, reduce %d) on %s\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 127 | state, number - 2, p->number - 2,symbol_name[symbol]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ verbose.c:117:7: warning: 'act' may be used uninitialized in this function [-Wmaybe-uninitialized] 117 | if (act == SHIFT) | ^ gcc -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 /usr/bin/ld: /tmp/yacc.Jt7R5X.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/byaccj1.15/src/main.c:356: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' done + popd ~/build/BUILD/byaccj1.15 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oMhrC2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64 + cd byaccj1.15 + install -d -m 755 /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/bin + install -p -m 755 src/yacc /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/bin/byaccj + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.15-22.fc33 --unique-debug-suffix -1.15-22.fc33.riscv64 --unique-debug-src-base byaccj-1.15-22.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/byaccj1.15 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/bin/byaccj extracting debug info from /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/bin/byaccj original debug info size: 1004kB, size after compression: 988kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 329 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: byaccj-1.15-22.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.B88QR3 + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + DOCDIR=/builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/share/doc/byaccj + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/share/doc/byaccj + cp -pr docs/ACKNOWLEDGEMEN docs/tf.y docs/yacc.cat /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/share/doc/byaccj + cp -pr src/README /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64/usr/share/doc/byaccj + RPM_EC=0 ++ jobs -p + exit 0 Provides: byaccj = 0:1.15-22.fc33 byaccj(riscv-64) = 0:1.15-22.fc33 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) Processing files: byaccj-debugsource-1.15-22.fc33.riscv64 Provides: byaccj-debugsource = 0:1.15-22.fc33 byaccj-debugsource(riscv-64) = 0:1.15-22.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: byaccj-debuginfo-1.15-22.fc33.riscv64 Provides: byaccj-debuginfo = 0:1.15-22.fc33 byaccj-debuginfo(riscv-64) = 0:1.15-22.fc33 debuginfo(build-id) = 23fe3564368974b9727d8e50095b435193039dd3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: byaccj-debugsource(riscv-64) = 0:1.15-22.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64 Wrote: /builddir/build/RPMS/byaccj-1.15-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/byaccj-debugsource-1.15-22.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/byaccj-debuginfo-1.15-22.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dE5ux4 + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/byaccj-1.15-22.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0