Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target ppc64 --nodeps builddir/build/SPECS/bzip2.spec'], False, '/var/lib/mock/dist-f12-build-516246-79891/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target ppc64 --nodeps builddir/build/SPECS/bzip2.spec'] warning: Could not canonicalize hostname: ppc6.fedora.phx.redhat.com Building target platforms: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/bzip2-1.0.5-6.fc12.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target ppc64 --nodeps builddir/build/SPECS/bzip2.spec'], False, '/var/lib/mock/dist-f12-build-516246-79891/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target ppc64 --nodeps builddir/build/SPECS/bzip2.spec'] Building target platforms: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pSZqze + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf bzip2-1.0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/bzip2-1.0.5.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd bzip2-1.0.5 + /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 + echo 'Patch #5 (bzip2-1.0.4-cflags.patch):' 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 + echo 'Patch #6 (bzip2-1.0.4-bzip2recover.patch):' 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.NtEAx8 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.5 + 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 -mminimal-toc -D_FILE_OFFSET_BITS=64 -fpic -fPIC' -j4 all gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -D_FILE_OFFSET_BITS=64 -fpic -fPIC -shared -Wl,-soname -Wl,libbz2.so.1 -o libbz2.so.1.0.4 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 -mminimal-toc -D_FILE_OFFSET_BITS=64 -fpic -fPIC -o bzip2-shared bzip2.c libbz2.so.1.0.4 bzip2.c: In function 'uncompressStream': bzip2.c:465: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result bzip2.c:511: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result rm -f libbz2.so.1.0 ln -s libbz2.so.1.0.4 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 -mminimal-toc -D_FILE_OFFSET_BITS=64' -j4 all 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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -D_FILE_OFFSET_BITS=64 -c crctable.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -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 -mminimal-toc -D_FILE_OFFSET_BITS=64 -c bzip2.c bzip2.c: In function 'uncompressStream': bzip2.c:465: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result bzip2.c:511: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -D_FILE_OFFSET_BITS=64 -c bzip2recover.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -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 -mminimal-toc -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.xIFoJ2 + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64 ++ dirname /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64 + cd bzip2-1.0.5 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64 + chmod 644 bzlib.h + mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/man/man1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/lib64 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/lib64 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/include + cp -p bzlib.h /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/include + install -m 755 libbz2.so.1.0.4 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/lib64 + install -m 755 bzip2-shared /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/bzip2 + install -m 755 bzip2recover bzgrep bzdiff bzmore /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/ + cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/man/man1/ + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/bunzip2 + ln -s bzip2 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/bzcat + ln -s bzdiff /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/bzcmp + ln -s bzmore /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/bzless + ln -s libbz2.so.1.0.4 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/lib64/libbz2.so.1 + ln -s ../../lib64/libbz2.so.1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64//usr/lib64/libbz2.so + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/man/man1/bzip2recover.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/man/man1/bunzip2.1 + ln -s bzip2.1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/man/man1/bzcat.1 + ln -s bzdiff.1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/man/man1/bzcmp.1 + ln -s bzmore.1 /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/man/man1/bzless.1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/bzip2-1.0.5 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/bzip2 extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/bin/bzip2recover extracting debug info from /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/lib64/libbz2.so.1.0.4 symlinked /usr/lib/debug/usr/bin/bzip2.debug to /usr/lib/debug/usr/bin/bunzip2.debug symlinked /usr/lib/debug/usr/bin/bzip2.debug to /usr/lib/debug/usr/bin/bzcat.debug symlinked /usr/lib/debug/lib64/libbz2.so.1.0.4.debug to /usr/lib/debug/usr/lib64/libbz2.so.debug symlinked /usr/lib/debug/lib64/libbz2.so.1.0.4.debug to /usr/lib/debug/lib64/libbz2.so.1.debug 442 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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: bzip2-1.0.5-6.fc12.ppc64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fwv1YW + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.5 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-1.0.5 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-1.0.5 + /bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-1.0.5 + cp -pr LICENSE CHANGES README /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-1.0.5 + 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.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.5-6.fc12.ppc64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Bn1GeR + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.5 + DOCDIR=/builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-devel-1.0.5 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-devel-1.0.5 + /bin/mkdir -p /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-devel-1.0.5 + cp -pr manual.html manual.pdf /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64/usr/share/doc/bzip2-devel-1.0.5 + 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.5-6.fc12.ppc64 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: libbz2.so.1()(64bit) libc.so.6()(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.5-6.fc12.ppc64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64 warning: Could not canonicalize hostname: ppc6.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/bzip2-1.0.5-6.fc12.ppc64.rpm Wrote: /builddir/build/RPMS/bzip2-devel-1.0.5-6.fc12.ppc64.rpm Wrote: /builddir/build/RPMS/bzip2-libs-1.0.5-6.fc12.ppc64.rpm Wrote: /builddir/build/RPMS/bzip2-debuginfo-1.0.5-6.fc12.ppc64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zjX3xo + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.5 + rm -rf /builddir/build/BUILDROOT/bzip2-1.0.5-6.fc12.ppc64 + exit 0 Child returncode was: 0 LEAVE do -->