Mock Version: 1.1.8 Mock Version: 1.1.8 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/bzip2.spec'], False, '/var/lib/mock/dist-f15-build-978730-147409/root/', None, 86400, True, 0, 419, 497, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/bzip2.spec'] warning: Could not canonicalize hostname: x86-09.phx2.fedoraproject.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/bzip2-1.0.6-3.fc15.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/bzip2.spec'], False, '/var/lib/mock/dist-f15-build-978730-147409/root/', None, 86400, True, 0, 419, 497, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/bzip2.spec'] Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0ynZnx + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf bzip2-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/bzip2-1.0.6.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd bzip2-1.0.6 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (bzip2-1.0.4-saneso.patch):' Patch #0 (bzip2-1.0.4-saneso.patch): + /bin/cat /builddir/build/SOURCES/bzip2-1.0.4-saneso.patch + /usr/bin/patch -s -p1 -b --suffix .saneso --fuzz=0 Patch #5 (bzip2-1.0.4-cflags.patch): + echo 'Patch #5 (bzip2-1.0.4-cflags.patch):' + /bin/cat /builddir/build/SOURCES/bzip2-1.0.4-cflags.patch + /usr/bin/patch -s -p1 -b --suffix .cflags --fuzz=0 Patch #6 (bzip2-1.0.4-bzip2recover.patch): + echo 'Patch #6 (bzip2-1.0.4-bzip2recover.patch):' + /bin/cat /builddir/build/SOURCES/bzip2-1.0.4-bzip2recover.patch + /usr/bin/patch -s -p1 -b --suffix .bz2recover --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fmQ05h + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + LANG=C + export LANG + unset DISPLAY + make -f Makefile-libbz2_so CC=gcc AR=ar RANLIB=ranlib 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC' -j16 all gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c blocksort.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c huffman.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c crctable.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c randtable.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c compress.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c decompress.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -c bzlib.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.6 blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -fpic -fPIC -o bzip2-shared bzip2.c libbz2.so.1.0.6 bzip2.c: In function 'testStream': bzip2.c:557:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable] bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] bzip2.c: In function 'uncompressStream': bzip2.c:465:20: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result] bzip2.c:511:31: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result] rm -f libbz2.so.1.0 ln -s libbz2.so.1.0.6 libbz2.so.1.0 + rm -f blocksort.o bzlib.o compress.o crctable.o decompress.o huffman.o randtable.o + make CC=gcc AR=ar RANLIB=ranlib 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64' -j16 all gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c huffman.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c crctable.c If compilation produces errors, or a large number of warnings, please read README.COMPILATION.PROBLEMS -- you might be able to adjust the flags in this Makefile to improve matters. Also in README.COMPILATION.PROBLEMS are some hints that may help if your build produces an executable which is unable to correctly handle so-called 'large files' -- files of size 2GB or more. gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c blocksort.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c randtable.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c compress.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c decompress.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c bzlib.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c bzip2.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -c bzip2recover.c bzip2.c: In function 'testStream': bzip2.c:557:37: warning: variable 'nread' set but not used [-Wunused-but-set-variable] bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] bzip2.c: In function 'uncompressStream': bzip2.c:465:20: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result] bzip2.c:511:31: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result [-Wunused-result] gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -o bzip2recover bzip2recover.o rm -f libbz2.a ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o ranlib libbz2.a gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_FILE_OFFSET_BITS=64 -o bzip2 bzip2.o -L. -lbz2 Doing 6 tests (3 compress, 3 uncompress) ... If there's a problem, things might stop at this point. ./bzip2 -1 < sample1.ref > sample1.rb2 ./bzip2 -2 < sample2.ref > sample2.rb2 ./bzip2 -3 < sample3.ref > sample3.rb2 ./bzip2 -d < sample1.bz2 > sample1.tst ./bzip2 -d < sample2.bz2 > sample2.tst ./bzip2 -ds < sample3.bz2 > sample3.tst cmp sample1.bz2 sample1.rb2 cmp sample2.bz2 sample2.rb2 cmp sample3.bz2 sample3.rb2 cmp sample1.tst sample1.ref cmp sample2.tst sample2.ref cmp sample3.tst sample3.ref If you got this far and the 'cmp's didn't complain, it looks like you're in business. To install in /usr/local/bin, /usr/local/lib, /usr/local/man and /usr/local/include, type make install To install somewhere else, eg, /xxx/yyy/{bin,lib,man,include}, type make install PREFIX=/xxx/yyy If you are (justifiably) paranoid and want to see what 'make install' is going to do, you can first do make -n install or make -n install PREFIX=/xxx/yyy respectively. The -n instructs make to show the commands it would execute, but not actually execute them. Instructions for use are in the preformatted manual page, in the file bzip2.txt. For more detailed documentation, read the full manual. It is available in Postscript form (manual.ps), PDF form (manual.pdf), and HTML form (manual.html). You can also do "bzip2 --help" to see some helpful information. "bzip2 -L" displays the software license. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6SLRfc + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64 ++ dirname /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64 + cd bzip2-1.0.6 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64 + chmod 644 bzlib.h + mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/man/man1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/lib64 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/lib64 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/include + cp -p bzlib.h /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/include + install -m 755 libbz2.so.1.0.6 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/lib64 + install -m 755 bzip2-shared /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/bzip2 + install -m 755 bzip2recover bzgrep bzdiff bzmore /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/ + cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/man/man1/ + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/bunzip2 + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/bzcat + ln -s bzdiff /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/bzcmp + ln -s bzmore /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/bzless + ln -s libbz2.so.1.0.6 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/lib64/libbz2.so.1 + ln -s ../../lib64/libbz2.so.1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64//usr/lib64/libbz2.so + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/man/man1/bzip2recover.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/man/man1/bunzip2.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/man/man1/bzcat.1 + ln -s bzdiff.1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/man/man1/bzcmp.1 + ln -s bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/man/man1/bzless.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/bzip2-1.0.6 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/bzip2recover extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/bin/bzip2 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/lib64/libbz2.so.1.0.6 symlinked /usr/lib/debug/lib64/libbz2.so.1.0.6.debug to /usr/lib/debug/usr/lib64/libbz2.so.debug symlinked /usr/lib/debug/usr/bin/bzip2.debug to /usr/lib/debug/usr/bin/bzcat.debug symlinked /usr/lib/debug/usr/bin/bzip2.debug to /usr/lib/debug/usr/bin/bunzip2.debug symlinked /usr/lib/debug/lib64/libbz2.so.1.0.6.debug to /usr/lib/debug/lib64/libbz2.so.1.debug 444 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 Processing files: bzip2-1.0.6-3.fc15.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RcPgx9 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-1.0.6 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-1.0.6 + /bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-1.0.6 + cp -pr LICENSE CHANGES README /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-1.0.6 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libbz2.so.1()(64bit) libc.so.6()(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) rtld(GNU_HASH) Processing files: bzip2-devel-1.0.6-3.fc15.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.U98516 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-devel-1.0.6 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-devel-1.0.6 + /bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-devel-1.0.6 + cp -pr manual.html manual.pdf /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-devel-1.0.6 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbz2.so.1()(64bit) Processing files: bzip2-libs-1.0.6-3.fc15.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PsR7R4 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-libs-1.0.6 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-libs-1.0.6 + /bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-libs-1.0.6 + cp -pr LICENSE /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64/usr/share/doc/bzip2-libs-1.0.6 + exit 0 Provides: libbz2.so.1()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(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) rtld(GNU_HASH) Processing files: bzip2-debuginfo-1.0.6-3.fc15.x86_64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64 warning: Could not canonicalize hostname: x86-09.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/bzip2-1.0.6-3.fc15.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-devel-1.0.6-3.fc15.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-libs-1.0.6-3.fc15.x86_64.rpm Wrote: /builddir/build/RPMS/bzip2-debuginfo-1.0.6-3.fc15.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Uek6CV + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.6 + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.6-3.fc15.x86_64 + exit 0 Child returncode was: 0 LEAVE do -->