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/mod_log_post.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79672-53426/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=991gid=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/mod_log_post.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 cat: /usr/include/httpd/.mmn: No such file or directory warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mod_log_post-0.1.0-1.oc9.src.rpm RPM build warnings: %patchN is deprecated (1 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 --nocheck /builddir/build/SPECS/mod_log_post.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79672-53426/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/mod_log_post.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 warning: %patchN is deprecated (1 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.eqIynF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_log_post-0.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mod_log_post-0.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_log_post-0.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (mod_log_post-0.1.0-httpd24.patch): + echo 'Patch #0 (mod_log_post-0.1.0-httpd24.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .httpd24 --fuzz=0 patching file mod_log_post.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.R1dA6t + 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 mod_log_post-0.1.0 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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 --with-apxs=/usr/lib64/httpd/build/vendor-apxs configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 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 sed... /usr/bin/sed checking for install... /usr/bin/install checking for configuration directory... /etc/httpd/conf.d checking for log file directory... /var/log/httpd 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 for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memset... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/lib64/httpd/build/vendor-apxs -Wc,-Wall -c mod_log_post.c /usr/bin/sed -e "s@PostLogFile .*@PostLogFile /var/log/httpd/post_log@g" \ -e "s@PostLogDebugFile .*@PostLogDebugFile /var/log/httpd/post_debug_log@g" \ log_post.conf.in > log_post.conf touch -c -r log_post.conf.in log_post.conf /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -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 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -Wall -c -o mod_log_post.lo mod_log_post.c && touch mod_log_post.slo mod_log_post.c: In function 'perform_action': mod_log_post.c:828:11: warning: variable 'message' set but not used [-Wunused-but-set-variable] 828 | char *message = NULL; | ^~~~~~~ mod_log_post.c: In function 'create_per_rule_actionset': mod_log_post.c:2776:41: warning: variable 'previous_signature' set but not used [-Wunused-but-set-variable] 2776 | signature **signatures = NULL, *previous_signature = NULL; | ^~~~~~~~~~~~~~~~~~ mod_log_post.c: In function 'request_body_file_cleanup': mod_log_post.c:3600:11: warning: variable 'put_filename' set but not used [-Wunused-but-set-variable] 3600 | char *put_filename = NULL; | ^~~~~~~~~~~~ mod_log_post.c: In function 'sec_init': mod_log_post.c:4535:9: warning: variable 'first_time' set but not used [-Wunused-but-set-variable] 4535 | int first_time = 0; | ^~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mod_log_post.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_log_post.lo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fWH1EK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64 + cd mod_log_post-0.1.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64//usr/lib64/httpd/modules /usr/bin/install -p -m 755 .libs/mod_log_post.so /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64//usr/lib64/httpd/modules mkdir -p /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64//etc/httpd/conf.d /usr/bin/install -p -p -m 644 log_post.conf /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64//etc/httpd/conf.d + mkdir -p /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/etc/httpd/conf.modules.d + sed -n '/^LoadModule/p' /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/etc/httpd/conf.d/log_post.conf + sed -i '/^LoadModule/d' /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/etc/httpd/conf.d/log_post.conf + touch -c -r log_post.conf /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/etc/httpd/conf.d/log_post.conf /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/etc/httpd/conf.modules.d/10-log_post.conf + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.1.0-1.oc9 --unique-debug-suffix -0.1.0-1.oc9.x86_64 --unique-debug-src-base mod_log_post-0.1.0-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/mod_log_post-0.1.0 extracting debug info from /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/lib64/httpd/modules/mod_log_post.so 322 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 Processing files: mod_log_post-0.1.0-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pacXkj + umask 022 + cd /builddir/build/BUILD + cd mod_log_post-0.1.0 + DOCDIR=/builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/doc/mod_log_post + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/doc/mod_log_post + cp -pr ChangeLog /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/doc/mod_log_post + cp -pr README /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/doc/mod_log_post + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ae02MP + umask 022 + cd /builddir/build/BUILD + cd mod_log_post-0.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/licenses/mod_log_post + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/licenses/mod_log_post + cp -pr COPYING /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/licenses/mod_log_post + cp -pr LICENSING_EXCEPTION /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64/usr/share/licenses/mod_log_post + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_log_post) = 0.1.0-1.oc9 mod_log_post = 0.1.0-1.oc9 mod_log_post(x86-64) = 0.1.0-1.oc9 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)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: mod_log_post-debugsource-0.1.0-1.oc9.x86_64 Provides: mod_log_post-debugsource = 0.1.0-1.oc9 mod_log_post-debugsource(x86-64) = 0.1.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_log_post-debuginfo-0.1.0-1.oc9.x86_64 Provides: debuginfo(build-id) = 8693717a331ead2c4c2a9cc494cd811a64751826 mod_log_post-debuginfo = 0.1.0-1.oc9 mod_log_post-debuginfo(x86-64) = 0.1.0-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_log_post-debugsource(x86-64) = 0.1.0-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_log_post-0.1.0-1.oc9.x86_64 Wrote: /builddir/build/RPMS/mod_log_post-0.1.0-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/mod_log_post-debugsource-0.1.0-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/mod_log_post-debuginfo-0.1.0-1.oc9.x86_64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0