<86>Mar 21 18:33:26 userdel[3873584]: delete user 'rooter' <86>Mar 21 18:33:26 userdel[3873584]: removed group 'rooter' owned by 'rooter' <86>Mar 21 18:33:26 userdel[3873584]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 21 18:33:26 groupadd[3873605]: group added to /etc/group: name=rooter, GID=642 <86>Mar 21 18:33:26 groupadd[3873605]: group added to /etc/gshadow: name=rooter <86>Mar 21 18:33:26 groupadd[3873605]: new group: name=rooter, GID=642 <86>Mar 21 18:33:26 useradd[3873628]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Mar 21 18:33:26 userdel[3873649]: delete user 'builder' <86>Mar 21 18:33:26 userdel[3873649]: removed group 'builder' owned by 'builder' <86>Mar 21 18:33:26 userdel[3873649]: removed shadow group 'builder' owned by 'builder' <86>Mar 21 18:33:26 groupadd[3873667]: group added to /etc/group: name=builder, GID=643 <86>Mar 21 18:33:26 groupadd[3873667]: group added to /etc/gshadow: name=builder <86>Mar 21 18:33:26 groupadd[3873667]: new group: name=builder, GID=643 <86>Mar 21 18:33:26 useradd[3873678]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash warning: Macro %luarocks_make not found warning: Macro %luarocks_move_docs not found warning: Macro %lua_path_add_buildroot not found warning: Macro %luarocks_dbdir not found warning: Macro %luarocks_dbdir not found warning: Macro %lua_modulesdir not found warning: Macro %lua_modulesdir_noarch not found warning: Macro %luarocks_dbdir not found warning: Macro %luarocks_dbdir not found <13>Mar 21 18:33:30 rpmi: lua5.3-5.3.5-alt2 p9+237798.100.1.1 1568845219 installed <13>Mar 21 18:33:30 rpmi: zip-30000000:3.0-alt1 1332241772 installed <13>Mar 21 18:33:30 rpmi: p7zip-16.02-alt5 p9+250716.100.2.1 1588177798 installed <13>Mar 21 18:33:30 rpmi: libnatspec-0.3.1-alt2 1445691580 installed <13>Mar 21 18:33:30 rpmi: unzip-6.0-alt4 p9+261695.100.1.1 1605219254 installed <13>Mar 21 18:33:30 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696281 installed <13>Mar 21 18:33:30 rpmi: chrpath-0.16-alt1 1453066316 installed <13>Mar 21 18:33:30 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Mar 21 18:33:30 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Mar 21 18:33:30 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 21 18:33:30 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 21 18:33:30 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Mar 21 18:33:30 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Mar 21 18:33:30 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Mar 21 18:33:30 rpmi: libcrypto1.1-1.1.1j-alt1 p9+267719.100.1.1 1615557607 installed <13>Mar 21 18:33:30 rpmi: libssl1.1-1.1.1j-alt1 p9+267719.100.1.1 1615557607 installed <13>Mar 21 18:33:30 rpmi: wget-1.20.3-alt1 sisyphus+226657.100.1.1 1554481535 installed <13>Mar 21 18:33:30 rpmi: luarocks-2.4.2-alt4 1517909452 installed <13>Mar 21 18:33:30 rpmi: liblua5.3-devel-5.3.5-alt2 p9+237798.100.1.1 1568845219 installed <13>Mar 21 18:33:30 rpmi: rpm-macros-lua-1.3-alt2 1517909412 installed Warning: This looks like a local rocks tree, but you did not pass --local-tree. Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/lua-module-luasocket-3.0rc1-alt2.nosrc.rpm (w1.gzdio) Installing lua-module-luasocket-3.0rc1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.43544 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf luasocket-3.0-rc1 + echo 'Source #0 (v3.0-rc1.zip):' Source #0 (v3.0-rc1.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/v3.0-rc1.zip + cd luasocket-3.0-rc1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.43544 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lua-module-luasocket-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lua-module-luasocket-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd luasocket-3.0-rc1 + mkdir -p /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks + cp -a /usr/lib/luarocks/rocks/manifest /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks + find /usr/lib/luarocks/rocks -mindepth 1 -maxdepth 1 -type d '!' -name luasocket -exec ln -s '{}' /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks ';' + lua /usr/bin/luarocks make --local --to=/usr/src/tmp/lua-module-luasocket-buildroot/usr /usr/src/RPM/SOURCES/luasocket-3.0rc1-1.rockspec gcc -O2 -fPIC -I/usr/include -c src/luasocket.c -o src/luasocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/inet.c -o src/inet.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/except.c -o src/except.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/select.c -o src/select.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/tcp.c -o src/tcp.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/udp.c -o src/udp.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o socket/core.so -L/usr/lib src/luasocket.o src/timeout.o src/buffer.o src/io.o src/auxiliar.o src/options.o src/inet.o src/except.o src/select.o src/tcp.o src/udp.o src/usocket.o gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/unix.c -o src/unix.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o socket/unix.so -L/usr/lib src/buffer.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/unix.o gcc -O2 -fPIC -I/usr/include -c src/mime.c -o src/mime.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o mime/core.so -L/usr/lib src/mime.o gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -O2 -fPIC -I/usr/include -c src/serial.c -o src/serial.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) gcc -shared -o socket/serial.so -L/usr/lib src/buffer.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/serial.o luasocket 3.0rc1-1 is now installed in /usr/src/tmp/lua-module-luasocket-buildroot/usr (license: MIT) ++ echo luasocket-3.0rc1-1 ++ tr .- _ + rename luasocket_3_0rc1_1- '' /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/mime /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/ltn12.lua /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/mime.lua /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/socket /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/socket.lua + : + subst 's|/usr/src/tmp/lua-module-luasocket-buildroot||g' '/usr/src/tmp/lua-module-luasocket-buildroot/usr/bin/*' subst: sed: cannot stat /usr/src/tmp/lua-module-luasocket-buildroot/usr/bin/*: No such file or directory + : ++ find /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3 ++ grep '.so$' + for f in `find /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3 | grep .so$` ++ chrpath -l /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/core.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib:?||' + _rpath='/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/socket/core.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/socket/core.so: no rpath or runpath tag found.' /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/core.so /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/core.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3 | grep .so$` ++ chrpath -l /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/serial.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib:?||' + _rpath='/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/socket/serial.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/socket/serial.so: no rpath or runpath tag found.' /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/serial.so /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/serial.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3 | grep .so$` ++ chrpath -l /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/unix.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib:?||' + _rpath='/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/socket/unix.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/socket/unix.so: no rpath or runpath tag found.' /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/unix.so /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/socket/unix.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3 | grep .so$` ++ chrpath -l /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/mime/core.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib:?||' + _rpath='/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/mime/core.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua-module-luasocket-buildroot/lua/5.3/mime/core.so: no rpath or runpath tag found.' /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/mime/core.so /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/mime/core.so: no rpath or runpath tag found. + : + echo Sanity checks for cross-Lua builds Sanity checks for cross-Lua builds + '[' -d /usr/lib/luarocks/rocks/luasocket ']' + '[' -d /usr/lib/luarocks/rocks/luasocket ']' + rm -rf docs_from_rockstree + mv /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/doc/ docs_from_rockstree + ln -s /usr/share/doc/lua-module-luasocket-3.0rc1 /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/doc + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lua-module-luasocket-buildroot (auto) mode of './usr/lib/lua/5.3/socket/core.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/lua/5.3/socket/serial.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/lua/5.3/socket/unix.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/lua/5.3/mime/core.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/lua-module-luasocket-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/lua-module-luasocket-buildroot/ (default) Compressing files in /usr/src/tmp/lua-module-luasocket-buildroot (auto) Adjusting library links in /usr/src/tmp/lua-module-luasocket-buildroot ./usr/lib: 056-debuginfo.brp: WARNING: debuginfo without debug sources. Verifying ELF objects in /usr/src/tmp/lua-module-luasocket-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_checkoption verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_tonumberx verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_checkinteger verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_settable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_checktype verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_rotate verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_copy verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushlstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_callk verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_error verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_pcallk verify-elf: WARNING: ./usr/lib/lua/5.3/socket/core.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_tonumberx verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_copy verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/serial.so: uses non-LFS functions: open verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_checkoption verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_tonumberx verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_copy verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib/lua/5.3/socket/unix.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_checkinteger verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: lua_pushlstring verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_addstring verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib/lua/5.3/mime/core.so: undefined symbol: luaL_buffinit Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.29487 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd luasocket-3.0-rc1 + export 'LUA_PATH=/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/?/init.lua;/usr/lib/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua' + LUA_PATH='/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/?/init.lua;/usr/share/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/?.lua;/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/lua/5.3/?/init.lua;/usr/lib/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua' + export 'LUA_CPATH=/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/?.so;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/loadall.so;/usr/lib/lua/5.3/?.so;/usr/lib/lua/5.3/loadall.so' + LUA_CPATH='/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/?.so;/usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/lua/5.3/loadall.so;/usr/lib/lua/5.3/?.so;/usr/lib/lua/5.3/loadall.so' + sleep 1 + lua /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/test/testsrvr.lua server: waiting for client connection... + lua /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/test/testclnt.lua ---------------------------------------------- LuaSocket Test Procedures ---------------------------------------------- attempting control connection...connected! ---------------------------------------------- testing: method registration ---------------------------------------------- tcp{master} methods are ok Warning! IPv6 does not support! udp{unconnected} methods are ok Warning! IPv6 does not support! ---------------------------------------------- testing: partial receive ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send("7890"); ok ---------------------------------------------- testing: select function ---------------------------------------------- both nil: ok closed sockets: ok invalid input: ok unable to create enough sockets (max was 1017) try using ulimit ---------------------------------------------- testing: read after close ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); trying repeated '*a' patterndata:send('little string'); data:close(); data = nil; ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); trying active close before '*a'data:close(); data = nil; ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); trying active close before '*l'data:close(); data = nil; ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); trying active close before raw 1data:close(); data = nil; ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); trying active close before raw 0data:close(); data = nil; ok ---------------------------------------------- testing: write after close ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; ok ---------------------------------------------- testing: connect function ---------------------------------------------- connect with timeout (if it hangs, it failed!): ok empty connect: if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); if data then data:close() data = nil end; data = server:accept(); ok connection refused: ok host not found: ok ---------------------------------------------- testing: rebinding: ---------------------------------------------- ok ---------------------------------------------- testing: active close: ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); ok ---------------------------------------------- testing: closed connection detection: ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); trying read detection: data:send('little string'); data:close(); data = nil; graceful 'closed' received if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); trying write detection: data:close(); data = nil; graceful 'closed' received after 8192 bytes were sent ---------------------------------------------- testing: accept function: ---------------------------------------------- accept with timeout (if it hangs, it failed): good not listening: ok not supported: ok ---------------------------------------------- testing: getstats test ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(85); data:send(str); str = data:receive(40); data:send(str); str = data:receive(79); data:send(str); str = data:receive(80); data:send(str); str = data:receive(92); data:send(str); str = data:receive(20); data:send(str); str = data:receive(34); data:send(str); str = data:receive(77); data:send(str); str = data:receive(28); data:send(str); str = data:receive(56); data:send(str); str = data:receive(48); data:send(str); str = data:receive(63); data:send(str); str = data:receive(37); data:send(str); str = data:receive(52); data:send(str); str = data:receive(96); data:send(str); str = data:receive(92); data:send(str); str = data:receive(64); data:send(str); str = data:receive(72); data:send(str); str = data:receive(15); data:send(str); str = data:receive(61); data:send(str); str = data:receive(2); data:send(str); str = data:receive(25); data:send(str); str = data:receive(14); data:send(str); str = data:receive(81); data:send(str); str = data:receive(16); data:send(str); ok ---------------------------------------------- testing: character line ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 80199: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 8000000: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 80199: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive() data:send(str ..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive() data:send(str ..'\n') lines match ---------------------------------------------- testing: mixed patterns ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive(41) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive(57) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive(237) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive(4129) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 801990: str = data:receive(802029) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive(4129) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive(237) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive(57) data:send(str); data:close() patterns match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive(41) data:send(str); data:close() patterns match ---------------------------------------------- testing: binary line ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 80199: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 8000000: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 80199: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive() data:send(str..'\n') lines match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive() data:send(str..'\n') lines match ---------------------------------------------- testing: raw transfer ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive(1) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive(17) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive(200) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive(4091) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 80199: str = data:receive(80199) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 8000000: str = data:receive(8000000) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 80199: str = data:receive(80199) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 4091: str = data:receive(4091) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 200: str = data:receive(200) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 17: str = data:receive(17) data:send(str) blocks match if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); length 1: str = data:receive(1) data:send(str) blocks match ---------------------------------------------- testing: non-blocking transfer ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 2 bytes: data:send(string.rep("a", 1)); socket.sleep(0.5); data:send(string.rep("b", 1) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1); socket.sleep(0.5); str = data:receive(2*1, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 34 bytes: data:send(string.rep("a", 17)); socket.sleep(0.5); data:send(string.rep("b", 17) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17); socket.sleep(0.5); str = data:receive(2*17, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 400 bytes: data:send(string.rep("a", 200)); socket.sleep(0.5); data:send(string.rep("b", 200) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200); socket.sleep(0.5); str = data:receive(2*200, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 8182 bytes: data:send(string.rep("a", 4091)); socket.sleep(0.5); data:send(string.rep("b", 4091) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091); socket.sleep(0.5); str = data:receive(2*4091, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 160398 bytes: data:send(string.rep("a", 80199)); socket.sleep(0.5); data:send(string.rep("b", 80199) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199); socket.sleep(0.5); str = data:receive(2*80199, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 1600000 bytes: data:send(string.rep("a", 800000)); socket.sleep(0.5); data:send(string.rep("b", 800000) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(800000); socket.sleep(0.5); str = data:receive(2*800000, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 160398 bytes: data:send(string.rep("a", 80199)); socket.sleep(0.5); data:send(string.rep("b", 80199) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199); socket.sleep(0.5); str = data:receive(2*80199, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 8182 bytes: data:send(string.rep("a", 4091)); socket.sleep(0.5); data:send(string.rep("b", 4091) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091); socket.sleep(0.5); str = data:receive(2*4091, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 400 bytes: data:send(string.rep("a", 200)); socket.sleep(0.5); data:send(string.rep("b", 200) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200); socket.sleep(0.5); str = data:receive(2*200, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 34 bytes: data:send(string.rep("a", 17)); socket.sleep(0.5); data:send(string.rep("b", 17) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17); socket.sleep(0.5); str = data:receive(2*17, str); data:send(str); ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); testing 2 bytes: data:send(string.rep("a", 1)); socket.sleep(0.5); data:send(string.rep("b", 1) .. "\n"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1); socket.sleep(0.5); str = data:receive(2*1, str); data:send(str); ok ---------------------------------------------- testing: total timeout on send ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 1s total timeout, 3s pause: data:settimeout(2); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); WARNING: must be buffered server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 2s total timeout, 3s pause: data:settimeout(4); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); WARNING: must be buffered server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 5s total timeout, 2s pause: data:settimeout(10); str = data:receive(800091); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); str = data:receive(800091); ok server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 3s total timeout, 1s pause: data:settimeout(6); str = data:receive(800091); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); str = data:receive(800091); ok ---------------------------------------------- testing: total timeout on receive ---------------------------------------------- server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 1s total timeout, 3s pause: data:settimeout(2); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s proper timeout server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 2s total timeout, 3s pause: data:settimeout(4); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s proper timeout server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 3s total timeout, 2s pause: data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); data:send(str); server: sleeping for 2s server: woke up ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 3s total timeout, 1s pause: data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); data:send(str); server: sleeping for 1s server: woke up ok ---------------------------------------------- testing: blocking timeout on send ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 1s blocking timeout, 3s pause: data:settimeout(2); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); WARNING: must be buffered server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 2s blocking timeout, 3s pause: data:settimeout(4); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); WARNING: must be buffered server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 3s blocking timeout, 2s pause: data:settimeout(6); str = data:receive(800091); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); str = data:receive(800091); ok server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 3s blocking timeout, 1s pause: data:settimeout(6); str = data:receive(800091); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); str = data:receive(800091); ok ---------------------------------------------- testing: blocking timeout on receive ---------------------------------------------- server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 1s blocking timeout, 3s pause: data:settimeout(2); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s proper timeout server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 2s blocking timeout, 3s pause: data:settimeout(4); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); data:send(str); server: sleeping for 3s proper timeout server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 3s blocking timeout, 2s pause: data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); data:send(str); server: sleeping for 2s server: woke up ok if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 800091 bytes, 3s blocking timeout, 1s pause: data:settimeout(6); str = string.rep('a', 800091); data:send(str); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); data:send(str); server: sleeping for 1s server: woke up ok ---------------------------------------------- testing: shutting server down ---------------------------------------------- if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); os.exit() ---------------------------------------------- testing: done in 49.43s ---------------------------------------------- + exit 0 Processing files: lua-module-luasocket-3.0rc1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.56436 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd luasocket-3.0-rc1 + DOCDIR=/usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + export DOCDIR + rm -rf /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + /bin/mkdir -p /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + cp -prL FIX LICENSE NEW TODO WISH docs_from_rockstree/dns.html docs_from_rockstree/ftp.html docs_from_rockstree/http.html docs_from_rockstree/index.html docs_from_rockstree/installation.html docs_from_rockstree/introduction.html docs_from_rockstree/ltn12.html docs_from_rockstree/lua05.ppt docs_from_rockstree/luasocket.png docs_from_rockstree/mime.html docs_from_rockstree/reference.css docs_from_rockstree/reference.html docs_from_rockstree/smtp.html docs_from_rockstree/socket.html docs_from_rockstree/tcp.html docs_from_rockstree/udp.html docs_from_rockstree/url.html /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + chmod -R go-w /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + chmod -R a+rX /usr/src/tmp/lua-module-luasocket-buildroot/usr/share/doc/lua-module-luasocket-3.0rc1 + exit 0 warning: absolute symlink: /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/doc -> /usr/share/doc/lua-module-luasocket-3.0rc1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BfyMYa find-provides: absolute symbolic link /usr/src/tmp/lua-module-luasocket-buildroot/usr/lib/luarocks/rocks/luasocket/3.0rc1-1/doc -> /usr/share/doc/lua-module-luasocket-3.0rc1 is not going to provide anything find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6xAEyA find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: cat env lua Provides: luarocks(luasocket) = 3.0rc1 Requires: /bin/sh, /usr/bin/env, /usr/bin/lua, /usr/lib/luarocks/rocks, coreutils, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), lua5.3, rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cKKC8y Creating lua-module-luasocket-debuginfo package Processing files: lua-module-luasocket-debuginfo-3.0rc1-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OZMbVY find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RyMj31 find-requires: running scripts (debuginfo) Requires: lua-module-luasocket = 3.0rc1-alt2, debug(libc.so.6) Wrote: /usr/src/RPM/RPMS/i586/lua-module-luasocket-3.0rc1-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/lua-module-luasocket-debuginfo-3.0rc1-alt2.i586.rpm (w2.lzdio) 15.91user 5.49system 1:08.45elapsed 31%CPU (0avgtext+0avgdata 52788maxresident)k 0inputs+0outputs (0major+740376minor)pagefaults 0swaps 24.37user 11.17system 1:21.51elapsed 43%CPU (0avgtext+0avgdata 114508maxresident)k 424inputs+0outputs (0major+1078912minor)pagefaults 0swaps --- lua-module-luasocket-3.0rc1-alt2.i586.rpm.repo 2017-07-13 13:52:53.000000000 +0000 +++ lua-module-luasocket-3.0rc1-alt2.i586.rpm.hasher 2021-03-21 18:34:44.813346125 +0000 @@ -125,4 +125,2 @@ Requires: libc.so.6(GLIBC_2.4) -Requires: liblua-5.3.so >= set:lfiZg3pmBy8uFdjVder4VfY6edPNtrouCwUEYgUCMQfdGNZfU8xZgMiMJJndLatA4w5hLI7tVCYJoLWfUwFMpum3UjhJFFZjRtGRF2RnK5fNCtV20FMVTO96 -Requires: rpmlib(SetVersions) Requires: lua5.3 --- lua-module-luasocket-debuginfo-3.0rc1-alt2.i586.rpm.repo 2017-07-13 13:52:53.000000000 +0000 +++ lua-module-luasocket-debuginfo-3.0rc1-alt2.i586.rpm.hasher 2021-03-21 18:34:44.857344560 +0000 @@ -10,3 +10,2 @@ Requires: debug(libc.so.6) -Requires: debug(liblua-5.3.so) Requires: rpmlib(PayloadIsLzma)