Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lua-ldap.spec'], chrootPath='/var/lib/mock/f31-build-76506-31399/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=345600uid=986gid=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=1564012800 Wrote: /builddir/build/SRPMS/lua-ldap-1.1.0-14.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lua-ldap.spec'], chrootPath='/var/lib/mock/f31-build-76506-31399/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=345600uid=986gid=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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vXVopC + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (lua52.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (fix-attempt-to-concatenate-a-nil-value.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (0001-update-test.lua-for-5.2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 + echo 'Patch #4 (0002-script-to-run-test.lua-against-a-dummy-slapd.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 + chmod a+x tests/run-tests.sh + echo 'LUA_VERSION_NUM = ' + rm -rf /builddir/build/BUILD/lua51-lua-ldap-1.1.0-14.fc31 + cp -a . /builddir/build/BUILD/lua51-lua-ldap-1.1.0-14.fc31 + echo 'CFLAGS = -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include -DLDAP_DEPRECATED' + echo 'LUA_LIBDIR = /usr/lib64/lua/5.3' + echo 'CFLAGS = -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -DLDAP_DEPRECATED' + echo 'LUA_LIBDIR = /usr/lib64/lua/5.1' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (destdir.patch): patching file Makefile Patch #1 (lua52.patch): patching file src/lualdap.c Patch #2 (fix-attempt-to-concatenate-a-nil-value.patch): patching file src/lualdap.c Hunk #1 succeeded at 430 (offset -6 lines). Patch #3 (0001-update-test.lua-for-5.2.patch): patching file tests/test.lua Patch #4 (0002-script-to-run-test.lua-against-a-dummy-slapd.patch): patching file Makefile patching file tests/run-tests.sh Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7KtI6A + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + make -j4 + pushd /builddir/build/BUILD/lua51-lua-ldap-1.1.0-14.fc31 + make -j4 + popd + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include -DLDAP_DEPRECATED -c -o src/lualdap.o src/lualdap.c export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include -DLDAP_DEPRECATED -shared -o src/lualdap.so.1.1.0 src/lualdap.o -lldap ~/build/BUILD/lua51-lua-ldap-1.1.0-14.fc31 ~/build/BUILD/lualdap-1.1.0 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -DLDAP_DEPRECATED -c -o src/lualdap.o src/lualdap.c export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/lua-5.1 -DLDAP_DEPRECATED -shared -o src/lualdap.so.1.1.0 src/lualdap.o -lldap ~/build/BUILD/lualdap-1.1.0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oqDB8B + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 + cd lualdap-1.1.0 + make install DESTDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 + pushd /builddir/build/BUILD/lua51-lua-ldap-1.1.0-14.fc31 + make install DESTDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 + popd + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.0-14.fc31 --unique-debug-suffix -1.1.0-14.fc31.riscv64 --unique-debug-src-base lua-ldap-1.1.0-14.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lualdap-1.1.0 BUILDSTDERR: 53 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mkdir -p /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.3 install -p -m0755 src/lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.3 ln -s lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.3/lualdap.so ~/build/BUILD/lua51-lua-ldap-1.1.0-14.fc31 ~/build/BUILD/lualdap-1.1.0 mkdir -p /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.1 install -p -m0755 src/lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.1 ln -s lualdap.so.1.1.0 /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.1/lualdap.so ~/build/BUILD/lualdap-1.1.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.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-14.fc31.riscv64/usr/lib64/lua/5.3/lualdap.so.1.1.0 extracting debug info from /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.1/lualdap.so.1.1.0 extracting debug info from /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/lib64/lua/5.3/lualdap.so.1.1.0 original debug info size: 168kB, size after compression: 164kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cRcZXA + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + make check BUILDSTDERR: +++ dirname tests/run-tests.sh BUILDSTDERR: ++ 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 BUILDSTDERR: ++ slappasswd -s thepassword BUILDSTDERR: 5d4cc4fc bdb_db_open: warning - no DB_CONFIG file found in directory /builddir/build/BUILD/lualdap-1.1.0/tests/slapd-data: (2). BUILDSTDERR: Expect poor performance for suffix "dc=example,dc=invalid". BUILDSTDERR: 5d4cc4fd 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 BUILDSTDERR: ++ cat /builddir/build/BUILD/lualdap-1.1.0/tests/slapd.pid + kill -TERM 6129 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 LUA_CPATH="src/?.so.1.1.0" tests/run-tests.sh 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 ! Processing files: lua-ldap-1.1.0-14.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YH87eA + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.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-14.fc31.riscv64/usr/share/doc/lua-ldap + cp -pr README /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/share/doc/lua-ldap + cp -pr doc/ /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/share/doc/lua-ldap + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: lua-ldap = 1.1.0-14.fc31 lua-ldap(riscv-64) = 1.1.0-14.fc31 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) rtld(GNU_HASH) Processing files: lua-ldap-compat-1.1.0-14.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pNHqRz + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + DOCDIR=/builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.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-14.fc31.riscv64/usr/share/doc/lua-ldap-compat + cp -pr README /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/share/doc/lua-ldap-compat + cp -pr doc/ /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64/usr/share/doc/lua-ldap-compat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: lua-ldap-compat = 1.1.0-14.fc31 lua-ldap-compat(riscv-64) = 1.1.0-14.fc31 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) rtld(GNU_HASH) Processing files: lua-ldap-debugsource-1.1.0-14.fc31.riscv64 Provides: lua-ldap-debugsource = 1.1.0-14.fc31 lua-ldap-debugsource(riscv-64) = 1.1.0-14.fc31 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-14.fc31.riscv64 Provides: debuginfo(build-id) = b4bec9dd704dae6a4064594f7723b196b2723e34 lua-ldap-debuginfo = 1.1.0-14.fc31 lua-ldap-debuginfo(riscv-64) = 1.1.0-14.fc31 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-14.fc31 Processing files: lua-ldap-compat-debuginfo-1.1.0-14.fc31.riscv64 Provides: debuginfo(build-id) = 3485c4aff47487f01f67ead6daa6b54d201d7f6d lua-ldap-compat-debuginfo = 1.1.0-14.fc31 lua-ldap-compat-debuginfo(riscv-64) = 1.1.0-14.fc31 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-14.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 Wrote: /builddir/build/RPMS/lua-ldap-debugsource-1.1.0-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-1.1.0-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-compat-1.1.0-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-debuginfo-1.1.0-14.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/lua-ldap-compat-debuginfo-1.1.0-14.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CoE3TC + umask 022 + cd /builddir/build/BUILD + cd lualdap-1.1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lua-ldap-1.1.0-14.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0