<86>Nov 28 04:45:33 userdel[2789921]: delete user 'rooter' <86>Nov 28 04:45:33 userdel[2789921]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 28 04:45:33 groupadd[2789938]: group added to /etc/group: name=rooter, GID=531 <86>Nov 28 04:45:33 groupadd[2789938]: group added to /etc/gshadow: name=rooter <86>Nov 28 04:45:33 groupadd[2789938]: new group: name=rooter, GID=531 <86>Nov 28 04:45:33 useradd[2789949]: new user: name=rooter, UID=531, GID=531, home=/root, shell=/bin/bash <86>Nov 28 04:45:33 userdel[2789973]: delete user 'builder' <86>Nov 28 04:45:33 userdel[2789973]: removed group 'builder' owned by 'builder' <86>Nov 28 04:45:33 userdel[2789973]: removed shadow group 'builder' owned by 'builder' <86>Nov 28 04:45:33 groupadd[2789992]: group added to /etc/group: name=builder, GID=532 <86>Nov 28 04:45:33 groupadd[2789992]: group added to /etc/gshadow: name=builder <86>Nov 28 04:45:33 groupadd[2789992]: new group: name=builder, GID=532 <86>Nov 28 04:45:33 useradd[2790002]: new user: name=builder, UID=532, GID=532, 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>Nov 28 04:45:36 rpmi: zip-30000000:3.0-alt1 1332241778 installed <13>Nov 28 04:45:36 rpmi: p7zip-17.02-alt2 sisyphus+255145.100.1.1 1595248125 installed <13>Nov 28 04:45:36 rpmi: wget-1.20.3-alt1 sisyphus+226657.100.1.1 1554481530 installed <13>Nov 28 04:45:36 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Nov 28 04:45:36 rpmi: unzip-6.0-alt4 sisyphus+261685.200.2.1 1605218922 installed <13>Nov 28 04:45:36 rpmi: liblua5.1-preinstall-5.1.5-alt17 sisyphus+261780.100.1.1 1605367954 installed <13>Nov 28 04:45:36 rpmi: liblua5.1-5.1.5-alt17 sisyphus+261780.100.1.1 1605367954 installed <13>Nov 28 04:45:36 rpmi: lua5.1-5.1.5-alt17 sisyphus+261780.100.1.1 1605367954 installed <13>Nov 28 04:45:36 rpmi: libreadline-devel-7.0.3-alt3 sisyphus+222164.300.1.1 1550686325 installed <13>Nov 28 04:45:36 rpmi: liblua5.1-compat-devel-5.1.5-alt17 sisyphus+261780.100.1.1 1605367954 installed <13>Nov 28 04:45:36 rpmi: liblua5.1-devel-5.1.5-alt17 sisyphus+261780.100.1.1 1605367954 installed <13>Nov 28 04:45:36 rpmi: chrpath-0.16-alt1 1453066315 installed <13>Nov 28 04:45:36 rpmi: lua5.1-luarocks-2.4.2-alt7 sisyphus+232110.100.1.1 1560536529 installed <13>Nov 28 04:45:36 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.1-module-luasocket-3.0rc1-alt4_lr2.nosrc.rpm Installing lua5.1-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.66713 + 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.50993 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/lua5.1-module-luasocket-buildroot + : + /bin/rm -rf -- /usr/src/tmp/lua5.1-module-luasocket-buildroot + cd luasocket-3.0-rc1 + for v in 5.1 + mkdir -p /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1 + cp -a /usr/lib/luarocks/rocks-5.1/manifest /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1 + find /usr/lib/luarocks/rocks-5.1 -mindepth 1 -maxdepth 1 -type d '!' -name luasocket -exec ln -s '{}' /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1 ';' + luarocks-5.1 make --local --to=/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr /usr/src/RPM/SOURCES/luasocket-3.0rc1-2.rockspec 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/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/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.1-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.1-module-luasocket-buildroot/usr/lib64/lua/5.1/mime /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/ltn12.lua /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/mime.lua /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/socket /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/socket.lua + : + subst 's|/usr/src/tmp/lua5.1-module-luasocket-buildroot||g' '/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/bin/*' subst: sed: cannot stat /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/bin/*: No such file or directory + : ++ find /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/ ++ grep '.so$' + for f in `find /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ chrpath -l /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/mime/core.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib64:?||' + _rpath='/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/mime/core.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/mime/core.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/mime/core.so /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/mime/core.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ chrpath -l /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/core.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib64:?||' + _rpath='/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/socket/core.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/socket/core.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/core.so /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/core.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ chrpath -l /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/serial.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib64:?||' + _rpath='/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/socket/serial.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/socket/serial.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/serial.so /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/serial.so: no rpath or runpath tag found. + : + for f in `find /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/ | grep .so$` ++ chrpath -l /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/unix.so ++ cut -d= -f2 ++ sed -r 's|/usr/lib64:?||' + _rpath='/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/socket/unix.so: no rpath or runpath tag found.' + chrpath -r '/usr/src/tmp/lua5.1-module-luasocket-buildroot/lua/5.1/socket/unix.so: no rpath or runpath tag found.' /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/unix.so /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/socket/unix.so: no rpath or runpath tag found. + : + rm -rf docs_from_rockstree + mkdir -p docs_from_rockstree + for v in 5.1 + mv -f /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/dns.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/ftp.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/http.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/index.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/installation.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/introduction.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/ltn12.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/lua05.ppt /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/luasocket.png /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/mime.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/reference.css /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/reference.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/smtp.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/socket.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/tcp.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/udp.html /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc/url.html docs_from_rockstree/ + rm -rf /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc + ln -s /usr/share/doc/lua5.1-module-luasocket-3.0rc1 /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc + subst 's|bin/lua$|bin/lua5.1|' /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/test/udp-zero-length-send /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/test/udp-zero-length-send-recv + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/lua5.1-module-luasocket-buildroot (auto) mode of './usr/lib64/lua/5.1/mime/core.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.1/socket/core.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.1/socket/serial.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/lua/5.1/socket/unix.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/lua5.1-module-luasocket-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/lua5.1-module-luasocket-buildroot/ (default) Compressing files in /usr/src/tmp/lua5.1-module-luasocket-buildroot (auto) Adjusting library links in /usr/src/tmp/lua5.1-module-luasocket-buildroot ./usr/lib64: ./usr/lib: Verifying ELF objects in /usr/src/tmp/lua5.1-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.1/mime/core.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_prepbuffer verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_checkinteger verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: lua_pushlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_addstring verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/lua/5.1/mime/core.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pcall verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_replace verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_checkoption verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_call verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_prepbuffer verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_checkinteger verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_tonumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_settable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_checktype verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_insert verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_error verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/core.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_replace verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_prepbuffer verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_tonumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/serial.so: undefined symbol: lua_isstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_gettop verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_openlib verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_settop verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_toboolean verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_touserdata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_argerror verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushcclosure verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_tolstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_replace verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_checkoption verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_createtable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_rawset verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_checknumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_optlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_optnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_pushresult verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_setfield verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushinteger verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_isnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_checklstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_prepbuffer verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushvalue verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushfstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_gettable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_newuserdata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_setmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_tonumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushnumber verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushboolean verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_checkudata verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_rawget verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_error verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_addlstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_typename verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushnil verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_type verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_newmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_pushstring verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: luaL_buffinit verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_getmetatable verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_getfield verify-elf: WARNING: ./usr/lib64/lua/5.1/socket/unix.so: undefined symbol: lua_isstring Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.60016 + 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.1-module-luasocket-buildroot/usr/share/lua/5.1/?.lua;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/?.lua;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua' + LUA_PATH='/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/?.lua;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/share/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/?.lua;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/lua/5.1/?/init.lua;/usr/lib64/lua/5.1/?.lua;/usr/share/lua/5.1/?/init.lua' + export 'LUA_CPATH=/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/?.so;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/loadall.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/loadall.so' + LUA_CPATH='/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/?.so;/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib64/lua/5.1/loadall.so;/usr/lib64/lua/5.1/?.so;/usr/lib64/lua/5.1/loadall.so' + sleep 1 + lua5.1 /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/test/testsrvr.lua + lua5.1 /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/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 ---------------------------------------------- ok ---------------------------------------------- testing: select function ---------------------------------------------- both nil: ok closed sockets: ok invalid input: ok unable to create enough sockets (max was 1019) try using ulimit ---------------------------------------------- testing: read after close ---------------------------------------------- trying repeated '*a' patternok trying active close before '*a'ok trying active close before '*l'ok trying active close before raw 1ok trying active close before raw 0ok ---------------------------------------------- testing: write after close ---------------------------------------------- ok ---------------------------------------------- testing: connect function ---------------------------------------------- connect with timeout (if it hangs, it failed!): ok empty connect: ok connection refused: ok host not found: ok ---------------------------------------------- testing: rebinding: ---------------------------------------------- ok ---------------------------------------------- testing: active close: ---------------------------------------------- ok ---------------------------------------------- testing: closed connection detection: ---------------------------------------------- trying read detection: graceful 'closed' received trying write detection: 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 ---------------------------------------------- ok ---------------------------------------------- testing: character line ---------------------------------------------- length 1: lines match length 17: lines match length 200: lines match length 4091: lines match length 80199: lines match length 8000000: lines match length 80199: lines match length 4091: lines match length 200: lines match server: waiting for client connection... if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send("7890"); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send('little string'); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; 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(); 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(); data:setoption("tcp-nodelay", true); data:send('little string'); data:close(); data = nil; if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:close(); data = nil; 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true);length 17: lines match length 1: lines match ---------------------------------------------- testing: mixed patterns ---------------------------------------------- length 1: patterns match length 17: patterns match length 200: patterns match length 4091: patterns match length 801990: patterns match length 4091: patterns match length 200: patterns match length 17: patterns match length 1: patterns match ---------------------------------------------- testing: binary line ---------------------------------------------- length 1: lines match length 17: lines match length 200: lines match length 4091: lines match length 80199: lines match length 8000000: lines match length 80199: lines match length 4091: lines match length 200: lines match length 17: lines match length 1: lines match ---------------------------------------------- testing: raw transfer ---------------------------------------------- length 1: blocks match length 17: blocks match length 200: blocks match length 4091: blocks match length 80199: blocks match length 8000000: blocks match str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str ..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(41) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(57) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(237) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4129) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(802029) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4129) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(237) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(57) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(41) data:send(str); data:close() if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive() data:send(str..'\n') if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(8000000) data:send(str) if data then data:closlength 80199: blocks match length 4091: blocks match length 200: blocks match length 17: blocks match length 1: blocks match ---------------------------------------------- testing: non-blocking transfer ---------------------------------------------- testing 2 bytes: ok testing 34 bytes: ok testing 400 bytes: ok testing 8182 bytes: ok testing 160398 bytes: ok testing 1600000 bytes: ok testing 160398 bytes: ok testing 8182 bytes: ok testing 400 bytes: e() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(80199) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(4091) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(200) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(17) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); str = data:receive(1) data:send(str) if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:send(string.rep("a", 200)); socket.sleep(0.5); data:send(string.rep("b", 200) .. "\n"); if data then data:close() data = nil eok testing 34 bytes: ok testing 2 bytes: ok ---------------------------------------------- testing: total timeout on send ---------------------------------------------- 800091 bytes, 1s total timeout, 3s pause: WARNING: must be buffered 800091 bytes, 2s total timeout, 3s pause: WARNING: must be buffered 800091 bytes, 5s total timeout, 2s pause: ok 800091 bytes, 3s total timeout, 1s pause: ok ---------------------------------------------- testing: total timeout on receive ---------------------------------------------- 800091 bytes, 1s total timeout, 3s pause: proper timeout 800091 bytes, 2s total timeout, 3s pause: proper timeout 800091 bytes, 3s total timeout, 2s pause: ok 800091 bytes, 3s total timeout, 1s pause: ok ---------------------------------------------- testing: blocking timeout on send ---------------------------------------------- 800091 bytes, 1s blocking timeout, 3s pause: WARNING: must be buffered 800091 bytes, 2s blocking timeout, 3s pause: WARNING: must be buffered 800091 bytes, 3s blocking timeout, 2s pause: nd; 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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); if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(2); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(4); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(10); str = data:receive(800091); print('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); str = data:receive(800091); server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = data:receive(800091); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); str = data:receive(800091); server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(2); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(4); str = data:receive(800091); print('server: sleeping for 3s'); socket.sleep(3); print('server: woke up'); str = data:receive(800091); server: sleeping for 3s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = data:receive(800091); priok 800091 bytes, 3s blocking timeout, 1s pause: ok ---------------------------------------------- testing: blocking timeout on receive ---------------------------------------------- 800091 bytes, 1s blocking timeout, 3s pause: proper timeout 800091 bytes, 2s blocking timeout, 3s pause: proper timeout 800091 bytes, 3s blocking timeout, 2s pause: ok 800091 bytes, 3s blocking timeout, 1s pause: ok ---------------------------------------------- testing: shutting server down ---------------------------------------------- ---------------------------------------------- testing: done in 49.56s ---------------------------------------------- nt('server: sleeping for 2s'); socket.sleep(2); print('server: woke up'); str = data:receive(800091); server: sleeping for 2s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); data:settimeout(6); str = data:receive(800091); print('server: sleeping for 1s'); socket.sleep(1); print('server: woke up'); str = data:receive(800091); server: sleeping for 1s server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 server: woke up if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); 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 if data then data:close() data = nil end; data = server:accept(); data:setoption("tcp-nodelay", true); os.exit() + exit 0 Processing files: lua5.1-module-luasocket-3.0rc1-alt4_lr2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.28947 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd luasocket-3.0-rc1 + DOCDIR=/usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/doc/lua5.1-module-luasocket-3.0rc1 + export DOCDIR + rm -rf /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/doc/lua5.1-module-luasocket-3.0rc1 + /bin/mkdir -p /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/doc/lua5.1-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.1-module-luasocket-buildroot/usr/share/doc/lua5.1-module-luasocket-3.0rc1 + chmod -R go-w /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/doc/lua5.1-module-luasocket-3.0rc1 + chmod -R a+rX /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/share/doc/lua5.1-module-luasocket-3.0rc1 + exit 0 warning: absolute symlink: /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc -> /usr/share/doc/lua5.1-module-luasocket-3.0rc1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.FMGZxc find-provides: absolute symbolic link /usr/src/tmp/lua5.1-module-luasocket-buildroot/usr/lib/luarocks/rocks-5.1/luasocket/3.0rc1-2/doc -> /usr/share/doc/lua5.1-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.ynSaEb 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.1(luasocket) = 3.0rc1-alt4_lr2, lua5-luasocket = 3.0rc1 Requires: /bin/sh, /usr/bin/env, /usr/bin/lua5.1, /usr/lib/luarocks/rocks-5.1, 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: lua5-luasocket < 3.0rc1-alt4_lr2 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9LDqGe Creating lua5.1-module-luasocket-debuginfo package Processing files: lua5.1-module-luasocket-debuginfo-3.0rc1-alt4_lr2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hAOZdb find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0V9Fye find-requires: running scripts (debuginfo) Requires: lua5.1-module-luasocket = 3.0rc1-alt4_lr2, debug64(libc.so.6) Adding to lua5.1-module-luasocket-debuginfo a strict dependency on lua5.1-module-luasocket Wrote: /usr/src/RPM/RPMS/x86_64/lua5.1-module-luasocket-3.0rc1-alt4_lr2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/lua5.1-module-luasocket-debuginfo-3.0rc1-alt4_lr2.x86_64.rpm 13.27user 4.68system 1:06.30elapsed 27%CPU (0avgtext+0avgdata 43908maxresident)k 0inputs+0outputs (0major+625128minor)pagefaults 0swaps 20.28user 10.94system 1:18.24elapsed 39%CPU (0avgtext+0avgdata 109700maxresident)k 0inputs+0outputs (0major+958062minor)pagefaults 0swaps