ENTER do("bash --login -c 'rpmbuild -bs --target ppc64 --nodeps //builddir/build/SPECS/units.spec'", '/var/lib/mock/dist-f9-build-144092-22868/root/', 0, True, 0, , 425, 425, None, logger=) run cmd timeout(0): bash --login -c 'rpmbuild -bs --target ppc64 --nodeps //builddir/build/SPECS/units.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: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/units-1.87-2.fc9.src.rpm LEAVE do --> ENTER do("bash --login -c 'rpmbuild -bb --target ppc64 --nodeps //builddir/build/SPECS/units.spec'", '/var/lib/mock/dist-f9-build-144092-22868/root/', 0, True, 0, , 425, 425, None, logger=) run cmd timeout(0): bash --login -c 'rpmbuild -bb --target ppc64 --nodeps //builddir/build/SPECS/units.spec' /etc/profile: line 38: /bin/hostname: No such file or directory Building target platforms: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9219 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf units-1.87 + /usr/bin/gzip -dc /builddir/build/SOURCES/units-1.87.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd units-1.87 ++ /usr/bin/id -u + '[' 425 = 0 ']' ++ /usr/bin/id -u + '[' 425 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9219 + umask 022 + cd /builddir/build/BUILD + cd units-1.87 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc' + export FFLAGS ++ find . -name config.guess -o -name config.sub + ./configure --build=ppc64-redhat-linux-gnu --host=ppc64-redhat-linux-gnu --target=ppc64-redhat-linux-gnu --program-prefix= --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=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info checking for ppc64-redhat-linux-gnu-cl... no checking for ppc64-redhat-linux-gnu-gcc... no checking for ppc64-redhat-linux-gnu-cc... no checking for ppc64-redhat-linux-gnu-egcs... no checking for cl... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for an ANSI C-conforming const... yes checking for a BSD-compatible install... /usr/bin/install -c checking for sin... no checking for tparm in -lncurses... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for readline in -lreadline... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strchr... yes checking for strspn... yes checking for strtok... yes configure: creating ./config.status config.status: creating Makefile + make gcc -DUNITSFILE=\"/usr/share/units.dat\" -DREADLINE -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"1.87\" -DPACKAGE_STRING=\"GNU\ units\ 1.87\" -DPACKAGE_BUGREPORT=\"adrian@cam.cornell.edu\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -I. -c units.c units.c: In function 'readunits': units.c:492: warning: suggest parentheses around assignment used as truth value units.c:522: warning: suggest parentheses around assignment used as truth value units.c:524: warning: suggest explicit braces to avoid ambiguous 'else' units.c: In function 'lookupunit': units.c:951: warning: suggest parentheses around assignment used as truth value units.c: In function 'completereduce': units.c:1281: warning: suggest parentheses around assignment used as truth value units.c: In function 'unit2num': units.c:1343: warning: suggest parentheses around assignment used as truth value units.c: In function 'rootunit': units.c:1407: warning: suggest parentheses around assignment used as truth value units.c:1409: warning: suggest parentheses around comparison in operand of & units.c:1411: warning: suggest parentheses around assignment used as truth value units.c:1413: warning: suggest parentheses around assignment used as truth value units.c: In function 'addunit': units.c:1485: warning: suggest parentheses around assignment used as truth value units.c:1487: warning: suggest parentheses around assignment used as truth value units.c: In function 'getuser': units.c:2169: warning: implicit declaration of function 'add_history' units.c: In function 'completeunits': units.c:2246: warning: suggest parentheses around assignment used as truth value units.c: In function 'processunit': units.c:2484: warning: suggest parentheses around assignment used as truth value units.c:2504: warning: suggest parentheses around assignment used as truth value units.c: In function 'ishelpquery': units.c:2587: warning: suggest parentheses around assignment used as truth value units.c:2591: warning: suggest parentheses around assignment used as truth value units.c: In function 'main': units.c:2681: warning: suggest parentheses around assignment used as truth value units.c:2691: warning: suggest parentheses around assignment used as truth value units.c:2713: warning: suggest parentheses around assignment used as truth value units.c:2731: warning: suggest parentheses around assignment used as truth value units.c: In function 'showanswer': units.c:1726: warning: 'left' may be used uninitialized in this function units.c:1726: warning: 'right' may be used uninitialized in this function units.c:1726: warning: 'sep' may be used uninitialized in this function units.c: In function 'addtolist': units.c:1973: warning: 'keepit' may be used uninitialized in this function gcc -DUNITSFILE=\"/usr/share/units.dat\" -DREADLINE -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"1.87\" -DPACKAGE_STRING=\"GNU\ units\ 1.87\" -DPACKAGE_BUGREPORT=\"adrian@cam.cornell.edu\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -I. -c parse.tab.c parse.y: In function 'funcunit': parse.y:117: warning: suggest parentheses around assignment used as truth value parse.tab.c: In function 'unitsparse': parse.tab.c:1447: warning: implicit declaration of function 'unitslex' parse.tab.c:1718: warning: implicit declaration of function 'unitserror' parse.y: At top level: parse.y:248: warning: missing braces around initializer parse.y:248: warning: (near initialization for 'realfunctions[0]') parse.y:263: warning: missing braces around initializer parse.y:263: warning: (near initialization for 'optable[0]') parse.y:276: warning: missing braces around initializer parse.y:276: warning: (near initialization for 'strtable[0]') parse.y:282: warning: return type defaults to 'int' parse.y:417: warning: return type defaults to 'int' parse.y: In function 'unitserror': parse.y:417: warning: control reaches end of non-void function gcc -DUNITSFILE=\"/usr/share/units.dat\" -DREADLINE -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"1.87\" -DPACKAGE_STRING=\"GNU\ units\ 1.87\" -DPACKAGE_BUGREPORT=\"adrian@cam.cornell.edu\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -I. -c getopt.c gcc -DUNITSFILE=\"/usr/share/units.dat\" -DREADLINE -DPACKAGE_NAME=\"GNU\ units\" -DPACKAGE_TARNAME=\"units\" -DPACKAGE_VERSION=\"1.87\" -DPACKAGE_STRING=\"GNU\ units\ 1.87\" -DPACKAGE_BUGREPORT=\"adrian@cam.cornell.edu\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -I. -c getopt1.c gcc -o units units.o parse.tab.o getopt.o getopt1.o -lm -lreadline -lncurses sed s!@DATAFILE@!/usr/share/units.dat! ./units.man > units.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.12376 + umask 022 + cd /builddir/build/BUILD + cd units-1.87 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/units-1.87-2.fc9-root-mockbuild + make install DESTDIR=/var/tmp/units-1.87-2.fc9-root-mockbuild ./mkinstalldirs /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/man/man1 mkdir /var/tmp/units-1.87-2.fc9-root-mockbuild mkdir /var/tmp/units-1.87-2.fc9-root-mockbuild/usr mkdir /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share mkdir /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/man mkdir /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/man/man1 /usr/bin/install -c -m 644 units.1 /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/man/man1/`echo units|sed 's&^&&'`.1 ./mkinstalldirs /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/info mkdir /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/info if test -f units.info; then d=.; \ else d=.; fi; \ /usr/bin/install -c -m 644 $d/units.info /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/info/units.info; \ # Run install-info only if it exists. if test -f /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/info/dir; then \ if /bin/sh -c 'install-info --version' \ >/dev/null 2>&1; then \ install-info --dir-file=/var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/info/dir \ /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/info/units.info; \ else true; fi \ else true; fi ./mkinstalldirs /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/bin /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share mkdir /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/bin /usr/bin/install -c units /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/bin/`echo units|sed 's&^&&'` /usr/bin/install -c -m 644 ./units.dat /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/units.dat + gzip /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/info/units.info + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/units-1.87 extracting debug info from /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/bin/units 293 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: units-1.87-2.fc9 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.12376 + umask 022 + cd /builddir/build/BUILD + cd units-1.87 + DOCDIR=/var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/doc/units-1.87 + export DOCDIR + rm -rf /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/doc/units-1.87 + /bin/mkdir -p /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/doc/units-1.87 + cp -pr ChangeLog COPYING NEWS README /var/tmp/units-1.87-2.fc9-root-mockbuild/usr/share/doc/units-1.87 + exit 0 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/install-info Requires(preun): /bin/sh /sbin/install-info Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.3)(64bit) libncurses.so.5()(64bit) libreadline.so.5()(64bit) rtld(GNU_HASH) Processing files: units-debuginfo-1.87-2.fc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/units-1.87-2.fc9-root-mockbuild warning: Could not canonicalize hostname: ppc4.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/units-1.87-2.fc9.ppc64.rpm Wrote: /builddir/build/RPMS/units-debuginfo-1.87-2.fc9.ppc64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.78209 + umask 022 + cd /builddir/build/BUILD + cd units-1.87 + rm -rf /var/tmp/units-1.87-2.fc9-root-mockbuild + exit 0 LEAVE do -->