Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/f29-build-9422-4214/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/byaccj-1.15-17.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/f29-build-9422-4214/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7t6zmZ + 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.qjDzER + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/byaccj1.15/src ~/build/BUILD/byaccj1.15 + cd byaccj1.15 + pushd src + make yacc '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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. main.c -o main.o BUILDSTDERR: main.c: In function 'done': BUILDSTDERR: main.c:88:43: warning: implicit declaration of function 'unlink'; did you mean 'unix'? [-Wimplicit-function-declaration] BUILDSTDERR: if (action_file) { fclose(action_file); unlink(action_file_name); } BUILDSTDERR: ^~~~~~ BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. mkpar.c -o mkpar.o BUILDSTDERR: mkpar.c: In function 'unused_rules': BUILDSTDERR: mkpar.c:176:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (nunused) BUILDSTDERR: ^ BUILDSTDERR: mkpar.c: In function 'remove_conflicts': BUILDSTDERR: mkpar.c:226:21: warning: 'pref' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: pref->suppressed = 2; BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. output.c -o output.o BUILDSTDERR: output.c: In function 'output_defines': BUILDSTDERR: output.c:846:24: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: fprintf(defines_file, "}\n",jclass_name,JAVA_INTERFACE_SUFFIX); BUILDSTDERR: ^~~~~ BUILDSTDERR: output.c: In function 'output_stored_text': BUILDSTDERR: output.c:872:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (!lflag) BUILDSTDERR: ^ BUILDSTDERR: output.c: In function 'output_trailing_text': BUILDSTDERR: output.c:1436:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (!lflag) BUILDSTDERR: ^ BUILDSTDERR: output.c: In function 'output_semantic_actions': BUILDSTDERR: output.c:1476:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (!lflag) BUILDSTDERR: ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. reader.c -o reader.o BUILDSTDERR: reader.c: In function 'copy_text': BUILDSTDERR: reader.c:317:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (!lflag)/*rwj*/ BUILDSTDERR: ^ BUILDSTDERR: reader.c: In function 'copy_union': BUILDSTDERR: reader.c:448:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (!lflag) BUILDSTDERR: ^ BUILDSTDERR: reader.c: In function 'copy_action': BUILDSTDERR: reader.c:1259:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (!lflag)/*rwj*/ BUILDSTDERR: ^ BUILDSTDERR: reader.c: In function 'mark_symbol': BUILDSTDERR: reader.c:1486:9: warning: 'bp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: bucket *bp; BUILDSTDERR: ^~ BUILDSTDERR: reader.c: In function 'print_grammar': BUILDSTDERR: reader.c:1821:12: warning: 'spacing' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: while (--j >= 0) putc(' ', f); BUILDSTDERR: ^ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I. verbose.c -o verbose.o BUILDSTDERR: verbose.c: In function 'print_conflicts': BUILDSTDERR: verbose.c:125:4: warning: 'number' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: fprintf(verbose_file, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: "%d: reduce/reduce conflict (reduce %d, reduce %d) on %s\n", BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: state, number - 2, p->number - 2,symbol_name[symbol]); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: verbose.c:117:7: warning: 'act' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: if (act == SHIFT) BUILDSTDERR: ^ 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 -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 BUILDSTDERR: main.o: In function `create_file_names': BUILDSTDERR: /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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Kgvo8l + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64 + cd byaccj1.15 + install -d -m 755 /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64/usr/bin + install -p -m 755 src/yacc /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64/usr/bin/byaccj + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.15-17.fc29 --unique-debug-suffix -1.15-17.fc29.riscv64 --unique-debug-src-base byaccj-1.15-17.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/byaccj1.15 extracting debug info from /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64/usr/bin/byaccj /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 329 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-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-17.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CU9f8e + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + DOCDIR=/builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64/usr/share/doc/byaccj + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64/usr/share/doc/byaccj + cp -pr docs/ACKNOWLEDGEMEN docs/tf.y docs/yacc.cat /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64/usr/share/doc/byaccj + cp -pr src/README /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64/usr/share/doc/byaccj + exit 0 Provides: byaccj = 0:1.15-17.fc29 byaccj(riscv-64) = 0:1.15-17.fc29 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-17.fc29.riscv64 Provides: byaccj-debugsource = 0:1.15-17.fc29 byaccj-debugsource(riscv-64) = 0:1.15-17.fc29 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-17.fc29.riscv64 Provides: byaccj-debuginfo = 0:1.15-17.fc29 byaccj-debuginfo(riscv-64) = 0:1.15-17.fc29 debuginfo(build-id) = 6b58756055e32f93fe5c941517db9d8f14b7d7cb 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-17.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64 Wrote: /builddir/build/RPMS/byaccj-1.15-17.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/byaccj-debugsource-1.15-17.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/byaccj-debuginfo-1.15-17.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.md53px + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/byaccj-1.15-17.fc29.riscv64 + exit 0 Child return code was: 0