/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.Vyqzfo + 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 cp: cannot stat 'tree/lib64/lua/5.3/rex_tre.so*' RPM build errors: BUILDSTDERR: : No such file or directory BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Vyqzfo (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Vyqzfo (%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