Mock Version: 2.17
Mock Version: 2.17
Mock Version: 2.17
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/logrotate.spec'], chrootPath='/var/lib/mock/v8.3-base-4040-3957/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f710405e710>timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/logrotate.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: bogus date in %changelog: Wed Aug 01 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-4
warning: bogus date in %changelog: Wed Jul 18 2003 Dan Walsh <dwalsh@redhat.com> 3.6.9-2
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/logrotate-3.8.6-20.xcpng8.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/logrotate.spec'], chrootPath='/var/lib/mock/v8.3-base-4040-3957/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f710405e710>timeout=86400uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/logrotate.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
warning: bogus date in %changelog: Wed Aug 01 2011 Jan Kaluza <jkaluza@redhat.com> 3.8.0-4
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5gOqFP
warning: bogus date in %changelog: Wed Jul 18 2003 Dan Walsh <dwalsh@redhat.com> 3.6.9-2
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf logrotate-3.8.6
+ /usr/bin/gzip -dc /builddir/build/SOURCES/logrotate-3.8.6.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd logrotate-3.8.6
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-force.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-r465.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-sortglob.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-r460.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-compress-subject.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-olddircopy.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-state-clean.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-statusfile.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-diagnostic.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-olddir-missingok.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-longdate-crash.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-createolddir.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-selinux.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-su-username.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-copy-and-copytruncate.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-weekly.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-config-mode-err.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-upstream-url.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-monthly-dst.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/logrotate-3.8.6-unlink-on-failure.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/0001-createOutputFile-rename-already-existing-file.patch
+ /usr/bin/patch -p1 -s
+ /usr/bin/cat /builddir/build/SOURCES/remove-tests-which-break-on-overlayfs
+ /usr/bin/patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0RVPnD
+ umask 022
+ cd /builddir/build/BUILD
+ cd logrotate-3.8.6
+ make -j8 'RPM_OPT_FLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic' WITH_SELINUX=yes WITH_ACL=yes
cc -E -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.6\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -DWITH_SELINUX -DWITH_ACL    -M logrotate.c log.c config.c basenames.c  > .depend
cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.6\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -DWITH_SELINUX -DWITH_ACL      -c -o logrotate.o logrotate.c
cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.6\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -DWITH_SELINUX -DWITH_ACL      -c -o log.o log.c
cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.6\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -DWITH_SELINUX -DWITH_ACL      -c -o config.o config.c
cc -Wall -D_GNU_SOURCE -DLinux -DVERSION=\"3.8.6\" -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -DWITH_SELINUX -DWITH_ACL      -c -o basenames.o basenames.c
echo "1" > ./test/test.ACL ;
echo "1" > ./test/test.SELINUX ;
cc    logrotate.o log.o config.o basenames.o -lpopt -lselinux -lacl  -o logrotate
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PLysFs
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64
++ dirname /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64
+ '[' '!' -d /usr/lib/opamroot ']'
+ cd logrotate-3.8.6
+ rm -rf /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64
+ make PREFIX=/builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64 MANDIR=/usr/share/man install
[ -d /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/sbin ] || mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/sbin
[ -d /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man ] || mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man
[ -d /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man8 ] || mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man8
[ -d /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man5 ] || mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man5
if [ "Linux" = HP-UX ]; then \
install logrotate /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/sbin 0755 bin bin; \
install logrotate.8 /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man`echo logrotate.8 | sed "s/.*\.//"` 0644 bin bin; \
install logrotate.conf.5 /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man`echo logrotate.conf.5 | sed "s/.*\.//"` 0644 bin bin; \
else if [ "Linux" = FreeBSD ]; then \
 logrotate /usr/sbin; \
 logrotate.8 /usr/share/man/man`echo logrotate.8 | sed "s/.*\.//"`/logrotate.8; \
 logrotate.conf.5 /usr/share/man/man`echo logrotate.conf.5 | sed "s/.*\.//"`/logrotate.conf.5; \
else \
install -m 755 logrotate /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/sbin; \
install -m 644 logrotate.8 /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man`echo logrotate.8 | sed "s/.*\.//"`/logrotate.8; \
install -m 644 logrotate.conf.5 /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/man/man`echo logrotate.conf.5 | sed "s/.*\.//"`/logrotate.conf.5; \
fi; fi
+ mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64//etc/logrotate.d
+ mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64//etc/cron.daily
+ mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64//var/lib/logrotate
+ install -p -m 644 examples/logrotate-default /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64//etc/logrotate.conf
+ install -p -m 755 examples/logrotate.cron /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64//etc/cron.daily/logrotate
+ mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64//etc/rwtab.d
+ install -m644 /builddir/build/SOURCES/rwtab /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/etc/rwtab.d/logrotate
+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/logrotate-3.8.6
extracting debug info from /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/sbin/logrotate
dwz: Too few files for multifile optimization
/usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
221 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.29HrZi
+ umask 022
+ cd /builddir/build/BUILD
+ cd logrotate-3.8.6
+ make test
(cd test; ./test)
SELinux disabled. SELinux tests will not be executed.
./test: line 33: type: selinuxenabled: not found
Running test 1
Running test 2
Running test 3
Running test 4
Running test 5
Running test 6
Skipping SELinux part of test 6
Running test 7
Running test 8
Running test 9
Running test 10
Skipping SELinux part of test 10
Running test 11
Running test 12
Running test 14
Running test 15
Running test 16
Running test 17
Running test 18
Running test 19
Running test 20
Running test 21
Running test 22
Running test 23
Running test 24
Running test 25
Running test 26
Running test 27
Running test 28
Running test 29
Running test 30
Running test 31
Running test 32
Running test 33
Running test 34
Running test 35
Running test 36
Running test 37
Running test 38
Running test 39
Running test 40
Running test 41
Running test 42
Running test 43
Running test 44
Running test 45
Running test 46
Skipping SELinux part of test 6
Running test 47
Skipping SELinux test 47
Running test 48
Running test 49
Running test 50
Running test 51
Running test 52
Running test 53
Running test 54
Running test 55
Running test 56
Running test 60
Running test 64
Running test 65
Running test 67
Running test 68
Running test 61
Running test 73
+ exit 0
Processing files: logrotate-3.8.6-20.xcpng8.3.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vQKTsI
+ umask 022
+ cd /builddir/build/BUILD
+ cd logrotate-3.8.6
+ DOCDIR=/builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/doc/logrotate-3.8.6
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/doc/logrotate-3.8.6
+ cp -pr CHANGES /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/doc/logrotate-3.8.6
+ cp -pr COPYING /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64/usr/share/doc/logrotate-3.8.6
+ exit 0
Provides: config(logrotate) = 3.8.6-20.xcpng8.3 logrotate = 3.8.6-20.xcpng8.3 logrotate(x86-64) = 3.8.6-20.xcpng8.3
Requires(interp): /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh
Requires: /bin/sh libacl.so.1()(64bit) libacl.so.1(ACL_1.0)(64bit) 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.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) libselinux.so.1()(64bit) rtld(GNU_HASH)
Processing files: logrotate-debuginfo-3.8.6-20.xcpng8.3.x86_64
Provides: logrotate-debuginfo = 3.8.6-20.xcpng8.3 logrotate-debuginfo(x86-64) = 3.8.6-20.xcpng8.3
Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64
Wrote: /builddir/build/RPMS/logrotate-3.8.6-20.xcpng8.3.x86_64.rpm
Wrote: /builddir/build/RPMS/logrotate-debuginfo-3.8.6-20.xcpng8.3.x86_64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aAyNIX
+ umask 022
+ cd /builddir/build/BUILD
+ cd logrotate-3.8.6
+ rm -rf /builddir/build/BUILDROOT/logrotate-3.8.6-20.xcpng8.3.x86_64
+ exit 0
Child return code was: 0