+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/compat-tolua++.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pGEcBm
+ 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 .
+ echo 'Patch #0 (tolua++-1.0.93-lua51.patch):'
Patch #0 (tolua++-1.0.93-lua51.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lua51 --fuzz=0
patching file config_linux.py
patching file custom.py
+ echo 'Patch #1 (tolua++-1.0.93-lua-include-path.patch):'
Patch #1 (tolua++-1.0.93-lua-include-path.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file include/tolua++.h
+ sed -i 's/\r//' doc/tolua++.html
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CM2ott
+ umask 022
+ cd /builddir/build/BUILD
+ cd tolua++-1.0.93
++ pkg-config --cflags lua-5.1
+ 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  -I/usr/include/lua-5.1 ' tolua_lib=tolua++-5.1 LINKFLAGS=-Wl,-soname,libtolua++-5.1.so shared=1
DEPRECATION WARNING: python2 invoked with /usr/bin/python.
    Use /usr/bin/python3 or /usr/bin/python2
    /usr/bin/python will be removed or switched to Python 3 in the future.
    If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/builddir/build/BUILD/tolua++-1.0.93/SConstruct", line 19, in <module>
('********* tolua is ', 'bin/tolua++_bootstrap')

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "/builddir/build/BUILD/tolua++-1.0.93/src/tests/SCsub", line 2, in <module>
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 -I/usr/include/lua-5.1 -Iinclude src/bin/tolua.c
gcc -o src/bin/toluabind_default.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 -I/usr/include/lua-5.1 -Iinclude src/bin/toluabind_default.c
gcc -o src/lib/tolua_event.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 -I/usr/include/lua-5.1 -Iinclude src/lib/tolua_event.c
gcc -o src/lib/tolua_is.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 -I/usr/include/lua-5.1 -Iinclude src/lib/tolua_is.c
src/lib/tolua_is.c:119:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
 static  int lua_isusertable (lua_State* L, int lo, const const char* type)
                                                          ^~~~~
gcc -o src/lib/tolua_map.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 -I/usr/include/lua-5.1 -Iinclude src/lib/tolua_map.c
gcc -o src/lib/tolua_push.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 -I/usr/include/lua-5.1 -Iinclude src/lib/tolua_push.c
src/lib/tolua_map.c: In function 'tolua_usertype':
src/lib/tolua_map.c:398:58: warning: passing argument 2 of 'tolua_newmetatable' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  if (tolua_newmetatable(L,ctype) && tolua_newmetatable(L,type))
                                                          ^~~~
src/lib/tolua_map.c:28:12: note: expected 'char *' but argument is of type 'const char *'
 static int tolua_newmetatable (lua_State* L, char* name)
            ^~~~~~~~~~~~~~~~~~
src/lib/tolua_map.c: In function 'tolua_dobuffer':
src/lib/tolua_map.c:699:36: warning: value computed is not used [-Wunused-value]
  luaL_loadbuffer(L, B, size, name) || lua_pcall(L, 0, 0, 0);
                                    ^~
gcc -o src/lib/tolua_to.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 -I/usr/include/lua-5.1 -Iinclude src/lib/tolua_to.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 -I/usr/include/lua-5.1 -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 -I/usr/include/lua-5.1 -fPIC -Iinclude src/lib/tolua_is.c
ar rc lib/libtolua++-5.1_static src/lib/tolua_event.o src/lib/tolua_is.o src/lib/tolua_map.o src/lib/tolua_push.o src/lib/tolua_to.o
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 -I/usr/include/lua-5.1 -fPIC -Iinclude src/lib/tolua_map.c
ranlib lib/libtolua++-5.1_static
src/lib/tolua_is.c:119:58: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
 static  int lua_isusertable (lua_State* L, int lo, const const char* type)
                                                          ^~~~~
gcc -o bin/tolua++_bootstrap -Wl,-soname,libtolua++-5.1.so src/bin/tolua.o src/bin/toluabind_default.o lib/libtolua++-5.1_static -Llib -llua-5.1 -ldl -lm
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 -I/usr/include/lua-5.1 -fPIC -Iinclude src/lib/tolua_push.c
src/lib/tolua_map.c: In function 'tolua_usertype':
src/lib/tolua_map.c:398:58: warning: passing argument 2 of 'tolua_newmetatable' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  if (tolua_newmetatable(L,ctype) && tolua_newmetatable(L,type))
                                                          ^~~~
src/lib/tolua_map.c:28:12: note: expected 'char *' but argument is of type 'const char *'
 static int tolua_newmetatable (lua_State* L, char* name)
            ^~~~~~~~~~~~~~~~~~
src/lib/tolua_map.c: In function 'tolua_dobuffer':
src/lib/tolua_map.c:699:36: warning: value computed is not used [-Wunused-value]
  luaL_loadbuffer(L, B, size, name) || lua_pcall(L, 0, 0, 0);
                                    ^~
bin/tolua++_bootstrap -C -H src/bin/toluabind.h -o src/bin/toluabind.c -n tolua src/bin/tolua_scons.pkg
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 -I/usr/include/lua-5.1 -fPIC -Iinclude src/lib/tolua_to.c
gcc -o lib/libtolua++-5.1.so -Wl,-soname,libtolua++-5.1.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-5.1 -ldl -lm
gcc -o src/bin/toluabind.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 -I/usr/include/lua-5.1 -Iinclude src/bin/toluabind.c
gcc -o bin/tolua++ -Wl,-soname,libtolua++-5.1.so src/bin/tolua.o src/bin/toluabind.o -Llib -ltolua++-5.1 -llua-5.1 -ldl -lm
+ gcc -o bin/tolua++ src/bin/tolua.o src/bin/toluabind_default.o -Llib -ltolua++-5.1 -llua-5.1 -ldl -lm
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3JmfjA
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64
+ cd tolua++-1.0.93
+ mkdir -p /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/bin
+ mkdir -p /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/lib64
+ mkdir -p /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/include
+ install -m 755 bin/tolua++ /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/bin
+ install -m 755 lib/libtolua++-5.1.so /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/lib64
+ ln -s libtolua++-5.1.so /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/lib64/libtolua++.so
+ install -p -m 644 include/tolua++.h /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/include
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/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 /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /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: compat-tolua++-1.0.93-7.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8mNXDW
+ umask 022
+ cd /builddir/build/BUILD
+ cd tolua++-1.0.93
+ DOCDIR=/builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/share/doc/compat-tolua++
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/share/doc/compat-tolua++
+ cp -pr README /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/share/doc/compat-tolua++
+ cp -pr doc/index.html doc/tolua++.html doc/toluapp.gif /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64/usr/share/doc/compat-tolua++
+ exit 0
Provides: compat-tolua++ = 1.0.93-7.fc28 compat-tolua++(riscv-64) = 1.0.93-7.fc28 libtolua++-5.1.so()(64bit)
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.1.so()(64bit) libm.so.6()(64bit) rtld(GNU_HASH)
Processing files: compat-tolua++-devel-1.0.93-7.fc28.riscv64
Provides: compat-tolua++-devel = 1.0.93-7.fc28 compat-tolua++-devel(riscv-64) = 1.0.93-7.fc28
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.1.so()(64bit) libm.so.6()(64bit) libtolua++-5.1.so()(64bit) rtld(GNU_HASH)
Conflicts: tolua++-devel
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64
Wrote: /builddir/build/SRPMS/compat-tolua++-1.0.93-7.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/compat-tolua++-1.0.93-7.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/compat-tolua++-devel-1.0.93-7.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VwklnZ
+ umask 022
+ cd /builddir/build/BUILD
+ cd tolua++-1.0.93
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/compat-tolua++-1.0.93-7.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff