Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-rex.spec'], chrootPath='/var/lib/mock/f31-build-76778-31434/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-rex.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 setting SOURCE_DATE_EPOCH=1531440000 Wrote: /builddir/build/SRPMS/lua-rex-2.8.0-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-rex.spec'], chrootPath='/var/lib/mock/f31-build-76778-31434/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-rex.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 setting SOURCE_DATE_EPOCH=1531440000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YSnXaI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lrexlib-rel-2-8-0 + /usr/bin/gzip -dc /builddir/build/SOURCES/rel-2-8-0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lrexlib-rel-2-8-0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm .gitignore doc/.gitignore + cp -a /builddir/build/SOURCES/lrexlib-pcre-2.8.0-1.src.rock /builddir/build/SOURCES/lrexlib-posix-2.8.0-1.src.rock /builddir/build/SOURCES/lrexlib-tre-2.8.0-1.src.rock /builddir/build/SOURCES/lrexlib-oniguruma-2.8.0-1.src.rock /builddir/build/SOURCES/lrexlib-gnu-2.8.0-1.src.rock . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mg6sdH + umask 022 + cd /builddir/build/BUILD + cd lrexlib-rel-2-8-0 + mkdir tree + for i in pcre posix oniguruma tre gnu + TMP=/builddir/build/BUILD/lrexlib-rel-2-8-0/tmp + luarocks --local --tree=./tree build lrexlib-pcre-2.8.0-1.src.rock '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 -fPIC -DLUA_COMPAT_APIINTCASTS' ONIG_LIBDIR=/usr/lib64 TRE_LIBDIR=/usr/lib64 PCRE_LIBDIR=/usr/lib64 BUILDSTDERR: In file included from src/common.c:9: BUILDSTDERR: src/common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/common.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: In file included from src/pcre/lpcre.c:13: BUILDSTDERR: src/pcre/../common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/pcre/lpcre.c:11: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: In file included from src/pcre/lpcre_f.c:7: BUILDSTDERR: src/pcre/../common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/pcre/lpcre_f.c:5: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: No existing manifest. Attempting to rebuild... + for i in pcre posix oniguruma tre gnu + TMP=/builddir/build/BUILD/lrexlib-rel-2-8-0/tmp + luarocks --local --tree=./tree build lrexlib-posix-2.8.0-1.src.rock '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 -fPIC -DLUA_COMPAT_APIINTCASTS' ONIG_LIBDIR=/usr/lib64 TRE_LIBDIR=/usr/lib64 PCRE_LIBDIR=/usr/lib64 BUILDSTDERR: In file included from src/common.c:9: BUILDSTDERR: src/common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/common.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: In file included from src/posix/lposix.c:9: BUILDSTDERR: src/posix/../common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/posix/lposix.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | + for i in pcre posix oniguruma tre gnu + TMP=/builddir/build/BUILD/lrexlib-rel-2-8-0/tmp + luarocks --local --tree=./tree build lrexlib-oniguruma-2.8.0-1.src.rock '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 -fPIC -DLUA_COMPAT_APIINTCASTS' ONIG_LIBDIR=/usr/lib64 TRE_LIBDIR=/usr/lib64 PCRE_LIBDIR=/usr/lib64 BUILDSTDERR: In file included from src/common.c:9: BUILDSTDERR: src/common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/common.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: In file included from src/oniguruma/lonig.c:12: BUILDSTDERR: src/oniguruma/../common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/oniguruma/lonig.c:10: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: src/oniguruma/lonig.c: In function 'generate_error': BUILDSTDERR: src/oniguruma/lonig.c:105:26: warning: pointer targets in passing argument 1 of 'onig_error_code_to_str' differ in signedness [-Wpointer-sign] BUILDSTDERR: 105 | onig_error_code_to_str(buf, errcode, ud->einfo); BUILDSTDERR: | ^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from src/oniguruma/lonig.c:8: BUILDSTDERR: /usr/include/oniguruma.h:767:28: note: expected 'OnigUChar *' {aka 'unsigned char *'} but argument is of type 'char *' BUILDSTDERR: 767 | int onig_error_code_to_str PV_((OnigUChar* s, int err_code, ...)); BUILDSTDERR: | ^~~ BUILDSTDERR: In file included from src/oniguruma/lonig_f.c:7: BUILDSTDERR: src/oniguruma/../common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/oniguruma/lonig_f.c:5: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/common.c -o src/common.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/pcre/lpcre.c -o src/pcre/lpcre.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/pcre/lpcre_f.c -o src/pcre/lpcre_f.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -shared -o rex_pcre.so src/common.o src/pcre/lpcre.o src/pcre/lpcre_f.o -L/usr/lib64 -Wl,-rpath,/usr/lib64: -lpcre lrexlib-pcre 2.8.0-1 is now installed in /builddir/build/BUILD/lrexlib-rel-2-8-0/./tree (license: MIT/X11) gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/common.c -o src/common.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/posix/lposix.c -o src/posix/lposix.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 gcc -shared -o rex_posix.so src/common.o src/posix/lposix.o lrexlib-posix 2.8.0-1 is now installed in /builddir/build/BUILD/lrexlib-rel-2-8-0/./tree (license: MIT/X11) gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/common.c -o src/common.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/oniguruma/lonig.c -o src/oniguruma/lonig.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/oniguruma/lonig_f.c -o src/oniguruma/lonig_f.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -shared -o rex_onig.so src/common.o src/oniguruma/lonig.o src/oniguruma/lonig_f.o -L/usr/lib64 -Wl,-rpath,/usr/lib64: -lonig BUILDSTDERR: lrexlib-oniguruma 2.8.0-1 is now installed in /builddir/build/BUILD/lr+ for i in pcre posix oniguruma tre gnu + TMP=/builddir/build/BUILD/lrexlib-rel-2-8-0/tmp + luarocks --local --tree=./tree build lrexlib-tre-2.8.0-1.src.rock '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 -fPIC -DLUA_COMPAT_APIINTCASTS' ONIG_LIBDIR=/usr/lib64 TRE_LIBDIR=/usr/lib64 PCRE_LIBDIR=/usr/lib64 BUILDSTDERR: In file included from src/common.c:9: BUILDSTDERR: src/common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/common.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: In file included from src/tre/ltre.c:9: BUILDSTDERR: src/tre/../common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/tre/ltre.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | + for i in pcre posix oniguruma tre gnu + TMP=/builddir/build/BUILD/lrexlib-rel-2-8-0/tmp + luarocks --local --tree=./tree build lrexlib-gnu-2.8.0-1.src.rock '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 -fPIC -DLUA_COMPAT_APIINTCASTS' ONIG_LIBDIR=/usr/lib64 TRE_LIBDIR=/usr/lib64 PCRE_LIBDIR=/usr/lib64 BUILDSTDERR: In file included from src/common.c:9: BUILDSTDERR: src/common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/common.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | BUILDSTDERR: In file included from src/gnu/lgnu.c:9: BUILDSTDERR: src/gnu/../common.h:10: warning: "lua_objlen" redefined BUILDSTDERR: 10 | # define lua_objlen lua_rawlen BUILDSTDERR: | BUILDSTDERR: In file included from /usr/include/luaconf.h:56, BUILDSTDERR: from /usr/include/lua.h:16, BUILDSTDERR: from src/gnu/lgnu.c:7: BUILDSTDERR: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition BUILDSTDERR: 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) BUILDSTDERR: | + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 exlib-rel-2-8-0/./tree (license: MIT/X11) gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/common.c -o src/common.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/tre/ltre.c -o src/tre/ltre.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 -I/usr/include gcc -shared -o rex_tre.so src/common.o src/tre/ltre.o -L/usr/lib64 -Wl,-rpath,/usr/lib64: -ltre lrexlib-tre 2.8.0-1 is now installed in /builddir/build/BUILD/lrexlib-rel-2-8-0/./tree (license: MIT/X11) gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/common.c -o src/common.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 gcc -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 -DLUA_COMPAT_APIINTCASTS -I/usr/include -c src/gnu/lgnu.c -o src/gnu/lgnu.o -DVERSION="2.8.0" -DLUA_COMPAT_5_2 gcc -shared -o rex_gnu.so src/common.o src/gnu/lgnu.o lrexlib-gnu 2.8.0-1 is now installed in /builddir/build/BUILD/lrexlib-rel-2-8-0/./tree (license: MIT/X11) Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XGMseH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-rex-2.8.0-4.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-rex-2.8.0-4.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/lua-rex-2.8.0-4.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-rex-2.8.0-4.fc31.riscv64 + cd lrexlib-rel-2-8-0 + install -d /builddir/build/BUILDROOT/lua-rex-2.8.0-4.fc31.riscv64/usr/lib64/lua/5.3 + cp -P 'tree/lib64/lua/5.3/rex_gnu.so*' 'tree/lib64/lua/5.3/rex_onig.so*' 'tree/lib64/lua/5.3/rex_pcre.so*' 'tree/lib64/lua/5.3/rex_posix.so*' 'tree/lib64/lua/5.3/rex_tre.so*' /builddir/build/BUILDROOT/lua-rex-2.8.0-4.fc31.riscv64/usr/lib64/lua/5.3 BUILDSTDERR: cp: cannot stat 'tree/lib64/lua/5.3/rex_gnu.so*': No such file or directory BUILDSTDERR: cp: cannot stat 'tree/lib64/lua/5.3/rex_onig.so*': No such file or directory BUILDSTDERR: cp: cannot stat 'tree/lib64/lua/5.3/rex_pcre.so*': No such file or directory BUILDSTDERR: cp: cannot stat 'tree/lib64/lua/5.3/rex_posix.so*': No such file or directory BUILDSTDERR: cp: cannot stat 'tree/lib64/lua/5.3/rex_tre.so*': No such file or directory BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.XGMseH (%install) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.XGMseH (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-rex.spec