Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-ldap.spec'], chrootPath='/var/lib/mock/f33-build-296134-55635/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-ldap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/lua-ldap-1.1.0-18.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-ldap.spec'], chrootPath='/var/lib/mock/f33-build-296134-55635/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-ldap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H75X1J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lualdap-1.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/lualdap-1.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lualdap-1.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (destdir.patch):' Patch #0 (destdir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile Patch #1 (lua52.patch): + echo 'Patch #1 (lua52.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lualdap.c Patch #2 (fix-attempt-to-concatenate-a-nil-value.patch): + echo 'Patch #2 (fix-attempt-to-concatenate-a-nil-value.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lualdap.c Hunk #1 succeeded at 430 (offset -6 lines). Patch #3 (0001-update-test.lua-for-5.2.patch): + echo 'Patch #3 (0001-update-test.lua-for-5.2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file tests/test.lua Patch #4 (0002-script-to-run-test.lua-against-a-dummy-slapd.patch): + echo 'Patch #4 (0002-script-to-run-test.lua-against-a-dummy-slapd.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file Makefile patching file tests/run-tests.sh Patch #5 (lualdap-1.1.0-lua54.patch): + echo 'Patch #5 (lualdap-1.1.0-lua54.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/lualdap.c patching file tests/test.lua + chmod a+x tests/run-tests.sh + echo 'LUA_VERSION_NUM = ' + rm -rf /builddir/build/BUILD/lua51-lua-ldap-1.1.0-18.fc33 + cp -a . /builddir/build/BUILD/lua51-lua-ldap-1.1.0-18.fc33 + echo 'CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include -DLDAP_DEPRECATED' + echo 'LUA_LIBDIR = /usr/lib64/lua/5.4' + echo 'CFLAGS = -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -DLDAP_DEPRECATED' + echo 'LUA_LIBDIR = /usr/lib64/lua/5.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lHo0CJ + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + make -j4 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include -DLDAP_DEPRECATED -c -o src/lualdap.o src/lualdap.c export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include -DLDAP_DEPRECATED -shared -o src/lualdap.so.1.1.0 src/lualdap.o -lldap + pushd /builddir/build/BUILD/lua51-lua-ldap-1.1.0-18.fc33 ~/build/BUILD/lua51-lua-ldap-1.1.0-18.fc33 ~/build/BUILD/lualdap-1.1.0 + make -j4 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -DLDAP_DEPRECATED -c -o src/lualdap.o src/lualdap.c src/lualdap.c: In function 'A_setbval': src/lualdap.c:39:20: warning: implicit declaration of function 'lua_rawlen'; did you mean 'lua_rawset'? [-Wimplicit-function-declaration] 39 | #define lua_objlen lua_rawlen | ^~~~~~~~~~ /usr/include/lua-5.1/lua.h:262:26: note: in expansion of macro 'lua_objlen' 262 | #define lua_strlen(L,i) lua_objlen(L, (i)) | ^~~~~~~~~~ src/lualdap.c:264:27: note: in expansion of macro 'lua_strlen' 264 | a->bvals[a->bi].bv_len = lua_strlen (L, -1); | ^~~~~~~~~~ src/lualdap.c: In function 'lualdap_createmeta': src/lualdap.c:35:33: warning: implicit declaration of function 'luaL_setfuncs'; did you mean 'lua_setfenv'? [-Wimplicit-function-declaration] 35 | #define luaL_openlib(L,n,l,nup) luaL_setfuncs((L),(l),(nup)) | ^~~~~~~~~~~~~ src/lualdap.c:912:2: note: in expansion of macro 'luaL_openlib' 912 | luaL_openlib (L, NULL, methods, 0); | ^~~~~~~~~~~~ export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -DLDAP_DEPRECATED -shared -o src/lualdap.so.1.1.0 src/lualdap.o -lldap + popd ~/build/BUILD/lualdap-1.1.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OxbgJJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 + cd lualdap-1.1.0 + make install DESTDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 mkdir -p /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.4 install -p -m0755 src/lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.4 ln -s lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.4/lualdap.so + pushd /builddir/build/BUILD/lua51-lua-ldap-1.1.0-18.fc33 ~/build/BUILD/lua51-lua-ldap-1.1.0-18.fc33 ~/build/BUILD/lualdap-1.1.0 + make install DESTDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 mkdir -p /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.1 install -p -m0755 src/lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.1 ln -s lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.1/lualdap.so + popd ~/build/BUILD/lualdap-1.1.0 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-18.fc33 --unique-debug-suffix -1.1.0-18.fc33.riscv64 --unique-debug-src-base lua-ldap-1.1.0-18.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lualdap-1.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.1/lualdap.so.1.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.4/lualdap.so.1.1.0 extracting debug info from /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.1/lualdap.so.1.1.0 extracting debug info from /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/lib64/lua/5.4/lualdap.so.1.1.0 original debug info size: 312kB, size after compression: 308kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 53 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.QfZ9BM + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + make check LUA_CPATH="src/?.so.1.1.0" tests/run-tests.sh +++ dirname tests/run-tests.sh ++ readlink -f tests + d=/builddir/build/BUILD/lualdap-1.1.0/tests + password=thepassword + rm -rf /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-config /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-data + mkdir /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-config /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-data + slapadd -F /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-config -n0 + slapadd -F /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-config -n1 ++ slappasswd -s thepassword 5f36a295 bdb_db_open: warning - no DB_CONFIG file found in directory /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-data: (2). Expect poor performance for suffix "dc=example,dc=invalid". 5f36a296 bdb_monitor_db_open: monitoring disabled; configure monitor database to enable + slapd -F /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-config -h ldap://localhost:3899/ + trap 'kill -TERM $(cat "$d/slapd.pid")' EXIT + lua tests/test.lua localhost:3899 dc=example,dc=invalid uid=ldapuser,dc=example,dc=invalid thepassword basic checking .......................... Warning! Couldn't connect with TLS. Trying again without it.................. OK ! checking compare operation ................. OK ! checking basic search operation ........................................... OK ! checking add operation .............. OK ! checking modify operation ................. OK ! checking advanced search operation .............. OK ! checking rename operation .................. OK ! checking delete operation ............... OK ! closing everything ... OK ! ++ cat /builddir/build/BUILD/lualdap-1.1.0/tests/slapd.pid + kill -TERM 157724 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lua-ldap-1.1.0-18.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hfrMvM + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap + cp -pr README /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap + cp -pr doc/ /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap + RPM_EC=0 ++ jobs -p + exit 0 Provides: lua-ldap = 1.1.0-18.fc33 lua-ldap(riscv-64) = 1.1.0-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libldap-2.4.so.2()(64bit) lua(abi) = 5.4 rtld(GNU_HASH) Processing files: lua-ldap-compat-1.1.0-18.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sV7aRL + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap-compat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap-compat + cp -pr README /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap-compat + cp -pr doc/ /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64/usr/share/doc/lua-ldap-compat + RPM_EC=0 ++ jobs -p + exit 0 Provides: lua-ldap-compat = 1.1.0-18.fc33 lua-ldap-compat(riscv-64) = 1.1.0-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libldap-2.4.so.2()(64bit) lua(abi) = 5.1 rtld(GNU_HASH) Processing files: lua-ldap-debugsource-1.1.0-18.fc33.riscv64 Provides: lua-ldap-debugsource = 1.1.0-18.fc33 lua-ldap-debugsource(riscv-64) = 1.1.0-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lua-ldap-debuginfo-1.1.0-18.fc33.riscv64 Provides: debuginfo(build-id) = c41084e39eed8745287ed94e8e1f7e32695ab986 lua-ldap-debuginfo = 1.1.0-18.fc33 lua-ldap-debuginfo(riscv-64) = 1.1.0-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lua-ldap-debugsource(riscv-64) = 1.1.0-18.fc33 Processing files: lua-ldap-compat-debuginfo-1.1.0-18.fc33.riscv64 Provides: debuginfo(build-id) = 22973acf0b71f7ed5899c727d81d5bcaf5430502 lua-ldap-compat-debuginfo = 1.1.0-18.fc33 lua-ldap-compat-debuginfo(riscv-64) = 1.1.0-18.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lua-ldap-debugsource(riscv-64) = 1.1.0-18.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 Wrote: /builddir/build/RPMS/lua-ldap-compat-1.1.0-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-1.1.0-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-compat-debuginfo-1.1.0-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-debuginfo-1.1.0-18.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-debugsource-1.1.0-18.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RS5apK + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lua-ldap-1.1.0-18.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0