ENTER do("bash -l -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/acpitool.spec'", '/var/lib/mock/dist-f9-build-101524-14016/root/', 0, True, 0, , 425, 425, 'ppc', logger=) run cmd timeout(0): bash -l -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/acpitool.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/acpitool-0.4.7-3.fc9.src.rpm LEAVE do --> ENTER do("bash -l -c 'rpmbuild -bb --target ppc --nodeps //builddir/build/SPECS/acpitool.spec'", '/var/lib/mock/dist-f9-build-101524-14016/root/', 0, True, 0, , 425, 425, 'ppc', logger=) run cmd timeout(0): bash -l -c 'rpmbuild -bb --target ppc --nodeps //builddir/build/SPECS/acpitool.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.91038 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf acpitool-0.4.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/acpitool-0.4.7.tar.bz2 + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd acpitool-0.4.7 ++ /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 (acpitool-0.4.7-gcc43.patch):' Patch #0 (acpitool-0.4.7-gcc43.patch): + patch -p1 -b --suffix .gcc43 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.91038 + umask 022 + cd /builddir/build/BUILD + cd acpitool-0.4.7 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32' + export FFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./config.guess ++ basename ./config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./config.sub ++ basename ./config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub `/usr/lib/rpm/redhat/config.sub' -> `./config.sub' + ./configure --build=ppc-redhat-linux-gnu --host=ppc-redhat-linux-gnu --target=ppc-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... powerpc-redhat-linux-gnu checking host system type... powerpc-redhat-linux-gnu checking for ppc-redhat-linux-gnu-g++... no checking for ppc-redhat-linux-gnu-c++... no checking for ppc-redhat-linux-gnu-gpp... no checking for ppc-redhat-linux-gnu-aCC... no checking for ppc-redhat-linux-gnu-CC... no checking for ppc-redhat-linux-gnu-cxx... no checking for ppc-redhat-linux-gnu-cc++... no checking for ppc-redhat-linux-gnu-cl.exe... no checking for ppc-redhat-linux-gnu-FCC... no checking for ppc-redhat-linux-gnu-KCC... no checking for ppc-redhat-linux-gnu-RCC... no checking for ppc-redhat-linux-gnu-xlC_r... no checking for ppc-redhat-linux-gnu-xlC... no checking for g++... g++ 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 g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for ppc-redhat-linux-gnu-gcc... no checking for gcc... gcc 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 dependency style of gcc... gcc3 checking for dirent.h that defines DIR... yes checking for library containing opendir... none required 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 unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether closedir returns void... no checking for bzero... yes checking for strdup... yes checking for memset... yes checking for strtol... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands +-----------------------------------------------------------------------------------+ | Run make && make install when the configure script has finished without problems. | +-----------------------------------------------------------------------------------+ + make -j8 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7' Making all in src make[2]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT acpitool.o -MD -MP -MF ".deps/acpitool.Tpo" -c -o acpitool.o acpitool.cpp; \ then mv -f ".deps/acpitool.Tpo" ".deps/acpitool.Po"; else rm -f ".deps/acpitool.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT toshiba.o -MD -MP -MF ".deps/toshiba.Tpo" -c -o toshiba.o toshiba.cpp; \ then mv -f ".deps/toshiba.Tpo" ".deps/toshiba.Po"; else rm -f ".deps/toshiba.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT asus.o -MD -MP -MF ".deps/asus.Tpo" -c -o asus.o asus.cpp; \ then mv -f ".deps/asus.Tpo" ".deps/asus.Po"; else rm -f ".deps/asus.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT thinkpad.o -MD -MP -MF ".deps/thinkpad.Tpo" -c -o thinkpad.o thinkpad.cpp; \ then mv -f ".deps/thinkpad.Tpo" ".deps/thinkpad.Po"; else rm -f ".deps/thinkpad.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT cpu.o -MD -MP -MF ".deps/cpu.Tpo" -c -o cpu.o cpu.cpp; \ then mv -f ".deps/cpu.Tpo" ".deps/cpu.Po"; else rm -f ".deps/cpu.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT battery.o -MD -MP -MF ".deps/battery.Tpo" -c -o battery.o battery.cpp; \ then mv -f ".deps/battery.Tpo" ".deps/battery.Po"; else rm -f ".deps/battery.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT freq.o -MD -MP -MF ".deps/freq.Tpo" -c -o freq.o freq.cpp; \ then mv -f ".deps/freq.Tpo" ".deps/freq.Po"; else rm -f ".deps/freq.Tpo"; exit 1; fi freq.cpp: In function 'int Get_Min_Freq()': freq.cpp:92: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result freq.cpp: In function 'int Get_Max_Freq()': freq.cpp:116: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result freq.cpp: In function 'int Get_Current_Freq()': freq.cpp:139: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result freq.cpp: In function 'int Get_Governor(char*)': freq.cpp:161: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result freq.cpp: In function 'int Get_Driver(char*)': freq.cpp:184: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result acpitool.cpp: In function 'int Do_Thermal_Info(int, int)': acpitool.cpp:305: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp: In function 'int Show_CPU_Info()': cpu.cpp:60: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:61: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:65: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:66: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:77: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:82: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:86: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:200: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:207: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:216: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:223: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:226: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:272: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result cpu.cpp:276: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -o acpitool main.o acpitool.o toshiba.o asus.o thinkpad.o cpu.o battery.o freq.o make[2]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7/src' Making all in man make[2]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7/man' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7/man' make[2]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7' make[1]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.41508 + umask 022 + cd /builddir/build/BUILD + cd acpitool-0.4.7 + LANG=C + export LANG + unset DISPLAY + rm -fr /var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild + make install DESTDIR=/var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild Making install in src make[1]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7/src' make[2]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7/src' test -z "/usr/bin" || mkdir -p -- "/var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/bin" /usr/bin/install -c 'acpitool' '/var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/bin/acpitool' make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7/src' make[1]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7/src' Making install in man make[1]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7/man' make[2]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7/man' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man1" || mkdir -p -- "/var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/share/man/man1" /usr/bin/install -c -m 644 './acpitool.1' '/var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/share/man/man1/acpitool.1' make[2]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7/man' make[1]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7/man' make[1]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7' make[2]: Entering directory `/builddir/build/BUILD/acpitool-0.4.7' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7' make[1]: Leaving directory `/builddir/build/BUILD/acpitool-0.4.7' + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/acpitool-0.4.7 extracting debug info from /var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/bin/acpitool cpio: gcc-4.1.2-20071124/obj-ppc64-redhat-linux/gcc/crtsavres.S: Cannot stat: No such file or directory 153 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: acpitool-0.4.7-3.fc9 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.41508 + umask 022 + cd /builddir/build/BUILD + cd acpitool-0.4.7 + DOCDIR=/var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/share/doc/acpitool-0.4.7 + export DOCDIR + rm -rf /var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/share/doc/acpitool-0.4.7 + /bin/mkdir -p /var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/share/doc/acpitool-0.4.7 + cp -pr AUTHORS ChangeLog COPYING INSTALL README TODO /var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild/usr/share/doc/acpitool-0.4.7 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: acpitool-debuginfo-0.4.7-3.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/acpitool-0.4.7-3.fc9-root-mockbuild warning: Could not canonicalize hostname: ppc4.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/acpitool-0.4.7-3.fc9.ppc.rpm Wrote: /builddir/build/RPMS/acpitool-debuginfo-0.4.7-3.fc9.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.37226 + umask 022 + cd /builddir/build/BUILD + cd acpitool-0.4.7 + rm -fr /var/tmp/acpitool-0.4.7-3.fc9-root-mockbuild + exit 0 LEAVE do -->