ENTER do("bash --login -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/bzip2.spec'", '/var/lib/mock/dist-f9-build-113988-17346/root/', 0, True, 0, , 425, 425, None, logger=) run cmd timeout(0): bash --login -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/bzip2.spec' /etc/profile: line 38: /bin/hostname: No such file or directory warning: Could not canonicalize hostname: ppc4.fedora.phx.redhat.com Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/bzip2-1.0.4-13.fc9.src.rpm LEAVE do --> ENTER do("bash --login -c 'rpmbuild -bb --target ppc --nodeps //builddir/build/SPECS/bzip2.spec'", '/var/lib/mock/dist-f9-build-113988-17346/root/', 0, True, 0, , 425, 425, None, logger=) run cmd timeout(0): bash --login -c 'rpmbuild -bb --target ppc --nodeps //builddir/build/SPECS/bzip2.spec' /etc/profile: line 38: /bin/hostname: No such file or directory Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.64187 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf bzip2-1.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/bzip2-1.0.4.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd bzip2-1.0.4 ++ /usr/bin/id -u + '[' 425 = 0 ']' ++ /usr/bin/id -u + '[' 425 = 0 ']' + /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): + patch -p1 -b --suffix .saneso -s + echo 'Patch #5 (bzip2-1.0.4-cflags.patch):' Patch #5 (bzip2-1.0.4-cflags.patch): + patch -p1 -b --suffix .cflags -s + echo 'Patch #6 (bzip2-1.0.4-bzip2recover.patch):' Patch #6 (bzip2-1.0.4-bzip2recover.patch): + patch -p1 -b --suffix .bz2recover -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.64187 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.4 + 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 -m32 -D_FILE_OFFSET_BITS=64 -fpic -fPIC' -j8 all gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -D_FILE_OFFSET_BITS=64' -j8 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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -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 -m32 -D_FILE_OFFSET_BITS=64 -c bzip2recover.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 -m32 -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 -m32 -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. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.27446 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.4 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild + chmod 644 bzlib.h + mkdir -p /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/man/man1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/lib /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/lib /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/include + cp -p bzlib.h /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/include + install -m 644 libbz2.a /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/lib + install -m 755 libbz2.so.1.0.4 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/lib + install -m 755 bzip2-shared /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/bzip2 + install -m 755 bzip2recover bzgrep bzdiff bzmore /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/ + cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/man/man1/ + ln -s bzip2 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/bunzip2 + ln -s bzip2 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/bzcat + ln -s bzdiff /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/bzcmp + ln -s bzmore /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/bzless + ln -s libbz2.so.1.0.4 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/lib/libbz2.so.1 + ln -s ../../lib/libbz2.so.1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild//usr/lib/libbz2.so + ln -s bzip2.1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/man/man1/bzip2recover.1 + ln -s bzip2.1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/man/man1/bunzip2.1 + ln -s bzip2.1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/man/man1/bzcat.1 + ln -s bzdiff.1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/man/man1/bzcmp.1 + ln -s bzmore.1 /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/man/man1/bzless.1 + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/bzip2-1.0.4 extracting debug info from /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/bzip2 extracting debug info from /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/bin/bzip2recover extracting debug info from /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/lib/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/lib/libbz2.so.1.0.4.debug to /usr/lib/debug/usr/lib/libbz2.so.debug symlinked /usr/lib/debug/lib/libbz2.so.1.0.4.debug to /usr/lib/debug/lib/libbz2.so.1.debug cpio: gcc-4.1.2-20071124/obj-ppc64-redhat-linux/gcc/crtsavres.S: Cannot stat: No such file or directory 441 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.4-13.fc9 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.92560 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.4 + DOCDIR=/var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-1.0.4 + export DOCDIR + rm -rf /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-1.0.4 + /bin/mkdir -p /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-1.0.4 + cp -pr LICENSE CHANGES README /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-1.0.4 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libbz2.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: bzip2-devel-1.0.4-13.fc9 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.92560 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.4 + DOCDIR=/var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-devel-1.0.4 + export DOCDIR + rm -rf /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-devel-1.0.4 + /bin/mkdir -p /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-devel-1.0.4 + cp -pr manual.html manual.pdf /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild/usr/share/doc/bzip2-devel-1.0.4 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: bzip2-libs = 1.0.4-13.fc9 libbz2.so.1 Processing files: bzip2-libs-1.0.4-13.fc9 Provides: libbz2.so.1 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libbz2.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) rtld(GNU_HASH) Processing files: bzip2-debuginfo-1.0.4-13.fc9 Provides: libbz2.so.1.0.4.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libbz2.so.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild warning: Could not canonicalize hostname: ppc4.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/bzip2-1.0.4-13.fc9.ppc.rpm Wrote: /builddir/build/RPMS/bzip2-devel-1.0.4-13.fc9.ppc.rpm Wrote: /builddir/build/RPMS/bzip2-libs-1.0.4-13.fc9.ppc.rpm Wrote: /builddir/build/RPMS/bzip2-debuginfo-1.0.4-13.fc9.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.92560 + umask 022 + cd /builddir/build/BUILD + cd bzip2-1.0.4 + rm -rf /var/tmp/bzip2-1.0.4-13.fc9-root-mockbuild + exit 0 LEAVE do -->