Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/lua-lpeg.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-52222-23731/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/lua-lpeg.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/lua-lpeg-1.0.1-6.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/lua-lpeg.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-52222-23731/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/lua-lpeg.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y64wNn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lpeg-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/lpeg-1.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lpeg-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Enable-execshield-ldflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lAiOij + umask 022 + cd /builddir/build/BUILD + cd lpeg-1.0.1 + make -j4 'COPT=-O2 -g' make lpeg.so "DLLFLAGS = -shared -fPIC -Wl,-z,now" make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/builddir/build/BUILD/lpeg-1.0.1' gcc -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -O2 -g -std=c99 -I../lua/ -fPIC -c -o lpvm.o lpvm.c lpvm.c: In function 'match': lpvm.c:278:14: warning: this statement may fall through [-Wimplicit-fallthrough=] stack--; ~~~~~^~ lpvm.c:280:7: note: here case IFail: ^~~~ gcc -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -O2 -g -std=c99 -I../lua/ -fPIC -c -o lpcap.o lpcap.c gcc -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -O2 -g -std=c99 -I../lua/ -fPIC -c -o lptree.o lptree.c gcc -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -O2 -g -std=c99 -I../lua/ -fPIC -c -o lpcode.o lpcode.c lpcode.c: In function 'getfirst': lpcode.c:356:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (tocharset(sib1(tree), firstset)) { ^ lpcode.c:362:5: note: here case TBehind: { /* instruction gives no new information */ ^~~~ gcc -Wall -Wextra -pedantic -Waggregate-return -Wcast-align -Wcast-qual -Wdisabled-optimization -Wpointer-arith -Wshadow -Wsign-compare -Wundef -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -O2 -g -std=c99 -I../lua/ -fPIC -c -o lpprint.o lpprint.c env gcc -shared -fPIC -Wl,-z,now lpvm.o lpcap.o lptree.o lpcode.o lpprint.o -o lpeg.so make[1]: Leaving directory '/builddir/build/BUILD/lpeg-1.0.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GopKVe + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64 ++ dirname /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64 + cd lpeg-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/lib64/lua/5.3 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/lua/5.3 + /usr/bin/install -p lpeg.so /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/lib64/lua/5.3/lpeg.so.1.0.1 + ln -s lpeg.so.1.0.1 /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/lib64/lua/5.3/lpeg.so + /usr/bin/install -p -m 0644 re.lua /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/lua/5.3 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.1-6.el8 --unique-debug-suffix -1.0.1-6.el8.loongarch64 --unique-debug-src-base lua-lpeg-1.0.1-6.el8.loongarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lpeg-1.0.1 extracting debug info from /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/lib64/lua/5.3/lpeg.so.1.0.1 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 204 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2sQWza + umask 022 + cd /builddir/build/BUILD + cd lpeg-1.0.1 + lua test.lua General tests for LPeg library version 1.0.1 + + + + + OK + exit 0 Processing files: lua-lpeg-1.0.1-6.el8.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5rVai6 + umask 022 + cd /builddir/build/BUILD + cd lpeg-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/doc/lua-lpeg + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/doc/lua-lpeg + cp -pr HISTORY /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/doc/lua-lpeg + cp -pr lpeg.html /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/doc/lua-lpeg + cp -pr re.html /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/doc/lua-lpeg + cp -pr lpeg-128.gif /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/doc/lua-lpeg + cp -pr test.lua /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64/usr/share/doc/lua-lpeg + exit 0 Provides: lua-lpeg = 1.0.1-6.el8 lua-lpeg(loongarch-64) = 1.0.1-6.el8 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.27)(64bit) rtld(GNU_HASH) Processing files: lua-lpeg-debugsource-1.0.1-6.el8.loongarch64 Provides: lua-lpeg-debugsource = 1.0.1-6.el8 lua-lpeg-debugsource(loongarch-64) = 1.0.1-6.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lua-lpeg-debuginfo-1.0.1-6.el8.loongarch64 Provides: debuginfo(build-id) = a92560aa02af8bbd9c5432c3adb75761fe29be44 lua-lpeg-debuginfo = 1.0.1-6.el8 lua-lpeg-debuginfo(loongarch-64) = 1.0.1-6.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lua-lpeg-debugsource(loongarch-64) = 1.0.1-6.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64 Wrote: /builddir/build/RPMS/lua-lpeg-1.0.1-6.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/lua-lpeg-debugsource-1.0.1-6.el8.loongarch64.rpm Wrote: /builddir/build/RPMS/lua-lpeg-debuginfo-1.0.1-6.el8.loongarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aS1w11 + umask 022 + cd /builddir/build/BUILD + cd lpeg-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lua-lpeg-1.0.1-6.el8.loongarch64 + exit 0 Child return code was: 0