Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_serverheader.spec'], chrootPath='/var/lib/mock/rhel-8-x86_64-1673283453.167427/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16yicbyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16yicbyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a287e002c83747d4be7ca066e007746c', '-D', '/var/lib/mock/rhel-8-x86_64-1673283453.167427/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16yicbyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod_serverheader.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mod_serverheader-1.0.5-3.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/mod_serverheader.spec'], chrootPath='/var/lib/mock/rhel-8-x86_64-1673283453.167427/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16yicbyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16yicbyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5e2351b024754b85a06c85010e03f69f', '-D', '/var/lib/mock/rhel-8-x86_64-1673283453.167427/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.16yicbyb:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod_serverheader.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.adnHKn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_serverheader-1.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_serverheader-1.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oyVWrj + umask 022 + cd /builddir/build/BUILD + cd mod_serverheader-1.0.5 + apxs -c mod_serverheader.c /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -c -o mod_serverheader.lo mod_serverheader.c && touch mod_serverheader.slo mod_serverheader.c: In function 'hook_post_config': mod_serverheader.c:39:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char * banner = ap_get_server_banner(); ^~~~~~~~~~~~~~~~~~~~ In file included from mod_serverheader.c:17: mod_serverheader.c:53:48: warning: format '%d' expects a matching 'int' argument [-Wformat=] ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s, "ServerHeader directive (\"%s\") is too long. Please set ServerTokens to Full or limit your ServerHeader length to %d. [old: %d, new: %d]", config->new_server_header, banner_len, new_banner_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/httpd/http_log.h:367:65: note: in definition of macro 'ap_log_error__' ap_log_error_(file, line, mi, level, status, sr__, __VA_ARGS__); \ ^~~~~~~~~~~ mod_serverheader.c:53:5: note: in expansion of macro 'ap_log_error' ap_log_error(APLOG_MARK, APLOG_CRIT, 0, s, "ServerHeader directive (\"%s\") is too long. Please set ServerTokens to Full or limit your ServerHeader length to %d. [old: %d, new: %d]", config->new_server_header, banner_len, new_banner_len); ^~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro,-z,now -o mod_serverheader.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_serverheader.lo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wGN9mR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64 ++ dirname /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64 + cd mod_serverheader-1.0.5 + rm -rf /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64 + mkdir -p /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64//usr/lib64/httpd/modules + cp .libs/mod_serverheader.so /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/usr/lib64/httpd/modules/mod_serverheader.so + install -Dp -m0644 /builddir/build/SOURCES/mod_serverheader.conf /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/etc/httpd/conf.d/mod_serverheader.conf + install -Dp -m0644 /builddir/build/SOURCES/00-serverheader.conf /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/etc/httpd/conf.modules.d/00-serverheader.conf + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.5-3 --unique-debug-suffix -1.0.5-3.x86_64 --unique-debug-src-base mod_serverheader-1.0.5-3.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mod_serverheader-1.0.5 extracting debug info from /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/usr/lib64/httpd/modules/mod_serverheader.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 5 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/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: mod_serverheader-1.0.5-3.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RF874I + umask 022 + cd /builddir/build/BUILD + cd mod_serverheader-1.0.5 + DOCDIR=/builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/usr/share/doc/mod_serverheader + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/usr/share/doc/mod_serverheader + cp -pr README.md /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64/usr/share/doc/mod_serverheader + exit 0 Provides: config(mod_serverheader) = 1.0.5-3 mod_serverheader = 1.0.5-3 mod_serverheader(x86-64) = 1.0.5-3 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) rtld(GNU_HASH) Processing files: mod_serverheader-debugsource-1.0.5-3.x86_64 Provides: mod_serverheader-debugsource = 1.0.5-3 mod_serverheader-debugsource(x86-64) = 1.0.5-3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_serverheader-debuginfo-1.0.5-3.x86_64 Provides: debuginfo(build-id) = 1f0eb852d2cacb95327a6d4c465f2fcf9c7e4af1 mod_serverheader-debuginfo = 1.0.5-3 mod_serverheader-debuginfo(x86-64) = 1.0.5-3 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_serverheader-debugsource(x86-64) = 1.0.5-3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64 Wrote: /builddir/build/RPMS/mod_serverheader-1.0.5-3.x86_64.rpm Wrote: /builddir/build/RPMS/mod_serverheader-debugsource-1.0.5-3.x86_64.rpm Wrote: /builddir/build/RPMS/mod_serverheader-debuginfo-1.0.5-3.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PWk0a7 + umask 022 + cd /builddir/build/BUILD + cd mod_serverheader-1.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_serverheader-1.0.5-3.x86_64 + exit 0 Child return code was: 0