Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-posix.spec'], chrootPath='/var/lib/mock/f33-build-130197-40811/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-posix.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 sh: lua: command not found Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/lua-posix-33.3.1-16.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-posix.spec'], chrootPath='/var/lib/mock/f33-build-130197-40811/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-posix.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=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0TS0El + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf luaposix-release-v33.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/release-v33.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd luaposix-release-v33.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.498oUj + umask 022 + cd /builddir/build/BUILD + cd luaposix-release-v33.3.1 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib64/lua/5.3 --datadir=//usr/share/lua/5.3 ## --------------------------- ## ## Configuring luaposix 33.3.1 ## ## --------------------------- ## checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for Minix Amsterdam compiler... no checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for egrep... (cached) /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-ar... ar checking the archiver (ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... (cached) ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ANSI C header files... (cached) yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for strings.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for net/if.h... yes checking for linux/netlink.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking for msgrcv... yes checking for msgsnd... yes checking whether fdatasync is declared... yes checking for library containing crypt... -lcrypt checking for library containing socket... none required checking for clock_gettime in -lrt... yes checking for NcursesW wide-character library... yes checking for working ncursesw/curses.h... yes checking for working ncursesw.h... no checking for working ncurses.h... yes checking for resizeterm... yes checking for strlcpy... no checking for sched_getsheduler... no checking for sched_setscheduler... yes checking for statvfs... yes checking for gethostid... yes checking for posix_fadvise... yes checking for a Lua interpreter with version >= 5.1, < 5.4... lua checking for lua... /usr/bin/lua checking for lua version... 5.3 checking for lua platform... unknown checking for lua script directory... ${prefix}/share/lua/5.3 checking for lua module directory... ${exec_prefix}/lib64/lua/5.3 checking if LUA_VERSION is defined... yes checking lua.h usability... yes checking lua.h presence... yes checking for lua.h... yes checking lualib.h usability... yes checking lualib.h presence... yes checking for lualib.h... yes checking lauxlib.h usability... yes checking lauxlib.h presence... yes checking for lauxlib.h... yes checking luaconf.h usability... yes checking luaconf.h presence... yes checking for luaconf.h... yes checking for Lua header version... 5.3 checking if Lua header version matches 5.3... yes checking for specl... : checking for perl... /usr/bin/perl checking for ldoc... false checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build-aux/config.ld config.status: creating lib/posix/init.lua config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make V=1 -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/luaposix-release-v33.3.1' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/posix.lo ext/posix/posix.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/posix.c -fPIC -DPIC -o ext/posix/.libs/posix.o In file included from ext/posix/ctype.c:22, from ext/posix/posix.c:13: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/ctype.c:22, from ext/posix/posix.c:13: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/ctype.c:22, from ext/posix/posix.c:13: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/ctype.c:22, from ext/posix/posix.c:13: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/ctype.c:22, from ext/posix/posix.c:13: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/ctype.c:22, from ext/posix/posix.c:13: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/ctype.c:22, from ext/posix/posix.c:13: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ In file included from ext/posix/posix.c:18: ext/posix/fnmatch.c: In function 'Pfnmatch': ext/posix/fnmatch.c:46:6: warning: unused variable 'res' [-Wunused-variable] 46 | int res; | ^~~ In file included from ext/posix/ctype.c:22, from ext/posix/posix.c:13: ext/posix/sys/socket.c: In function 'pushsockaddrinfo': ext/posix/sys/socket.c:91:28: warning: the address of 'addr' will always evaluate as 'true' [-Waddress] 91 | pushstringfield("addr", addr); | ^~~~ ./ext/include/_helpers.c:404:6: note: in definition of macro 'pushstringfield' 404 | if (v) { \ | ^ ext/posix/sys/socket.c:97:28: warning: the address of 'addr' will always evaluate as 'true' [-Waddress] 97 | pushstringfield("addr", addr); | ^~~~ ./ext/include/_helpers.c:404:6: note: in definition of macro 'pushstringfield' 404 | if (v) { \ | ^ In file included from ext/posix/ctype.c:22, from ext/posix/posix.c:13: At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -lcrypt -lrt -lncursesw -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/posix.la -rpath /usr/lib64/lua/5.3 ext/posix/posix.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/posix.o -lcrypt -lrt -lncursesw -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,posix.so -o ext/posix/.libs/posix.so libtool: link: ( cd "ext/posix/.libs" && rm -f "posix.la" && ln -s "../posix.la" "posix.la" ) make[1]: Leaving directory '/builddir/build/BUILD/luaposix-release-v33.3.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CQnjIi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64 + cd luaposix-release-v33.3.1 + make install DESTDIR=/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64 make[1]: Entering directory '/builddir/build/BUILD/luaposix-release-v33.3.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/lib64/lua/5.3' /bin/sh ./libtool --mode=install /usr/bin/install -c ext/posix/posix.la '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/lib64/lua/5.3' libtool: install: /usr/bin/install -c ext/posix/.libs/posix.so /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/lib64/lua/5.3/posix.so libtool: install: /usr/bin/install -c ext/posix/.libs/posix.lai /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/lib64/lua/5.3/posix.la libtool: warning: remember to run 'libtool --finish /usr/lib64/lua/5.3' make install-exec-hook make[2]: Entering directory '/builddir/build/BUILD/luaposix-release-v33.3.1' rm -f /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/lib64/lua/5.3/posix.la make[2]: Leaving directory '/builddir/build/BUILD/luaposix-release-v33.3.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix/classes' /usr/bin/install -c -m 644 doc/classes/posix.curses.chstr.html doc/classes/posix.curses.window.html '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix/classes' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix' /usr/bin/install -c -m 644 doc/index.html doc/ldoc.css '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix/examples' /usr/bin/install -c -m 644 doc/examples/curses.lua.html doc/examples/dir.lua.html doc/examples/fork.lua.html doc/examples/fork2.lua.html doc/examples/getopt.lua.html doc/examples/glob.lua.html doc/examples/limit.lua.html doc/examples/lock.lua.html doc/examples/netlink-uevent.lua.html doc/examples/ping.lua.html doc/examples/poll.lua.html doc/examples/signal.lua.html doc/examples/socket.lua.html doc/examples/termios.lua.html doc/examples/tree.lua.html '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix/examples' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/lua/5.3' /usr/bin/install -c -m 644 lib/curses.lua '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/lua/5.3' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/lua/5.3/posix' /usr/bin/install -c -m 644 lib/posix/init.lua lib/posix/_argcheck.lua lib/posix/compat.lua lib/posix/deprecated.lua lib/posix/sys.lua lib/posix/util.lua '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/lua/5.3/posix' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix/modules' /usr/bin/install -c -m 644 doc/modules/posix.ctype.html doc/modules/posix.curses.html doc/modules/posix.dirent.html doc/modules/posix.errno.html doc/modules/posix.fcntl.html doc/modules/posix.fnmatch.html doc/modules/posix.getopt.html doc/modules/posix.glob.html doc/modules/posix.grp.html doc/modules/posix.html doc/modules/posix.libgen.html doc/modules/posix.poll.html doc/modules/posix.pwd.html doc/modules/posix.sched.html doc/modules/posix.signal.html doc/modules/posix.stdio.html doc/modules/posix.stdlib.html doc/modules/posix.sys.msg.html doc/modules/posix.sys.resource.html doc/modules/posix.sys.socket.html doc/modules/posix.sys.stat.html doc/modules/posix.sys.statvfs.html doc/modules/posix.sys.time.html doc/modules/posix.sys.times.html doc/modules/posix.sys.utsname.html doc/modules/posix.sys.wait.html doc/modules/posix.syslog.html doc/modules/posix.termio.html doc/modules/posix.time.html doc/modules/posix.unistd.html doc/modules/posix.utime.html '/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/luaposix/modules' make[1]: Leaving directory '/builddir/build/BUILD/luaposix-release-v33.3.1' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 33.3.1-16.fc33 --unique-debug-suffix -33.3.1-16.fc33.riscv64 --unique-debug-src-base lua-posix-33.3.1-16.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/luaposix-release-v33.3.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/lib64/lua/5.3/posix.so extracting debug info from /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/lib64/lua/5.3/posix.so original debug info size: 748kB, size after compression: 728kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 521 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qBEmJk + umask 022 + cd /builddir/build/BUILD + cd luaposix-release-v33.3.1 + make V=1 check make check-local make[1]: Entering directory '/builddir/build/BUILD/luaposix-release-v33.3.1' LUA='/usr/bin/lua' PACKAGE_STRING='luaposix 33.3.1' abs_top_builddir='/builddir/build/BUILD/luaposix-release-v33.3.1' abs_top_srcdir='/builddir/build/BUILD/luaposix-release-v33.3.1' top_builddir='.' top_srcdir='.' : --verbose --formatter=report ./specs/posix_version_spec.yaml ./specs/curses_spec.yaml ./specs/lposix_spec.yaml ./specs/posix_compat_spec.yaml ./specs/posix_ctype_spec.yaml ./specs/posix_deprecated_spec.yaml ./specs/posix_dirent_spec.yaml ./specs/posix_fcntl_spec.yaml ./specs/posix_fnmatch_spec.yaml ./specs/posix_grp_spec.yaml ./specs/posix_pwd_spec.yaml ./specs/posix_signal_spec.yaml ./specs/posix_stdio_spec.yaml ./specs/posix_stdlib_spec.yaml ./specs/posix_sys_msg_spec.yaml ./specs/posix_sys_resource_spec.yaml ./specs/posix_sys_socket_spec.yaml ./specs/posix_sys_stat_spec.yaml ./specs/posix_sys_statvfs_spec.yaml ./specs/posix_sys_time_spec.yaml ./specs/posix_sys_times_spec.yaml ./specs/posix_sys_utsname_spec.yaml ./specs/posix_syslog_spec.yaml ./specs/posix_time_spec.yaml ./specs/posix_unistd_spec.yaml ./specs/posix_spec.yaml /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/ctype.lo ext/posix/ctype.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/ctype.c -fPIC -DPIC -o ext/posix/.libs/ctype.o In file included from ext/posix/ctype.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/ctype.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/ctype.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/ctype.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/ctype.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/ctype.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/ctype.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/ctype.la ext/posix/ctype.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/ctype.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,ctype.so -o ext/posix/.libs/ctype.so libtool: link: ( cd "ext/posix/.libs" && rm -f "ctype.la" && ln -s "../ctype.la" "ctype.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/curses.lo ext/posix/curses.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/curses.c -fPIC -DPIC -o ext/posix/.libs/curses.o In file included from ext/posix/curses/chstr.c:47, from ext/posix/curses.c:85: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/curses/chstr.c:47, from ext/posix/curses.c:85: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/curses/chstr.c:47, from ext/posix/curses.c:85: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/curses/chstr.c:47, from ext/posix/curses.c:85: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/curses/chstr.c:47, from ext/posix/curses.c:85: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/curses/chstr.c:47, from ext/posix/curses.c:85: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/curses/chstr.c:47, from ext/posix/curses.c:85: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:229:1: warning: 'checknargs' defined but not used [-Wunused-function] 229 | checknargs(lua_State *L, int maxargs) | ^~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -lncursesw -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/curses.la ext/posix/curses.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/curses.o -lncursesw -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,curses.so -o ext/posix/.libs/curses.so libtool: link: ( cd "ext/posix/.libs" && rm -f "curses.la" && ln -s "../curses.la" "curses.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/curses/chstr.lo ext/posix/curses/chstr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/curses/chstr.c -fPIC -DPIC -o ext/posix/curses/.libs/chstr.o In file included from ext/posix/curses/chstr.c:47: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/curses/chstr.c:47: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/curses/chstr.c:47: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/curses/chstr.c:47: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/curses/chstr.c:47: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/curses/chstr.c:47: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/curses/chstr.c:47: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:229:1: warning: 'checknargs' defined but not used [-Wunused-function] 229 | checknargs(lua_State *L, int maxargs) | ^~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/curses/chstr.la ext/posix/curses/chstr.lo libtool: link: ar cru ext/posix/curses/.libs/chstr.a ext/posix/curses/.libs/chstr.o libtool: link: ranlib ext/posix/curses/.libs/chstr.a libtool: link: ( cd "ext/posix/curses/.libs" && rm -f "chstr.la" && ln -s "../chstr.la" "chstr.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/curses/window.lo ext/posix/curses/window.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/curses/window.c -fPIC -DPIC -o ext/posix/curses/.libs/window.o In file included from ext/posix/curses/window.c:43: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/curses/window.c:43: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/curses/window.c:43: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/curses/window.c:43: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/curses/window.c:43: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/curses/window.c:43: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/curses/window.c:43: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:229:1: warning: 'checknargs' defined but not used [-Wunused-function] 229 | checknargs(lua_State *L, int maxargs) | ^~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/curses/window.la ext/posix/curses/window.lo libtool: link: ar cru ext/posix/curses/.libs/window.a ext/posix/curses/.libs/window.o libtool: link: ranlib ext/posix/curses/.libs/window.a libtool: link: ( cd "ext/posix/curses/.libs" && rm -f "window.la" && ln -s "../window.la" "window.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/dirent.lo ext/posix/dirent.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/dirent.c -fPIC -DPIC -o ext/posix/.libs/dirent.o In file included from ext/posix/dirent.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/dirent.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/dirent.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/dirent.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/dirent.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/dirent.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/dirent.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/dirent.la ext/posix/dirent.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/dirent.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,dirent.so -o ext/posix/.libs/dirent.so libtool: link: ( cd "ext/posix/.libs" && rm -f "dirent.la" && ln -s "../dirent.la" "dirent.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/errno.lo ext/posix/errno.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/errno.c -fPIC -DPIC -o ext/posix/.libs/errno.o In file included from ext/posix/errno.c:29: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/errno.c:29: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/errno.c:29: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/errno.c:29: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/errno.c:29: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/errno.c:29: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/errno.c:29: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/errno.la ext/posix/errno.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/errno.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,errno.so -o ext/posix/.libs/errno.so libtool: link: ( cd "ext/posix/.libs" && rm -f "errno.la" && ln -s "../errno.la" "errno.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/fcntl.lo ext/posix/fcntl.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/fcntl.c -fPIC -DPIC -o ext/posix/.libs/fcntl.o In file included from ext/posix/fcntl.c:25: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/fcntl.c:25: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/fcntl.c:25: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/fcntl.c:25: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/fcntl.c:25: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/fcntl.c:25: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/fcntl.c:25: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/fcntl.la ext/posix/fcntl.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/fcntl.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,fcntl.so -o ext/posix/.libs/fcntl.so libtool: link: ( cd "ext/posix/.libs" && rm -f "fcntl.la" && ln -s "../fcntl.la" "fcntl.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/fnmatch.lo ext/posix/fnmatch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/fnmatch.c -fPIC -DPIC -o ext/posix/.libs/fnmatch.o In file included from ext/posix/fnmatch.c:26: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/fnmatch.c:26: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/fnmatch.c:26: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/fnmatch.c:26: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/fnmatch.c:26: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/fnmatch.c:26: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/fnmatch.c:26: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ ext/posix/fnmatch.c: In function 'Pfnmatch': ext/posix/fnmatch.c:46:6: warning: unused variable 'res' [-Wunused-variable] 46 | int res; | ^~~ In file included from ext/posix/fnmatch.c:26: At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/fnmatch.la ext/posix/fnmatch.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/fnmatch.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,fnmatch.so -o ext/posix/.libs/fnmatch.so libtool: link: ( cd "ext/posix/.libs" && rm -f "fnmatch.la" && ln -s "../fnmatch.la" "fnmatch.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/getopt.lo ext/posix/getopt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/getopt.c -fPIC -DPIC -o ext/posix/.libs/getopt.o In file included from ext/posix/getopt.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/getopt.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/getopt.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/getopt.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/getopt.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/getopt.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/getopt.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/getopt.la ext/posix/getopt.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/getopt.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,getopt.so -o ext/posix/.libs/getopt.so libtool: link: ( cd "ext/posix/.libs" && rm -f "getopt.la" && ln -s "../getopt.la" "getopt.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/glob.lo ext/posix/glob.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/glob.c -fPIC -DPIC -o ext/posix/.libs/glob.o In file included from ext/posix/glob.c:25: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/glob.c:25: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/glob.c:25: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/glob.c:25: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/glob.c:25: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/glob.c:25: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/glob.c:25: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/glob.la ext/posix/glob.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/glob.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,glob.so -o ext/posix/.libs/glob.so libtool: link: ( cd "ext/posix/.libs" && rm -f "glob.la" && ln -s "../glob.la" "glob.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/grp.lo ext/posix/grp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/grp.c -fPIC -DPIC -o ext/posix/.libs/grp.o In file included from ext/posix/grp.c:25: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/grp.c:25: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/grp.c:25: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/grp.c:25: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/grp.c:25: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/grp.c:25: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/grp.c:25: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/grp.la ext/posix/grp.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/grp.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,grp.so -o ext/posix/.libs/grp.so libtool: link: ( cd "ext/posix/.libs" && rm -f "grp.la" && ln -s "../grp.la" "grp.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/libgen.lo ext/posix/libgen.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/libgen.c -fPIC -DPIC -o ext/posix/.libs/libgen.o In file included from ext/posix/libgen.c:24: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/libgen.c:24: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/libgen.c:24: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/libgen.c:24: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/libgen.c:24: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/libgen.c:24: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/libgen.c:24: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/libgen.la ext/posix/libgen.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/libgen.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,libgen.so -o ext/posix/.libs/libgen.so libtool: link: ( cd "ext/posix/.libs" && rm -f "libgen.la" && ln -s "../libgen.la" "libgen.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/poll.lo ext/posix/poll.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/poll.c -fPIC -DPIC -o ext/posix/.libs/poll.o In file included from ext/posix/poll.c:24: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/poll.c:24: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/poll.c:24: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/poll.c:24: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/poll.c:24: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/poll.c:24: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/poll.c:24: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/poll.la ext/posix/poll.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/poll.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,poll.so -o ext/posix/.libs/poll.so libtool: link: ( cd "ext/posix/.libs" && rm -f "poll.la" && ln -s "../poll.la" "poll.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/pwd.lo ext/posix/pwd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/pwd.c -fPIC -DPIC -o ext/posix/.libs/pwd.o In file included from ext/posix/pwd.c:26: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/pwd.c:26: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/pwd.c:26: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/pwd.c:26: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/pwd.c:26: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/pwd.c:26: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/pwd.c:26: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/pwd.la ext/posix/pwd.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/pwd.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,pwd.so -o ext/posix/.libs/pwd.so libtool: link: ( cd "ext/posix/.libs" && rm -f "pwd.la" && ln -s "../pwd.la" "pwd.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sched.lo ext/posix/sched.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sched.c -fPIC -DPIC -o ext/posix/.libs/sched.o In file included from ext/posix/sched.c:30: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sched.c:30: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sched.c:30: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sched.c:30: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sched.c:30: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sched.c:30: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sched.c:30: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sched.la ext/posix/sched.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/sched.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,sched.so -o ext/posix/.libs/sched.so libtool: link: ( cd "ext/posix/.libs" && rm -f "sched.la" && ln -s "../sched.la" "sched.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/signal.lo ext/posix/signal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/signal.c -fPIC -DPIC -o ext/posix/.libs/signal.o In file included from ext/posix/signal.c:27: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/signal.c:27: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/signal.c:27: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/signal.c:27: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/signal.c:27: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/signal.c:27: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/signal.c:27: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/signal.la ext/posix/signal.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/signal.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,signal.so -o ext/posix/.libs/signal.so libtool: link: ( cd "ext/posix/.libs" && rm -f "signal.la" && ln -s "../signal.la" "signal.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/stdio.lo ext/posix/stdio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/stdio.c -fPIC -DPIC -o ext/posix/.libs/stdio.o In file included from ext/posix/stdio.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/stdio.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/stdio.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/stdio.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/stdio.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/stdio.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/stdio.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/stdio.la ext/posix/stdio.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/stdio.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,stdio.so -o ext/posix/.libs/stdio.so libtool: link: ( cd "ext/posix/.libs" && rm -f "stdio.la" && ln -s "../stdio.la" "stdio.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/stdlib.lo ext/posix/stdlib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/stdlib.c -fPIC -DPIC -o ext/posix/.libs/stdlib.o In file included from ext/posix/stdlib.c:23: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/stdlib.c:23: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/stdlib.c:23: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/stdlib.c:23: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/stdlib.c:23: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/stdlib.c:23: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/stdlib.c:23: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -lcrypt -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/stdlib.la ext/posix/stdlib.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/stdlib.o -lcrypt -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,stdlib.so -o ext/posix/.libs/stdlib.so libtool: link: ( cd "ext/posix/.libs" && rm -f "stdlib.la" && ln -s "../stdlib.la" "stdlib.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/msg.lo ext/posix/sys/msg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/msg.c -fPIC -DPIC -o ext/posix/sys/.libs/msg.o In file included from ext/posix/sys/msg.c:25: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/msg.c:25: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/msg.c:25: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/msg.c:25: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/msg.c:25: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/msg.c:25: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/msg.c:25: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/msg.la ext/posix/sys/msg.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/msg.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,msg.so -o ext/posix/sys/.libs/msg.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "msg.la" && ln -s "../msg.la" "msg.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/resource.lo ext/posix/sys/resource.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/resource.c -fPIC -DPIC -o ext/posix/sys/.libs/resource.o In file included from ext/posix/sys/resource.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/resource.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/resource.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/resource.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/resource.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/resource.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/resource.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/resource.la ext/posix/sys/resource.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/resource.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,resource.so -o ext/posix/sys/.libs/resource.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "resource.la" && ln -s "../resource.la" "resource.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/socket.lo ext/posix/sys/socket.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/socket.c -fPIC -DPIC -o ext/posix/sys/.libs/socket.o In file included from ext/posix/sys/socket.c:25: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/socket.c:25: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/socket.c:25: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/socket.c:25: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/socket.c:25: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/socket.c:25: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/socket.c:25: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ ext/posix/sys/socket.c: In function 'pushsockaddrinfo': ext/posix/sys/socket.c:91:28: warning: the address of 'addr' will always evaluate as 'true' [-Waddress] 91 | pushstringfield("addr", addr); | ^~~~ ./ext/include/_helpers.c:404:6: note: in definition of macro 'pushstringfield' 404 | if (v) { \ | ^ ext/posix/sys/socket.c:97:28: warning: the address of 'addr' will always evaluate as 'true' [-Waddress] 97 | pushstringfield("addr", addr); | ^~~~ ./ext/include/_helpers.c:404:6: note: in definition of macro 'pushstringfield' 404 | if (v) { \ | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/socket.la ext/posix/sys/socket.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/socket.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,socket.so -o ext/posix/sys/.libs/socket.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "socket.la" && ln -s "../socket.la" "socket.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/stat.lo ext/posix/sys/stat.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/stat.c -fPIC -DPIC -o ext/posix/sys/.libs/stat.o In file included from ext/posix/sys/stat.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/stat.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/stat.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/stat.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/stat.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/stat.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/stat.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/stat.la ext/posix/sys/stat.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/stat.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,stat.so -o ext/posix/sys/.libs/stat.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "stat.la" && ln -s "../stat.la" "stat.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/statvfs.lo ext/posix/sys/statvfs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/statvfs.c -fPIC -DPIC -o ext/posix/sys/.libs/statvfs.o In file included from ext/posix/sys/statvfs.c:28: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/statvfs.c:28: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/statvfs.c:28: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/statvfs.c:28: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/statvfs.c:28: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/statvfs.c:28: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/statvfs.c:28: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/statvfs.la ext/posix/sys/statvfs.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/statvfs.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,statvfs.so -o ext/posix/sys/.libs/statvfs.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "statvfs.la" && ln -s "../statvfs.la" "statvfs.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/time.lo ext/posix/sys/time.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/time.c -fPIC -DPIC -o ext/posix/sys/.libs/time.o In file included from ext/posix/sys/time.c:23: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/time.c:23: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/time.c:23: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/time.c:23: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/time.c:23: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/time.c:23: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/time.c:23: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/time.la ext/posix/sys/time.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/time.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,time.so -o ext/posix/sys/.libs/time.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "time.la" && ln -s "../time.la" "time.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/times.lo ext/posix/sys/times.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/times.c -fPIC -DPIC -o ext/posix/sys/.libs/times.o In file included from ext/posix/sys/times.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/times.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/times.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/times.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/times.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/times.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/times.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/times.la ext/posix/sys/times.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/times.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,times.so -o ext/posix/sys/.libs/times.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "times.la" && ln -s "../times.la" "times.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/utsname.lo ext/posix/sys/utsname.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/utsname.c -fPIC -DPIC -o ext/posix/sys/.libs/utsname.o In file included from ext/posix/sys/utsname.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/utsname.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/utsname.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/utsname.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/utsname.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/utsname.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/utsname.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/utsname.la ext/posix/sys/utsname.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/utsname.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,utsname.so -o ext/posix/sys/.libs/utsname.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "utsname.la" && ln -s "../utsname.la" "utsname.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/sys/wait.lo ext/posix/sys/wait.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/sys/wait.c -fPIC -DPIC -o ext/posix/sys/.libs/wait.o In file included from ext/posix/sys/wait.c:22: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/wait.c:22: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/wait.c:22: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/sys/wait.c:22: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/sys/wait.c:22: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/sys/wait.c:22: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/sys/wait.c:22: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:364:1: warning: 'pushresult' defined but not used [-Wunused-function] 364 | pushresult(lua_State *L, int i, const char *info) | ^~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix/sys' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/sys/wait.la ext/posix/sys/wait.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/sys/.libs/wait.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,wait.so -o ext/posix/sys/.libs/wait.so libtool: link: ( cd "ext/posix/sys/.libs" && rm -f "wait.la" && ln -s "../wait.la" "wait.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/syslog.lo ext/posix/syslog.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/syslog.c -fPIC -DPIC -o ext/posix/.libs/syslog.o In file included from ext/posix/syslog.c:20: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/syslog.c:20: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/syslog.c:20: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/syslog.c:20: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/syslog.c:20: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/syslog.c:20: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/syslog.c:20: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/syslog.la ext/posix/syslog.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/syslog.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,syslog.so -o ext/posix/.libs/syslog.so libtool: link: ( cd "ext/posix/.libs" && rm -f "syslog.la" && ln -s "../syslog.la" "syslog.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/termio.lo ext/posix/termio.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/termio.c -fPIC -DPIC -o ext/posix/.libs/termio.o In file included from ext/posix/termio.c:24: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/termio.c:24: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/termio.c:24: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/termio.c:24: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/termio.c:24: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/termio.c:24: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/termio.c:24: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/termio.la ext/posix/termio.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/termio.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,termio.so -o ext/posix/.libs/termio.so libtool: link: ( cd "ext/posix/.libs" && rm -f "termio.la" && ln -s "../termio.la" "termio.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/time.lo ext/posix/time.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/time.c -fPIC -DPIC -o ext/posix/.libs/time.o In file included from ext/posix/time.c:23: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/time.c:23: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/time.c:23: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/time.c:23: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/time.c:23: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/time.c:23: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/time.c:23: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:209:1: warning: 'optint' defined but not used [-Wunused-function] 209 | optint(lua_State *L, int narg, lua_Integer def) | ^~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -lrt -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/time.la ext/posix/time.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/time.o -lrt -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,time.so -o ext/posix/.libs/time.so libtool: link: ( cd "ext/posix/.libs" && rm -f "time.la" && ln -s "../time.la" "time.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/unistd.lo ext/posix/unistd.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/unistd.c -fPIC -DPIC -o ext/posix/.libs/unistd.o In file included from ext/posix/unistd.c:30: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/unistd.c:30: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/unistd.c:30: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/unistd.c:30: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/unistd.c:30: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/unistd.c:30: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/unistd.c:30: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/unistd.la ext/posix/unistd.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/unistd.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,unistd.so -o ext/posix/.libs/unistd.so libtool: link: ( cd "ext/posix/.libs" && rm -f "unistd.la" && ln -s "../unistd.la" "unistd.la" ) /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c -o ext/posix/utime.lo ext/posix/utime.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I ./ext/include -I ./ext/posix -D_XOPEN_SOURCE=700 -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 -c ext/posix/utime.c -fPIC -DPIC -o ext/posix/.libs/utime.o In file included from ext/posix/utime.c:23: ./ext/include/_helpers.c:71: warning: "lua_objlen" redefined 71 | # define lua_objlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/utime.c:23: /usr/include/luaconf-riscv64.h:390: note: this is the location of the previous definition 390 | #define lua_objlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/utime.c:23: ./ext/include/_helpers.c:72: warning: "lua_strlen" redefined 72 | # define lua_strlen lua_rawlen | In file included from /usr/include/luaconf.h:56, from /usr/include/lua.h:16, from ./ext/include/_helpers.c:59, from ext/posix/utime.c:23: /usr/include/luaconf-riscv64.h:388: note: this is the location of the previous definition 388 | #define lua_strlen(L,i) lua_rawlen(L, (i)) | In file included from ext/posix/utime.c:23: ./ext/include/_helpers.c:74: warning: "luaL_register" redefined 74 | # define luaL_register(L,n,l) (luaL_newlib(L,l)) | In file included from ./ext/include/_helpers.c:61, from ext/posix/utime.c:23: /usr/include/lauxlib.h:210: note: this is the location of the previous definition 210 | #define luaL_register(L,n,l) (luaL_openlib(L,(n),(l),0)) | In file included from ext/posix/utime.c:23: ./ext/include/_helpers.c: In function 'optstringfield': ./ext/include/_helpers.c:336:14: warning: unused variable 'r' [-Wunused-variable] 336 | const char *r; | ^ At top level: ./ext/include/_helpers.c:386:1: warning: 'binding_notimplemented' defined but not used [-Wunused-function] 386 | binding_notimplemented(lua_State *L, const char *fname, const char *libname) | ^~~~~~~~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:372:1: warning: 'badoption' defined but not used [-Wunused-function] 372 | badoption(lua_State *L, int i, const char *what, int option) | ^~~~~~~~~ ./ext/include/_helpers.c:334:1: warning: 'optstringfield' defined but not used [-Wunused-function] 334 | optstringfield(lua_State *L, int index, const char *k, const char *def) | ^~~~~~~~~~~~~~ ./ext/include/_helpers.c:322:1: warning: 'optintfield' defined but not used [-Wunused-function] 322 | optintfield(lua_State *L, int index, const char *k, int def) | ^~~~~~~~~~~ ./ext/include/_helpers.c:302:1: warning: 'checknumberfield' defined but not used [-Wunused-function] 302 | checknumberfield(lua_State *L, int index, const char *k) | ^~~~~~~~~~~~~~~~ ./ext/include/_helpers.c:284:1: warning: 'checkfieldnames' defined but not used [-Wunused-function] 284 | checkfieldnames(lua_State *L, int index, int n, const char * const S[]) | ^~~~~~~~~~~~~~~ ./ext/include/_helpers.c:217:1: warning: 'optstring' defined but not used [-Wunused-function] 217 | optstring(lua_State *L, int narg, const char *def) | ^~~~~~~~~ ./ext/include/_helpers.c:200:1: warning: 'optboolean' defined but not used [-Wunused-function] 200 | optboolean(lua_State *L, int narg, int def) | ^~~~~~~~~~ ./ext/include/_helpers.c:188:1: warning: 'optch' defined but not used [-Wunused-function] 188 | optch(lua_State *L, int narg, chtype def) | ^~~~~ ./ext/include/_helpers.c:168:1: warning: 'checklong' defined but not used [-Wunused-function] 168 | checklong(lua_State *L, int narg) | ^~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=link 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 -module -avoid-version -rpath '/usr/lib64/lua/5.3/posix' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ext/posix/utime.la ext/posix/utime.lo libtool: link: gcc -shared -fPIC -DPIC ext/posix/.libs/utime.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,-soname -Wl,utime.so -o ext/posix/.libs/utime.so libtool: link: ( cd "ext/posix/.libs" && rm -f "utime.la" && ln -s "../utime.la" "utime.la" ) make[1]: Leaving directory '/builddir/build/BUILD/luaposix-release-v33.3.1' if test -d ./.git \ && git --version >/dev/null 2>&1; then \ cd . && \ git submodule --quiet foreach \ 'test "$(git rev-parse "$sha1")" \ = "$(git merge-base origin "$sha1")"' \ || { echo 'GNUmakefile: found non-public submodule commit' >&2; \ exit 1; }; \ else \ : ; \ fi + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lua-posix-33.3.1-16.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2TO60m + umask 022 + cd /builddir/build/BUILD + cd luaposix-release-v33.3.1 + DOCDIR=/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/lua-posix + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/lua-posix + cp -pr AUTHORS /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/lua-posix + cp -pr ChangeLog /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/lua-posix + cp -pr NEWS /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/lua-posix + cp -pr README /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/doc/lua-posix + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DG5Vfm + umask 022 + cd /builddir/build/BUILD + cd luaposix-release-v33.3.1 + LICENSEDIR=/builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/licenses/lua-posix + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/licenses/lua-posix + cp -pr COPYING /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64/usr/share/licenses/lua-posix + RPM_EC=0 ++ jobs -p + exit 0 Provides: lua-posix = 33.3.1-16.fc33 lua-posix(riscv-64) = 33.3.1-16.fc33 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) libcrypt.so.2()(64bit) libcrypt.so.2(XCRYPT_2.0)(64bit) libncursesw.so.6()(64bit) librt.so.1()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: lua-posix-debugsource-33.3.1-16.fc33.riscv64 Provides: lua-posix-debugsource = 33.3.1-16.fc33 lua-posix-debugsource(riscv-64) = 33.3.1-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lua-posix-debuginfo-33.3.1-16.fc33.riscv64 Provides: debuginfo(build-id) = 53b39833fd8720abca41c403d229075c91d271a1 lua-posix-debuginfo = 33.3.1-16.fc33 lua-posix-debuginfo(riscv-64) = 33.3.1-16.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lua-posix-debugsource(riscv-64) = 33.3.1-16.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64 Wrote: /builddir/build/RPMS/lua-posix-debugsource-33.3.1-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lua-posix-debuginfo-33.3.1-16.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lua-posix-33.3.1-16.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ev8FJm + umask 022 + cd /builddir/build/BUILD + cd luaposix-release-v33.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lua-posix-33.3.1-16.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0