Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oci-systemd-hook.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8060020220513172728-2e213529-build-56068-18922/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/oci-systemd-hook.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oci-systemd-hook.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8060020220513172728-2e213529-build-56068-18922/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/oci-systemd-hook.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.i2Voec + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 + /usr/bin/gzip -dc /builddir/build/SOURCES/oci-systemd-hook-2d0b8a3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Iyp42f + umask 022 + cd /builddir/build/BUILD + cd oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 + aclocal + autoreconf -i configure.ac:5: installing 'build-aux/compile' configure.ac:4: installing 'build-aux/install-sh' configure.ac:4: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/libexec/oci/hooks.d/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for x86_64-redhat-linux-gnu-pkg-config... /usr/bin/x86_64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for YAJL... yes checking for SELINUX... yes checking for LIBMOUNT... yes checking whether to disable argument checking... checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j16 make all-am make[1]: Entering directory '/builddir/build/BUILD/oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072' go-md2man -in doc/oci-systemd-hook.1.md -out oci-systemd-hook.1 gcc -DHAVE_CONFIG_H -I. -Wall -Wextra -std=c99 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o src/oci_systemd_hook-systemdhook.o `test -f 'src/systemdhook.c' || echo './'`src/systemdhook.c src/systemdhook.c: In function 'main': src/systemdhook.c:889:60: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 992 [-Wformat-truncation=] snprintf(errbuf, BUFLEN, "failed to read config data from %s", config_file_name); ^~ ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from src/systemdhook.c:2: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 33 and 4128 bytes into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -Wextra -std=c99 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o oci-systemd-hook src/oci_systemd_hook-systemdhook.o -lyajl -lselinux -lmount make[1]: Leaving directory '/builddir/build/BUILD/oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KoQGNd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 ++ dirname /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 + cd oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/libexec/oci/hooks.d' /usr/bin/install -p oci-systemd-hook '/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/libexec/oci/hooks.d' /usr/bin/mkdir -p /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/containers/oci/hooks.d /usr/bin/mkdir -p '/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 oci-systemd-hook.1 '/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/containers/oci/hooks.d' /usr/bin/install -p -m 644 oci-systemd-hook.json '/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/containers/oci/hooks.d' make[1]: Leaving directory '/builddir/build/BUILD/oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072' + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 --unique-debug-suffix -0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 --unique-debug-src-base oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 extracting debug info from /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/libexec/oci/hooks.d/oci-systemd-hook /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 62 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wI6XRe + umask 022 + cd /builddir/build/BUILD + cd oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 + DOCDIR=/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/doc/oci-systemd-hook + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/doc/oci-systemd-hook + cp -pr README.md /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/doc/oci-systemd-hook + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ikA3kd + umask 022 + cd /builddir/build/BUILD + cd oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 + LICENSEDIR=/builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/licenses/oci-systemd-hook + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/licenses/oci-systemd-hook + cp -pr LICENSE /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64/usr/share/licenses/oci-systemd-hook + exit 0 Provides: oci-systemd-hook = 1:0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 oci-systemd-hook(x86-64) = 1:0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libmount.so.1()(64bit) libselinux.so.1()(64bit) libyajl.so.2()(64bit) rtld(GNU_HASH) Obsoletes: oci-systemd-hook <= 1.10.3-46 Processing files: oci-systemd-hook-debugsource-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 Provides: oci-systemd-hook-debugsource = 1:0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 oci-systemd-hook-debugsource(x86-64) = 1:0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: oci-systemd-hook-debuginfo-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 Provides: debuginfo(build-id) = 917ce63e273810642425aef47db73934fe6e3f34 oci-systemd-hook-debuginfo = 1:0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 oci-systemd-hook-debuginfo(x86-64) = 1:0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: oci-systemd-hook-debugsource(x86-64) = 1:0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 Wrote: /builddir/build/RPMS/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64.rpm Wrote: /builddir/build/RPMS/oci-systemd-hook-debugsource-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64.rpm Wrote: /builddir/build/RPMS/oci-systemd-hook-debuginfo-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3343zc + umask 022 + cd /builddir/build/BUILD + cd oci-systemd-hook-2d0b8a328d2e0b22d00a47911a0e6ee16e0ea072 + /usr/bin/rm -rf /builddir/build/BUILDROOT/oci-systemd-hook-0.1.15-2.git2d0b8a3.module+el8.6.0+372+05b85d62.x86_64 + exit 0 Child return code was: 0