rpmbuild -ba gateway-rockspecs.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VZbrW2
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf gateway-rockspecs-2.9.2
+ /usr/bin/mkdir -p gateway-rockspecs-2.9.2
+ cd gateway-rockspecs-2.9.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0JCq65
+ umask 022
+ cd /root/rpmbuild/BUILD
+ '[' /root/rpmbuild/BUILDROOT/gateway-rockspecs-2.9.2-0.el8.ppc64le '!=' / ']'
+ rm -rf /root/rpmbuild/BUILDROOT/gateway-rockspecs-2.9.2-0.el8.ppc64le
++ dirname /root/rpmbuild/BUILDROOT/gateway-rockspecs-2.9.2-0.el8.ppc64le
+ mkdir -p /root/rpmbuild/BUILDROOT
+ mkdir /root/rpmbuild/BUILDROOT/gateway-rockspecs-2.9.2-0.el8.ppc64le
+ cd gateway-rockspecs-2.9.2
+ export 'LUA_PATH=./lua_modules/share/lua/5.1/?.lua;./lua_modules/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;'
+ LUA_PATH='./lua_modules/share/lua/5.1/?.lua;./lua_modules/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;'
+ for source in "/root/rpmbuild/SOURCES"/*.src.rock
+ luarocks install --deps-mode=none --tree /root/rpmbuild/BUILDROOT/gateway-rockspecs-2.9.2-0.el8.ppc64le/usr/local /root/rpmbuild/SOURCES/argparse-0.6.0-1.src.rock
Error: Failed finding Lua header files. You may need to install them or configure LUA_INCDIR.
error: Bad exit status from /var/tmp/rpm-tmp.0JCq65 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.0JCq65 (%install)
ghatwala-47-1-bastion-0.nip.io:/home/harsha/apicast_rpms/gateway-rockspecs>