Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lua-event.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-245604-23619/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f0e9e2216d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lua-event.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/lua-event-0.4.6-1.ocs23.src.rpm
RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lua-event.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-245604-23619/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f0e9e2216d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lua-event.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.odYeQb
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf luaevent-0.4.6
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/luaevent-0.4.6.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd luaevent-0.4.6
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #0 (lua-event-0.4.3-respect-cflags.patch):
+ echo 'Patch #0 (lua-event-0.4.3-respect-cflags.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file Makefile
Patch #1 (luaevent-0.4.3-envfix.patch):
+ echo 'Patch #1 (luaevent-0.4.3-envfix.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .envfix --fuzz=0
patching file src/buffer_event.c
Hunk #1 succeeded at 60 (offset 20 lines).
Hunk #2 succeeded at 121 (offset 20 lines).
Hunk #3 succeeded at 141 (offset 20 lines).
Hunk #4 succeeded at 165 (offset 20 lines).
+ rm -f doc/modules/luaevent.mdwn
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.6wUkO0
+ umask 022
+ cd /builddir/build/BUILD
+ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd luaevent-0.4.6
+ export '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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC'
+ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC'
+ export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -shared'
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -shared'
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -c -Iinclude -I/usr/include/lua5.1 src/*.c
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -shared -o core.so *.o -levent
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IbJwHv
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64
+ cd luaevent-0.4.6
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64 'INSTALL=/usr/bin/install -p' INSTALL_DIR_LUA=/usr/share/lua/5.4 INSTALL_DIR_BIN=/usr/lib64/lua/5.4
mkdir -p /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/lua/5.4
/usr/bin/install -p -m 644 lua/luaevent.lua /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/lua/5.4/luaevent.lua
mkdir -p /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/lib64/lua/5.4/luaevent/
/usr/bin/install -p core.so /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/lib64/lua/5.4/luaevent/core.so
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.4.6-1.ocs23 --unique-debug-suffix -0.4.6-1.ocs23.x86_64 --unique-debug-src-base lua-event-0.4.6-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/luaevent-0.4.6
extracting debug info from /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/lib64/lua/5.4/luaevent/core.so
73 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sfuf0k
+ umask 022
+ cd /builddir/build/BUILD
+ 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd luaevent-0.4.6
+ lua -e 'package.cpath="/builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/lib64/lua/5.4/?.so;"..package.cpath;
   package.path="/builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/lua/5.4/?.lua;"..package.path;
   dofile("test/basic.lua");'
Version:	luaevent 0.4.6
libevent version:	2.1.12-stable
Testing creating base object:	OK
libevent backend:	epoll
+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: lua-event-0.4.6-1.ocs23.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TbEtbc
+ umask 022
+ cd /builddir/build/BUILD
+ cd luaevent-0.4.6
+ DOCDIR=/builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/doc/lua-event
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/doc/lua-event
+ cp -pr CHANGELOG /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/doc/lua-event
+ cp -pr README /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/doc/lua-event
+ cp -pr doc/COROUTINE_MANAGEMENT /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/doc/lua-event
+ cp -pr doc/PLAN /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/doc/lua-event
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Ambuo2
+ umask 022
+ cd /builddir/build/BUILD
+ cd luaevent-0.4.6
+ LICENSEDIR=/builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/licenses/lua-event
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/licenses/lua-event
+ cp -pr doc/COPYING /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64/usr/share/licenses/lua-event
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: lua-event = 0.4.6-1.ocs23 lua-event(x86-64) = 0.4.6-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libevent-2.1.so.7()(64bit) rtld(GNU_HASH)
Processing files: lua-event-debugsource-0.4.6-1.ocs23.x86_64
Provides: lua-event-debugsource = 0.4.6-1.ocs23 lua-event-debugsource(x86-64) = 0.4.6-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: lua-event-debuginfo-0.4.6-1.ocs23.x86_64
Provides: debuginfo(build-id) = 452d5ab6b7ca463769166414b755cfe566b38459 lua-event-debuginfo = 0.4.6-1.ocs23 lua-event-debuginfo(x86-64) = 0.4.6-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: lua-event-debugsource(x86-64) = 0.4.6-1.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lua-event-0.4.6-1.ocs23.x86_64
Wrote: /builddir/build/RPMS/lua-event-debugsource-0.4.6-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/lua-event-0.4.6-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/lua-event-debuginfo-0.4.6-1.ocs23.x86_64.rpm
RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Child return code was: 0