Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619040035-a78e116a-build-7876-1237/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619040035-a78e116a-build-7876-1237/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WBdBeX + 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.4y3IrX + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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] if (nunused) ^ mkpar.c: In function 'remove_conflicts': mkpar.c:226: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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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] 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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] 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. verbose.c -o verbose.o verbose.c: In function 'print_conflicts': 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 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 + popd ~/build/BUILD/byaccj1.15 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cGoH4Y + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 ++ dirname /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 + cd byaccj1.15 + install -d -m 755 /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64/usr/bin + install -p -m 755 src/yacc /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64/usr/bin/byaccj + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.15-19.module+oc8.5.0+71+a3bc5605 --unique-debug-suffix -1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 --unique-debug-src-base byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/byaccj1.15 extracting debug info from /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64/usr/bin/byaccj /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 329 blocks + /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4g9xZ0 + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + DOCDIR=/builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64/usr/share/doc/byaccj + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64/usr/share/doc/byaccj + cp -pr docs/ACKNOWLEDGEMEN docs/tf.y docs/yacc.cat /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64/usr/share/doc/byaccj + cp -pr src/README /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64/usr/share/doc/byaccj + exit 0 Provides: byaccj = 1.15-19.module+oc8.5.0+71+a3bc5605 byaccj(x86-64) = 1.15-19.module+oc8.5.0+71+a3bc5605 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: byaccj-debugsource-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 Provides: byaccj-debugsource = 1.15-19.module+oc8.5.0+71+a3bc5605 byaccj-debugsource(x86-64) = 1.15-19.module+oc8.5.0+71+a3bc5605 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-19.module+oc8.5.0+71+a3bc5605.x86_64 Provides: byaccj-debuginfo = 1.15-19.module+oc8.5.0+71+a3bc5605 byaccj-debuginfo(x86-64) = 1.15-19.module+oc8.5.0+71+a3bc5605 debuginfo(build-id) = 21c1c975b5447a5effb1c71ee08784a3825aa51a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: byaccj-debugsource(x86-64) = 1.15-19.module+oc8.5.0+71+a3bc5605 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 Wrote: /builddir/build/RPMS/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64.rpm Wrote: /builddir/build/RPMS/byaccj-debugsource-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64.rpm Wrote: /builddir/build/RPMS/byaccj-debuginfo-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3sSM8Y + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/byaccj-1.15-19.module+oc8.5.0+71+a3bc5605.x86_64 + exit 0 Child return code was: 0