Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/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=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/byaccj-1.15-27.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/byaccj.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/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=0uid=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RiWoJ3 + 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|$(LDFLAGS)|g' src/Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EvtYpe + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/byaccj1.15/src ~/build/BUILD/byaccj1.15 + cd byaccj1.15 + pushd src + /usr/bin/make -O -j10 V=1 VERBOSE=1 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 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' 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 -m64 -march=z14 -mtune=z15 -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 -m64 -march=z14 -mtune=z15 -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 -m64 -march=z14 -mtune=z15 -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 -m64 -march=z14 -mtune=z15 -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:42: 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 -m64 -march=z14 -mtune=z15 -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 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I. warshall.c -o warshall.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 -m64 -march=z14 -mtune=z15 -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 -m64 -march=z14 -mtune=z15 -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 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I. verbose.c -o verbose.o verbose.c: In function 'print_conflicts': verbose.c:125:18: 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:21: 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 -m64 -march=z14 -mtune=z15 -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 -m64 -march=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection -I. output.c -o output.o output.c: In function 'output_defines': output.c:846:31: 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 -m64 -march=z14 -mtune=z15 -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:24: warning: 'spacing' may be used uninitialized in this function [-Wmaybe-uninitialized] 1821 | while (--j >= 0) putc(' ', f); | ~~~~^~~~ gcc -o yacc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o done /usr/bin/ld: /tmp/ccrtKCYw.ltrans0.ltrans.o: in function `open_files': /builddir/build/BUILD/byaccj1.15/src/main.c:356: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' + popd + RPM_EC=0 ~/build/BUILD/byaccj1.15 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mkSqHX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x ++ dirname /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x + cd byaccj1.15 + install -d -m 755 /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x/usr/bin + install -p -m 755 src/yacc /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x/usr/bin/byaccj + /usr/lib/rpm/find-debuginfo.sh -j10 --strict-build-id -m -i --build-id-seed 1.15-27.el9 --unique-debug-suffix -1.15-27.el9.s390x --unique-debug-src-base byaccj-1.15-27.el9.s390x --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-27.el9.s390x/usr/bin/byaccj extracting debug info from /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x/usr/bin/byaccj original debug info size: 316kB, size after compression: 304kB /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-27.el9.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0AQEqP + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + DOCDIR=/builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x/usr/share/doc/byaccj + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x/usr/share/doc/byaccj + cp -pr docs/ACKNOWLEDGEMEN docs/tf.y docs/yacc.cat /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x/usr/share/doc/byaccj + cp -pr src/README /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x/usr/share/doc/byaccj + RPM_EC=0 ++ jobs -p + exit 0 Provides: byaccj = 1.15-27.el9 byaccj(s390-64) = 1.15-27.el9 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)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: byaccj-debugsource-1.15-27.el9.s390x Provides: byaccj-debugsource = 1.15-27.el9 byaccj-debugsource(s390-64) = 1.15-27.el9 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-27.el9.s390x Provides: byaccj-debuginfo = 1.15-27.el9 byaccj-debuginfo(s390-64) = 1.15-27.el9 debuginfo(build-id) = af93a2ae9e0687100c3304dec2e2721b8879a2dc Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: byaccj-debugsource(s390-64) = 1.15-27.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x Wrote: /builddir/build/RPMS/byaccj-1.15-27.el9.s390x.rpm Wrote: /builddir/build/RPMS/byaccj-debuginfo-1.15-27.el9.s390x.rpm Wrote: /builddir/build/RPMS/byaccj-debugsource-1.15-27.el9.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sXiPXL + umask 022 + cd /builddir/build/BUILD + cd byaccj1.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/byaccj-1.15-27.el9.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0