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/tolua++.spec'], chrootPath='/var/lib/mock/f29-build-8722-3509/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/tolua++.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 Wrote: /builddir/build/SRPMS/tolua++-1.0.93-23.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tolua++.spec'], chrootPath='/var/lib/mock/f29-build-8722-3509/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/tolua++.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.39XfXe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tolua++-1.0.93 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/tolua++-1.0.93.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tolua++-1.0.93 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (tolua++-1.0.93-no-buildin-bytecode.patch): + echo 'Patch #0 (tolua++-1.0.93-no-buildin-bytecode.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/bin/SCsub patching file src/bin/tolua.c + echo 'Patch #1 (tolua++-1.0.93-lua52.patch):' Patch #1 (tolua++-1.0.93-lua52.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config_linux.py patching file custom.py patching file SConstruct patching file src/bin/lua/all.lua patching file src/bin/lua/basic.lua patching file src/bin/lua/class.lua patching file src/bin/lua/clean.lua patching file src/bin/lua/compat-5.1.lua patching file src/bin/lua/compat.lua patching file src/bin/lua/declaration.lua patching file src/bin/lua/feature.lua patching file src/bin/lua/function.lua patching file src/bin/lua/package.lua patching file src/bin/lua/template_class.lua patching file src/bin/tolua.c patching file src/lib/tolua_event.c patching file src/lib/tolua_map.c patching file src/lib/tolua_push.c + sed -i 's/\r//' doc/tolua++.html + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N0EsR2 + umask 022 + cd /builddir/build/BUILD + cd tolua++-1.0.93 BUILDSTDERR: ++ pkg-config --cflags lua + scons -j4 -Q 'CCFLAGS=-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 ' tolua_lib=tolua++-5.3 LINKFLAGS=-Wl,-soname,libtolua++-5.3.so shared=1 BUILDSTDERR: scons: warning: The Options class is deprecated; use the Variables class instead. BUILDSTDERR: File "/builddir/build/BUILD/tolua++-1.0.93/SConstruct", line 19, in BUILDSTDERR: scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead. BUILDSTDERR: File "/builddir/build/BUILD/tolua++-1.0.93/src/tests/SCsub", line 2, in ('Generating ', 'tclassbind.cpp', ' from ', 'tclass.pkg') gcc -o src/bin/tolua.o -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 -Iinclude src/bin/tolua.c gcc -o src/lib/tolua_event.os -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 -fPIC -Iinclude src/lib/tolua_event.c gcc -o src/lib/tolua_is.os -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 -fPIC -Iinclude src/lib/tolua_is.c gcc -o src/lib/tolua_map.os -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 -fPIC -Iinclude src/lib/tolua_map.c BUILDSTDERR: src/lib/tolua_is.c:119:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: static int lua_isusertable (lua_State* L, int lo, const const char* type) BUILDSTDERR: ^~~~~ BUILDSTDERR: src/lib/tolua_map.c: In function 'tolua_usertype': BUILDSTDERR: src/lib/tolua_map.c:406:58: warning: passing argument 2 of 'tolua_newmetatable' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: if (tolua_newmetatable(L,ctype) && tolua_newmetatable(L,type)) BUILDSTDERR: ^~~~ BUILDSTDERR: src/lib/tolua_map.c:28:52: note: expected 'char *' but argument is of type 'const char *' BUILDSTDERR: static int tolua_newmetatable (lua_State* L, char* name) BUILDSTDERR: ~~~~~~^~~~ BUILDSTDERR: src/lib/tolua_map.c: In function 'tolua_dobuffer': BUILDSTDERR: src/lib/tolua_map.c:719:36: warning: value computed is not used [-Wunused-value] BUILDSTDERR: luaL_loadbuffer(L, B, size, name) || lua_pcall(L, 0, 0, 0); BUILDSTDERR: ^~ gcc -o src/lib/tolua_push.os -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 -fPIC -Iinclude src/lib/tolua_push.c gcc -o src/lib/tolua_to.os -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 -fPIC -Iinclude src/lib/tolua_to.c gcc -o lib/libtolua++-5.3.so -Wl,-soname,libtolua++-5.3.so -shared src/lib/tolua_event.os src/lib/tolua_is.os src/lib/tolua_map.os src/lib/tolua_push.os src/lib/tolua_to.os -Llib -llua -ldl -lm gcc -o bin/tolua++ -Wl,-soname,libtolua++-5.3.so src/bin/tolua.o -Llib -ltolua++-5.3 -llua -ldl -lm + gcc -o bin/tolua++ src/bin/tolua.o -Llib -ltolua++-5.3 -llua -ldl -lm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.utR0Er + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64 + cd tolua++-1.0.93 + mkdir -p /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/bin + mkdir -p /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/include + install -m 755 bin/tolua++ /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/bin + install -m 755 lib/libtolua++-5.3.so /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/lib64 + ln -s libtolua++-5.3.so /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/lib64/libtolua++.so + install -p -m 644 include/tolua++.h /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/include + mkdir -p /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/share/tolua++ + install -p -m 644 src/bin/lua/all.lua src/bin/lua/array.lua src/bin/lua/basic.lua src/bin/lua/class.lua src/bin/lua/clean.lua src/bin/lua/code.lua src/bin/lua/compat-5.1.lua src/bin/lua/compat.lua src/bin/lua/container.lua src/bin/lua/custom.lua src/bin/lua/declaration.lua src/bin/lua/define.lua src/bin/lua/doit.lua src/bin/lua/enumerate.lua src/bin/lua/feature.lua src/bin/lua/function.lua src/bin/lua/module.lua src/bin/lua/namespace.lua src/bin/lua/operator.lua src/bin/lua/package.lua src/bin/lua/template_class.lua src/bin/lua/typedef.lua src/bin/lua/variable.lua src/bin/lua/verbatim.lua /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/share/tolua++ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.0.93-23.fc29 --unique-debug-suffix -1.0.93-23.fc29.riscv64 --unique-debug-src-base tolua++-1.0.93-23.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/tolua++-1.0.93 extracting debug info from /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/bin/tolua++ extracting debug info from /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/lib64/libtolua++-5.3.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 126 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: tolua++-1.0.93-23.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wmigEY + umask 022 + cd /builddir/build/BUILD + cd tolua++-1.0.93 + DOCDIR=/builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/share/doc/tolua++ + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/share/doc/tolua++ + cp -pr README /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/share/doc/tolua++ + cp -pr doc/index.html doc/tolua++.html doc/toluapp.gif /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64/usr/share/doc/tolua++ + exit 0 Provides: libtolua++-5.3.so()(64bit) tolua++ = 1.0.93-23.fc29 tolua++(riscv-64) = 1.0.93-23.fc29 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libdl.so.2()(64bit) liblua-5.3.so()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: tolua++-devel-1.0.93-23.fc29.riscv64 Provides: tolua++-devel = 1.0.93-23.fc29 tolua++-devel(riscv-64) = 1.0.93-23.fc29 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) libdl.so.2()(64bit) liblua-5.3.so()(64bit) libm.so.6()(64bit) libtolua++-5.3.so()(64bit) rtld(GNU_HASH) Processing files: tolua++-debugsource-1.0.93-23.fc29.riscv64 Provides: tolua++-debugsource = 1.0.93-23.fc29 tolua++-debugsource(riscv-64) = 1.0.93-23.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tolua++-debuginfo-1.0.93-23.fc29.riscv64 Provides: debuginfo(build-id) = 43b7fb7c6837fa108566a50c5d97740a7bedb728 tolua++-debuginfo = 1.0.93-23.fc29 tolua++-debuginfo(riscv-64) = 1.0.93-23.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tolua++-debugsource(riscv-64) = 1.0.93-23.fc29 Processing files: tolua++-devel-debuginfo-1.0.93-23.fc29.riscv64 Provides: debuginfo(build-id) = 7bbf7226f993cfdb7efe944a234ffff6a373e773 tolua++-devel-debuginfo = 1.0.93-23.fc29 tolua++-devel-debuginfo(riscv-64) = 1.0.93-23.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tolua++-debugsource(riscv-64) = 1.0.93-23.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64 Wrote: /builddir/build/RPMS/tolua++-1.0.93-23.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tolua++-devel-1.0.93-23.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tolua++-debugsource-1.0.93-23.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tolua++-debuginfo-1.0.93-23.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/tolua++-devel-debuginfo-1.0.93-23.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AfJ1o1 + umask 022 + cd /builddir/build/BUILD + cd tolua++-1.0.93 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tolua++-1.0.93-23.fc29.riscv64 + exit 0 Child return code was: 0