<86>Jan 19 05:05:04 userdel[579472]: delete user 'rooter' <86>Jan 19 05:05:04 groupadd[579540]: group added to /etc/group: name=rooter, GID=648 <86>Jan 19 05:05:04 groupadd[579540]: group added to /etc/gshadow: name=rooter <86>Jan 19 05:05:04 groupadd[579540]: new group: name=rooter, GID=648 <86>Jan 19 05:05:04 useradd[579794]: new user: name=rooter, UID=648, GID=648, home=/root, shell=/bin/bash <86>Jan 19 05:05:04 userdel[580255]: delete user 'builder' <86>Jan 19 05:05:04 groupadd[580533]: group added to /etc/group: name=builder, GID=649 <86>Jan 19 05:05:04 groupadd[580533]: group added to /etc/gshadow: name=builder <86>Jan 19 05:05:04 groupadd[580533]: new group: name=builder, GID=649 <86>Jan 19 05:05:04 useradd[580659]: new user: name=builder, UID=649, GID=649, home=/usr/src, shell=/bin/bash warning: user ildar does not exist - using root warning: group ildar does not exist - using root warning: user ildar does not exist - using root warning: group ildar does not exist - using root warning: user ildar does not exist - using root warning: group ildar does not exist - using root warning: Macro %luarocks_make not found warning: Macro %luarocks_move_docs not found warning: Macro %current_lua_version not found warning: Macro %luarocks_dbdir not found warning: Macro %lua_path_add_buildroot not found warning: Macro %lua not found warning: Macro %luarocks_dbdir not found warning: Macro %lua 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>Jan 19 05:05:09 rpmi: lua5.3-5.3.5-alt3 sisyphus+237725.540.7.3 1569407850 installed <13>Jan 19 05:05:09 rpmi: zip-30000000:3.0-alt1 1332241778 installed <13>Jan 19 05:05:09 rpmi: p7zip-17.02-alt2 sisyphus+255145.100.1.1 1595248125 installed <13>Jan 19 05:05:09 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Jan 19 05:05:09 rpmi: unzip-6.0-alt4 sisyphus+261685.200.2.1 1605218922 installed <13>Jan 19 05:05:09 rpmi: libidn2-2.3.0-alt1 sisyphus+240846.100.1.2 1573870464 installed <13>Jan 19 05:05:09 rpmi: chrpath-0.16-alt1 1453066315 installed <13>Jan 19 05:05:09 rpmi: libp11-kit-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jan 19 05:05:09 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825069 installed <13>Jan 19 05:05:09 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 05:05:09 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jan 19 05:05:09 rpmi: ca-certificates-2020.10.22-alt1 sisyphus+260224.300.2.1 1603549301 installed <13>Jan 19 05:05:09 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 19 05:05:10 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+252784.100.2.2 1591274915 installed <13>Jan 19 05:05:10 rpmi: libcrypto1.1-1.1.1i-alt2 sisyphus+264815.100.1.1 1610967158 installed <13>Jan 19 05:05:10 rpmi: libssl1.1-1.1.1i-alt2 sisyphus+264815.100.1.1 1610967158 installed <13>Jan 19 05:05:10 rpmi: wget-1.21-alt1 sisyphus+264267.100.1.1 1609523543 installed <13>Jan 19 05:05:10 rpmi: lua5.3-luarocks-2.4.2-alt7 sisyphus+232110.100.1.1 1560536529 installed <13>Jan 19 05:05:10 rpmi: liblua5.3-devel-5.3.5-alt3 sisyphus+237725.540.7.3 1569407850 installed <13>Jan 19 05:05:10 rpmi: rpm-macros-lua-1.4-alt1 sisyphus+231222.300.3.1 1559895042 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/lua5.3-module-luasocket-3.0rc1-alt4_lr2.nosrc.rpm (w1.gzdio) Installing lua5.3-module-luasocket-3.0rc1-alt4_lr2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.5510 + 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.5510 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lua5.3-module-luasocket-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lua5.3-module-luasocket-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd luasocket-3.0-rc1 + for v in 5.3 + mkdir -p /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3 + cp -a /usr/lib/luarocks/rocks-5.3/manifest /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3 + find /usr/lib/luarocks/rocks-5.3 -mindepth 1 -maxdepth 1 -type d '!' -name luasocket -exec ln -s '{}' /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3 ';' + luarocks-5.3 make --local --to=/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr /usr/src/RPM/SOURCES/luasocket-3.0rc1-2.rockspec gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 gcc -O2 -fPIC -I/usr/include -c src/buffer.c -o src/buffer.o -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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/luasocket.c -o src/luasocket.o -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 -DLUA_COMPAT_APIINTCASTS -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 luasocket 3.0rc1-2 is now installed in /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr (license: MIT) + echo Post-make fixes Post-make fixes ++ echo luasocket-3.0rc1-2 ++ tr .- _ + rename luasocket_3_0rc1_2- '' /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/mime /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/ltn12.lua /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/mime.lua /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/socket /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/socket.lua + : + subst 's|/usr/src/tmp/lua5.3-module-luasocket-buildroot||g' '/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/bin/*' subst: sed: cannot stat /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/bin/*: No such file or directory + : ++ grep '.so$' ++ find /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/ + for f in `find /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ sed -r 's|/usr/lib64:?||' ++ cut -d= -f2 ++ chrpath -l /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/serial.so + _rpath='/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/socket/serial.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/socket/serial.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/serial.so /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/serial.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ sed -r 's|/usr/lib64:?||' ++ cut -d= -f2 ++ chrpath -l /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/core.so + _rpath='/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/socket/core.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/socket/core.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/core.so /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/core.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ chrpath -l /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/unix.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib64:?||' + _rpath='/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/socket/unix.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/socket/unix.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/unix.so /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/socket/unix.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ sed -r 's|/usr/lib64:?||' ++ cut -d= -f2 ++ chrpath -l /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/mime/core.so + _rpath='/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/mime/core.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.3-module-luasocket-buildroot/lua/5.3/mime/core.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/mime/core.so /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/mime/core.so: no rpath or runpath tag found. + : + rm -rf docs_from_rockstree + mkdir -p docs_from_rockstree + for v in 5.3 + mv -f /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/dns.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/ftp.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/http.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/index.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/installation.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/introduction.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/ltn12.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/lua05.ppt /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/luasocket.png /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/mime.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/reference.css /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/reference.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/smtp.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/socket.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/tcp.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/udp.html /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc/url.html docs_from_rockstree/ + rm -rf /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc + ln -s /usr/share/doc/lua5.3-module-luasocket-3.0rc1 /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc + subst 's|bin/lua$|bin/lua5.3|' /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/test/udp-zero-length-send /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/test/udp-zero-length-send-recv + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lua5.3-module-luasocket-buildroot (auto) mode of './usr/lib64/lua/5.3/socket/serial.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.3/socket/core.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.3/socket/unix.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/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/lua5.3-module-luasocket-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/lua5.3-module-luasocket-buildroot/ (default) Compressing files in /usr/src/tmp/lua5.3-module-luasocket-buildroot (auto) Adjusting library links in /usr/src/tmp/lua5.3-module-luasocket-buildroot ./usr/lib64: (from :0) ./usr/lib: (from :0) 056-debuginfo.brp: WARNING: debuginfo without debug sources. Verifying ELF objects in /usr/src/tmp/lua5.3-module-luasocket-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_tonumberx verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_copy verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/serial.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_checkoption verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_tonumberx verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_checkinteger verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_settable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_checktype verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_rotate verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_copy verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_callk verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_error verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_pcallk verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/core.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_checkoption verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_tonumberx verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_copy verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib64/lua/5.3/socket/unix.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_prepbuffsize verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_checkinteger verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: lua_pushlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_addstring verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.3/mime/core.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/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.26994 + 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/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/?.lua;/usr/src/tmp/lua5.3-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/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/?.lua;/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/?/init.lua;/usr/lib64/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua' + LUA_PATH='/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/?.lua;/usr/src/tmp/lua5.3-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/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/?.lua;/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/lua/5.3/?/init.lua;/usr/lib64/lua/5.3/?.lua;/usr/share/lua/5.3/?/init.lua' + export 'LUA_CPATH=/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/?.so;/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/loadall.so;/usr/lib64/lua/5.3/?.so;/usr/lib64/lua/5.3/loadall.so' + LUA_CPATH='/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/?.so;/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib64/lua/5.3/loadall.so;/usr/lib64/lua/5.3/?.so;/usr/lib64/lua/5.3/loadall.so' + sleep 1 + lua /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/test/testsrvr.lua server: waiting for client connection... + lua /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/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: server: sleeping for 3s must be buffered 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: server: sleeping for 3s must be buffered 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); okserver: 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); okserver: sleeping for 1s ---------------------------------------------- testing: total timeout on receive ---------------------------------------------- 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: server: sleeping for 3s must be buffered 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: server: sleeping for 3s must be buffered 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); okserver: 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); okserver: sleeping for 1s ---------------------------------------------- testing: blocking timeout on receive ---------------------------------------------- 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 48.97s ---------------------------------------------- + exit 0 Processing files: lua5.3-module-luasocket-3.0rc1-alt4_lr2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.99174 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd luasocket-3.0-rc1 + DOCDIR=/usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/doc/lua5.3-module-luasocket-3.0rc1 + export DOCDIR + rm -rf /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/doc/lua5.3-module-luasocket-3.0rc1 + /bin/mkdir -p /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/doc/lua5.3-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/lua5.3-module-luasocket-buildroot/usr/share/doc/lua5.3-module-luasocket-3.0rc1 + chmod -R go-w /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/doc/lua5.3-module-luasocket-3.0rc1 + chmod -R a+rX /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/share/doc/lua5.3-module-luasocket-3.0rc1 + exit 0 warning: absolute symlink: /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc -> /usr/share/doc/lua5.3-module-luasocket-3.0rc1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vW0OYy find-provides: absolute symbolic link /usr/src/tmp/lua5.3-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.3/luasocket/3.0rc1-2/doc -> /usr/share/doc/lua5.3-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.0wjRPB 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: luarocks5.3(luasocket) = 3.0rc1-alt4_lr2, lua-module-luasocket = 3.0rc1 Requires: /bin/sh, /usr/bin/env, /usr/bin/lua5.3, /usr/lib/luarocks/rocks-5.3, coreutils, libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), lua5.3, rtld(GNU_HASH) Obsoletes: lua-module-luasocket < 3.0rc1-alt4_lr2 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8GDGuB Creating lua5.3-module-luasocket-debuginfo package Processing files: lua5.3-module-luasocket-debuginfo-3.0rc1-alt4_lr2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KrYFay find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.quC77A find-requires: running scripts (debuginfo) Requires: lua5.3-module-luasocket = 3.0rc1-alt4_lr2, debug64(libc.so.6) Adding to lua5.3-module-luasocket-debuginfo a strict dependency on lua5.3-module-luasocket Wrote: /usr/src/RPM/RPMS/x86_64/lua5.3-module-luasocket-3.0rc1-alt4_lr2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/lua5.3-module-luasocket-debuginfo-3.0rc1-alt4_lr2.x86_64.rpm (w2.lzdio) 8.69user 1.73system 1:08.73elapsed 15%CPU (0avgtext+0avgdata 62580maxresident)k 0inputs+0outputs (0major+620164minor)pagefaults 0swaps 13.57user 4.16system 1:25.91elapsed 20%CPU (0avgtext+0avgdata 107380maxresident)k 176inputs+0outputs (0major+971937minor)pagefaults 0swaps