Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nginx-mod-modsecurity-crs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1666562241.675882/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.71eaidtf:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.71eaidtf:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'b0d785bebaed4c02b13a676457581072', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1666562241.675882/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.71eaidtf:/etc/resolv.conf', '--bind=/dev/btrfs-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/nginx-mod-modsecurity-crs.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 warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/modsecurity-nginx-crs-3.3.4-2.fc38.src.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/nginx-mod-modsecurity-crs.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1666562241.675882/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.71eaidtf:/etc/resolv.conf', '--bind=/dev/btrfs-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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.71eaidtf:/etc/resolv.conf', '--bind=/dev/btrfs-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', 'aa7fe3cf3a7f483a97ec867a7a84deb5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1666562241.675882/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.71eaidtf:/etc/resolv.conf', '--bind=/dev/btrfs-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/nginx-mod-modsecurity-crs.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 warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AnVwNd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf coreruleset-3.3.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v3.3.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd coreruleset-3.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'modsecurity-nginx-crs-3.3.4 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KiQu6Z + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64 + 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 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -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 -m64 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd coreruleset-3.3.4 + /usr/bin/install -d /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/etc/nginx/modsecurity.d/coreruleset/rules/ + /usr/bin/install -p -D -m 0644 rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf.example rules/REQUEST-901-INITIALIZATION.conf rules/REQUEST-903.9001-DRUPAL-EXCLUSION-RULES.conf rules/REQUEST-903.9002-WORDPRESS-EXCLUSION-RULES.conf rules/REQUEST-903.9003-NEXTCLOUD-EXCLUSION-RULES.conf rules/REQUEST-903.9004-DOKUWIKI-EXCLUSION-RULES.conf rules/REQUEST-903.9005-CPANEL-EXCLUSION-RULES.conf rules/REQUEST-903.9006-XENFORO-EXCLUSION-RULES.conf rules/REQUEST-905-COMMON-EXCEPTIONS.conf rules/REQUEST-910-IP-REPUTATION.conf rules/REQUEST-911-METHOD-ENFORCEMENT.conf rules/REQUEST-912-DOS-PROTECTION.conf rules/REQUEST-913-SCANNER-DETECTION.conf rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf rules/REQUEST-921-PROTOCOL-ATTACK.conf rules/REQUEST-922-MULTIPART-ATTACK.conf rules/REQUEST-930-APPLICATION-ATTACK-LFI.conf rules/REQUEST-931-APPLICATION-ATTACK-RFI.conf rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf rules/REQUEST-933-APPLICATION-ATTACK-PHP.conf rules/REQUEST-934-APPLICATION-ATTACK-NODEJS.conf rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf rules/REQUEST-942-APPLICATION-ATTACK-SQLI.conf rules/REQUEST-943-APPLICATION-ATTACK-SESSION-FIXATION.conf rules/REQUEST-944-APPLICATION-ATTACK-JAVA.conf rules/REQUEST-949-BLOCKING-EVALUATION.conf rules/RESPONSE-950-DATA-LEAKAGES.conf rules/RESPONSE-951-DATA-LEAKAGES-SQL.conf rules/RESPONSE-952-DATA-LEAKAGES-JAVA.conf rules/RESPONSE-953-DATA-LEAKAGES-PHP.conf rules/RESPONSE-954-DATA-LEAKAGES-IIS.conf rules/RESPONSE-959-BLOCKING-EVALUATION.conf rules/RESPONSE-980-CORRELATION.conf rules/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf.example rules/crawlers-user-agents.data rules/iis-errors.data rules/java-classes.data rules/java-code-leakages.data rules/java-errors.data rules/lfi-os-files.data rules/php-config-directives.data rules/php-errors.data rules/php-function-names-933150.data rules/php-function-names-933151.data rules/php-variables.data rules/restricted-files.data rules/restricted-upload.data rules/scanners-headers.data rules/scanners-urls.data rules/scanners-user-agents.data rules/scripting-user-agents.data rules/sql-errors.data rules/unix-shell.data rules/windows-powershell-commands.data /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/etc/nginx/modsecurity.d/coreruleset/rules/ + /usr/bin/install -p -D -m 0644 crs-setup.conf.example /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/etc/nginx/modsecurity.d/coreruleset/crs-setup.conf + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/load_file.conf /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/etc/nginx/modsecurity.d/coreruleset/load_file.conf + /usr/bin/install -p -D -m 0644 /builddir/build/SOURCES/modsecurity.conf /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/etc/nginx/conf.d/modsecurity.conf + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: modsecurity-nginx-crs-3.3.4-2.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.k8kGMk + umask 022 + cd /builddir/build/BUILD + cd coreruleset-3.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/usr/share/licenses/modsecurity-nginx-crs + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/usr/share/licenses/modsecurity-nginx-crs + cp -pr LICENSE /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64/usr/share/licenses/modsecurity-nginx-crs + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /etc/nginx/conf.d/modsecurity.conf warning: File listed twice: /etc/nginx/modsecurity.d/coreruleset/crs-setup.conf Provides: config(modsecurity-nginx-crs) = 3.3.4-2.fc38 modsecurity-nginx-crs = 3.3.4-2.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64 Wrote: /builddir/build/RPMS/modsecurity-nginx-crs-3.3.4-2.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PLZDOa + umask 022 + cd /builddir/build/BUILD + cd coreruleset-3.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/modsecurity-nginx-crs-3.3.4-2.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.fL0vG3 + umask 022 + cd /builddir/build/BUILD + rm -rf coreruleset-3.3.4 coreruleset-3.3.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing File listed twice: /etc/nginx/conf.d/modsecurity.conf File listed twice: /etc/nginx/modsecurity.d/coreruleset/crs-setup.conf Child return code was: 0