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/certwatch.spec'], chrootPath='/var/lib/mock/f36-build-side-44794-29914440-4081067/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/certwatch.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 setting SOURCE_DATE_EPOCH=1631577600 Wrote: /builddir/build/SRPMS/certwatch-1.2-9.fc36.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/certwatch.spec'], chrootPath='/var/lib/mock/f36-build-side-44794-29914440-4081067/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/certwatch.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 setting SOURCE_DATE_EPOCH=1631577600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YWrwzS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf certwatch-1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/certwatch-1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd certwatch-1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + autoreconf -i configure.ac:4: warning: The macro `AC_ERROR' is obsolete. configure.ac:4: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:4: the top level + cp /builddir/build/SOURCES/notyetvalid.pem t/notvalid.pem + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cuWtgk + umask 022 + cd /builddir/build/BUILD + cd certwatch-1.2 + 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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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/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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking for xmlto... xmlto checking for x86_64-redhat-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for X509_get_subject_name in -lcrypto... yes configure: creating ./config.status config.status: creating Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j6 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/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 -Wall -Wextra -Werror=format-security -c -o certwatch.o certwatch.c xmlto man certwatch.cron.xml Note: Writing certwatch.cron.5 gcc -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 -o certwatch certwatch.o -lcrypto xmlto man certwatch.xml Note: Writing certwatch.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oD9T73 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64 + cd certwatch-1.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/bin /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/share/man/man5 cp certwatch /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/bin/certwatch cp certwatch.1 /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/share/man/man1/certwatch.1 cp certwatch.cron.5 /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/share/man/man5/certwatch.cron.5 + install -d -m 755 /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/etc/cron.daily + install -m 755 -p certwatch.cron /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/etc/cron.daily/certwatch + /usr/bin/find-debuginfo -j6 --strict-build-id -m -i --build-id-seed 1.2-9.fc36 --unique-debug-suffix -1.2-9.fc36.x86_64 --unique-debug-src-base certwatch-1.2-9.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/certwatch-1.2 extracting debug info from /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/bin/certwatch original debug info size: 32kB, size after compression: 32kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 16 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /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 mangling shebang in /etc/cron.daily/certwatch from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.x82xnn + umask 022 + cd /builddir/build/BUILD + cd certwatch-1.2 + export TZ=UTC + TZ=UTC + make check cd t && prove -v . # Test 9 got: "To: root\nSubject: The certificate for www.example.com will expire today\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.1d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 37) # Expected: "/Subject: The certificate for www.example.com will expire tomorrow/" # ./certwatch.t line 37 is: ok `$certwatch certw.1d`, "/$pfx will expire tomorrow/"; # Test 10 got: "To: root\nSubject: The certificate for www.example.com will expire in 21 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.22d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 38) # Expected: "/Subject: The certificate for www.example.com will expire in 22 days/" # ./certwatch.t line 38 is: ok `$certwatch certw.22d`, "/$pfx will expire in 22 days/"; # Test 11 got: "To: root\nSubject: The certificate for www.example.com will expire in 28 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.29d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 39) # Expected: "/Subject: The certificate for www.example.com will expire in 29 days/" # ./certwatch.t line 39 is: ok `$certwatch certw.29d`, "/$pfx will expire in 29 days/"; # Test 12 got: "To: root\nSubject: The certificate for www.example.com will expire in 29 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.31d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 40) # Expected: "" # ./certwatch.t line 40 is: ok `$certwatch certw.31d`, ''; # Failed test 20 in ./certwatch.t at line 53 # ./certwatch.t line 53 is: ok system("$certwatch -q certw.$c") != 0; ./certwatch.t .. 1..39 # Running under perl version 5.034000 for linux # Current time local: Tue Sep 14 17:10:48 2021 # Current time GMT: Tue Sep 14 17:10:48 2021 # Using Test.pm version 1.31 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 not ok 9 not ok 10 not ok 11 not ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 not ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 Failed 5/39 subtests Test Summary Report ------------------- ./certwatch.t (Wstat: 0 Tests: 39 Failed: 5) Failed tests: 9-12, 20 Files=1, Tests=39, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.23 cusr 0.09 csys = 0.34 CPU) Result: FAIL make: *** [Makefile:26: check] Error 1 + true + RPM_EC=0 ++ jobs -p + exit 0 Processing files: certwatch-1.2-9.fc36.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Wr4R1z + umask 022 + cd /builddir/build/BUILD + cd certwatch-1.2 + LICENSEDIR=/builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/share/licenses/certwatch + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/share/licenses/certwatch + cp -pr LICENSE /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64/usr/share/licenses/certwatch + RPM_EC=0 ++ jobs -p + exit 0 Provides: certwatch = 1.2-9.fc36 certwatch(x86-64) = 1.2-9.fc36 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.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) rtld(GNU_HASH) Obsoletes: crypto-utils < 2.5-7 Processing files: certwatch-mod_ssl-1.2-9.fc36.x86_64 Provides: certwatch-mod_ssl = 1.2-9.fc36 certwatch-mod_ssl(x86-64) = 1.2-9.fc36 config(certwatch-mod_ssl) = 1.2-9.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash Processing files: certwatch-debugsource-1.2-9.fc36.x86_64 Provides: certwatch-debugsource = 1.2-9.fc36 certwatch-debugsource(x86-64) = 1.2-9.fc36 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: certwatch-debuginfo-1.2-9.fc36.x86_64 Provides: certwatch-debuginfo = 1.2-9.fc36 certwatch-debuginfo(x86-64) = 1.2-9.fc36 debuginfo(build-id) = e9382aab3c7efdfe5278c1c472e473a0fe8db600 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: certwatch-debugsource(x86-64) = 1.2-9.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64 Wrote: /builddir/build/RPMS/certwatch-mod_ssl-1.2-9.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/certwatch-debugsource-1.2-9.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/certwatch-1.2-9.fc36.x86_64.rpm Wrote: /builddir/build/RPMS/certwatch-debuginfo-1.2-9.fc36.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dVerxt + umask 022 + cd /builddir/build/BUILD + cd certwatch-1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/certwatch-1.2-9.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0