+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/premake.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.TJjKTF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf premake-4.3 + /usr/bin/unzip -qq /builddir/build/SOURCES/premake-4.3-src.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd premake-4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (premake-4.3-system-lua.patch):' Patch #0 (premake-4.3-system-lua.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build/gmake.unix/Premake4.make + echo 'Patch #1 (premake-4.3-manpage.patch):' Patch #1 (premake-4.3-manpage.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file premake4.1 + sed -i 's|^\s*CFLAGS\s*+=.*|CFLAGS += $(CPPFLAGS) -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 |' build/gmake.unix/Premake4.make + sed -i 's|^\s*LDFLAGS\s*+= -s|LDFLAGS +=|' build/gmake.unix/Premake4.make + sed -i s/debug/release/ tests/test + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KdZ0LJ + umask 022 + cd /builddir/build/BUILD + cd premake-4.3 + cd build/gmake.unix/ + make verbose=true -j4 ==== Building Premake4 (release) ==== Creating obj/Release Creating ../../bin/release mkdir -p obj/Release mkdir -p ../../bin/release os_chdir.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_chdir.o" -c "../../src/host/os_chdir.c" os_copyfile.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_copyfile.o" -c "../../src/host/os_copyfile.c" os_getcwd.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_getcwd.o" -c "../../src/host/os_getcwd.c" os_isdir.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_isdir.o" -c "../../src/host/os_isdir.c" In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_chdir.c:7: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_getcwd.c:7: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_isdir.c:9: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_copyfile.c:8: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition os_isfile.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_isfile.o" -c "../../src/host/os_isfile.c" os_match.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_match.o" -c "../../src/host/os_match.c" os_mkdir.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_mkdir.o" -c "../../src/host/os_mkdir.c" os_pathsearch.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_pathsearch.o" -c "../../src/host/os_pathsearch.c" In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_isfile.c:8: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_pathsearch.c:11: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_mkdir.c:8: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_match.c:9: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition os_rmdir.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_rmdir.o" -c "../../src/host/os_rmdir.c" os_uuid.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/os_uuid.o" -c "../../src/host/os_uuid.c" path_isabsolute.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/path_isabsolute.o" -c "../../src/host/path_isabsolute.c" In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_uuid.c:7: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/path_isabsolute.c:7: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition premake.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/premake.o" -c "../../src/host/premake.c" In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/os_rmdir.c:8: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/premake.c:9: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition scripts.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/scripts.o" -c "../../src/host/scripts.c" string_endswith.c cc -MMD -MP -DNDEBUG -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/include/lua-5.1 -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 -o "obj/Release/string_endswith.o" -c "../../src/host/string_endswith.c" In file included from /usr/include/lua-5.1/lua.h:16:0, from ../../src/host/premake.h:8, from ../../src/host/string_endswith.c:7: /usr/include/lua-5.1/luaconf.h:21:0: warning: "LUA_USE_POSIX" redefined #define LUA_USE_POSIX :0:0: note: this is the location of the previous definition Linking Premake4 cc -o ../../bin/release/premake4 obj/Release/os_chdir.o obj/Release/os_copyfile.o obj/Release/os_getcwd.o obj/Release/os_isdir.o obj/Release/os_isfile.o obj/Release/os_match.o obj/Release/os_mkdir.o obj/Release/os_pathsearch.o obj/Release/os_rmdir.o obj/Release/os_uuid.o obj/Release/path_isabsolute.o obj/Release/premake.o obj/Release/scripts.o obj/Release/string_endswith.o -rdynamic -lm -ldl -llua-5.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rCT0BW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64 + cd premake-4.3 + install -m 755 -Dp ./bin/release/premake4 /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64//usr/bin/premake4 + install -m 644 -Dp ./premake4.1 /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64//usr/share/man/man1/premake4.1 + /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: premake-4.3-16.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VXKZ8U + umask 022 + cd /builddir/build/BUILD + cd premake-4.3 + DOCDIR=/builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64/usr/share/doc/premake + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64/usr/share/doc/premake + cp -pr README.txt /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64/usr/share/doc/premake + cp -pr CHANGES.txt /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64/usr/share/doc/premake + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.G1sqte + umask 022 + cd /builddir/build/BUILD + cd premake-4.3 + LICENSEDIR=/builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64/usr/share/licenses/premake + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64/usr/share/licenses/premake + cp -pr LICENSE.txt /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64/usr/share/licenses/premake + exit 0 Provides: premake = 4.3-16.fc28 premake(riscv-64) = 4.3-16.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/premake-4.3-16.fc28.riscv64 Wrote: /builddir/build/SRPMS/premake-4.3-16.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/premake-4.3-16.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VEyJuF + umask 022 + cd /builddir/build/BUILD + cd premake-4.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/premake-4.3-16.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