Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/cpqarrayd.spec'], False, '/var/lib/mock/dist-f12-openssl-571212-82934/root/', None, 86400, True, 0, 423, 423, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/cpqarrayd.spec'] warning: Could not canonicalize hostname: ppc9.fedora.phx.redhat.com Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/cpqarrayd-2.3-11.fc12.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/cpqarrayd.spec'], False, '/var/lib/mock/dist-f12-openssl-571212-82934/root/', None, 86400, True, 0, 423, 423, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/cpqarrayd.spec'] Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e8Pdbd + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf cpqarrayd-2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/cpqarrayd-2.3.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd cpqarrayd-2.3 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (cpqarrayd-2.3.no_ida.patch):' Patch #0 (cpqarrayd-2.3.no_ida.patch): + /usr/bin/patch -s -p1 -b --suffix .no_ida --fuzz=0 + /bin/cat /builddir/build/SOURCES/cpqarrayd-2.3.no_ida.patch Patch #1 (cpqarrayd-2.3.sysVinit.patch): + echo 'Patch #1 (cpqarrayd-2.3.sysVinit.patch):' + /bin/cat /builddir/build/SOURCES/cpqarrayd-2.3.sysVinit.patch + /usr/bin/patch -s -p1 -b --suffix .sysVinit --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nqxDx4 + umask 022 + cd /builddir/build/BUILD + cd cpqarrayd-2.3 + LANG=C + export LANG + unset DISPLAY + autoreconf -si configure.ac:3: installing `./install-sh' configure.ac:3: installing `./missing' Makefile.am: installing `./INSTALL' Makefile.am: installing `./COPYING' using GNU General Public License v3 file Makefile.am: Consider adding the COPYING file to the version control system Makefile.am: for your code, to avoid questions about which license your project uses. Makefile.am: installing `./depcomp' + 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 -I/usr/lib/gfortran/modules' + export FFLAGS + ./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=/var/lib --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 a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for ppc-redhat-linux-gnu-gcc... 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 style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking linux/cciss_ioctl.h usability... yes checking linux/cciss_ioctl.h presence... yes checking for linux/cciss_ioctl.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for dup2... yes checking for gethostbyname... yes checking for gethostname... yes checking for memset... yes checking for strerror... yes checking for HMAC in -lcrypto... yes checking for snmp_open in -lnetsnmp... yes configure: creating ./config.status config.status: creating Makefile config.status: creating scripts/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/cpqarrayd-2.3' Making all in scripts make[2]: Entering directory `/builddir/build/BUILD/cpqarrayd-2.3/scripts' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/cpqarrayd-2.3/scripts' make[2]: Entering directory `/builddir/build/BUILD/cpqarrayd-2.3' gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT cpqarrayd.o -MD -MP -MF .deps/cpqarrayd.Tpo -c -o cpqarrayd.o cpqarrayd.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT discover.o -MD -MP -MF .deps/discover.Tpo -c -o discover.o discover.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT sendtrap.o -MD -MP -MF .deps/sendtrap.Tpo -c -o sendtrap.o sendtrap.c gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c In file included from discover.c:52: cciss_structs.h:36:1: warning: "CISS_MAX_LUN" redefined In file included from discover.c:51: /usr/include/linux/cciss_ioctl.h:83:1: warning: this is the location of the previous definition discover.c: In function 'discover_controllers': discover.c:122: warning: implicit declaration of function 'cciss_interrogate_controller' In file included from status.c:49: cciss_structs.h:36:1: warning: "CISS_MAX_LUN" redefined In file included from status.c:48: /usr/include/linux/cciss_ioctl.h:83:1: warning: this is the location of the previous definition status.c: In function 'cciss_status_check': status.c:229: warning: suggest parentheses around assignment used as truth value status.c:236: warning: too many arguments for format status.c:249: warning: suggest parentheses around assignment used as truth value status.c:256: warning: too many arguments for format status.c:202: warning: unused variable 'counter' status.c:200: warning: unused variable 'pvalue' status.c:199: warning: unused variable 'blks_tr' status.c:199: warning: unused variable 'nr_blks' status.c:198: warning: unused variable 'logd_cntr' In file included from /usr/include/stdio.h:912, from status.c:29: In function 'snprintf', inlined from 'cciss_status_check' at status.c:220: /usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer In function 'snprintf', inlined from 'cciss_status_check' at status.c:241: /usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer mv -f .deps/discover.Tpo .deps/discover.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -MT cciss_functions.o -MD -MP -MF .deps/cciss_functions.Tpo -c -o cciss_functions.o cciss_functions.c In file included from cciss_functions.c:34: cciss_structs.h:36:1: warning: "CISS_MAX_LUN" redefined In file included from cciss_functions.c:33: /usr/include/linux/cciss_ioctl.h:83:1: warning: this is the location of the previous definition cciss_functions.c: In function 'cciss_get_logical_luns': cciss_functions.c:68: warning: unused variable 'outfile' cciss_functions.c: In function 'cciss_get_event': cciss_functions.c:125: warning: unused variable 'outfile' mv -f .deps/status.Tpo .deps/status.Po mv -f .deps/cciss_functions.Tpo .deps/cciss_functions.Po sendtrap.c: In function 'sendtrap': sendtrap.c:71: warning: pointer targets in assignment differ in signedness sendtrap.c:72: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness /usr/include/bits/string3.h:104: note: expected 'char * __restrict__' but argument is of type 'u_char *' sendtrap.c:73: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness /usr/include/string.h:397: note: expected 'const char *' but argument is of type 'u_char *' sendtrap.c:87: warning: assignment from incompatible pointer type sendtrap.c:107: warning: passing argument 2 of 'snmp_sess_perror' from incompatible pointer type /usr/include/net-snmp/library/snmp_api.h:992: note: expected 'struct netsnmp_session *' but argument is of type 'struct snmp_session **' mv -f .deps/sendtrap.Tpo .deps/sendtrap.Po cpqarrayd.c: In function 'main': cpqarrayd.c:165: warning: implicit declaration of function 'exit' cpqarrayd.c:165: warning: incompatible implicit declaration of built-in function 'exit' cpqarrayd.c:178: warning: incompatible implicit declaration of built-in function 'exit' cpqarrayd.c:221: warning: incompatible implicit declaration of built-in function 'exit' cpqarrayd.c:228: warning: incompatible implicit declaration of built-in function 'exit' cpqarrayd.c:234: warning: incompatible implicit declaration of built-in function 'exit' cpqarrayd.c:258: warning: implicit declaration of function 'cciss_status_check' cpqarrayd.c:130: warning: unused variable 'myhostname' mv -f .deps/cpqarrayd.Tpo .deps/cpqarrayd.Po gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -o cpqarrayd cpqarrayd.o discover.o sendtrap.o status.o cciss_functions.o -lnetsnmp -lcrypto make[2]: Leaving directory `/builddir/build/BUILD/cpqarrayd-2.3' make[1]: Leaving directory `/builddir/build/BUILD/cpqarrayd-2.3' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j4dqK9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc ++ dirname /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc + cd cpqarrayd-2.3 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc + make install DESTDIR=/builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc Making install in scripts make[1]: Entering directory `/builddir/build/BUILD/cpqarrayd-2.3/scripts' make[2]: Entering directory `/builddir/build/BUILD/cpqarrayd-2.3/scripts' 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/cpqarrayd-2.3/scripts' make[1]: Leaving directory `/builddir/build/BUILD/cpqarrayd-2.3/scripts' make[1]: Entering directory `/builddir/build/BUILD/cpqarrayd-2.3' make[2]: Entering directory `/builddir/build/BUILD/cpqarrayd-2.3' test -z "/usr/sbin" || /bin/mkdir -p "/builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/sbin" /usr/bin/install -c cpqarrayd '/builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/sbin' test -z "/usr/share/man/man1" || /bin/mkdir -p "/builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/share/man/man1" /usr/bin/install -c -m 644 cpqarrayd.1 '/builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/share/man/man1' make[2]: Leaving directory `/builddir/build/BUILD/cpqarrayd-2.3' make[1]: Leaving directory `/builddir/build/BUILD/cpqarrayd-2.3' + mkdir -p /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc//etc/rc.d/init.d + cp scripts/cpqarrayd /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc//etc/rc.d/init.d + mkdir -p /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc//etc/sysconfig + cp scripts/cpqarrayd.sysconfig /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc//etc/sysconfig/cpqarrayd + /usr/lib/rpm/find-debuginfo.sh --strict-build-id /builddir/build/BUILD/cpqarrayd-2.3 extracting debug info from /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/sbin/cpqarrayd 81 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: cpqarrayd-2.3-11.fc12.ppc Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Sxtqh6 + umask 022 + cd /builddir/build/BUILD + cd cpqarrayd-2.3 + DOCDIR=/builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/share/doc/cpqarrayd-2.3 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/share/doc/cpqarrayd-2.3 + /bin/mkdir -p /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/share/doc/cpqarrayd-2.3 + cp -pr AUTHORS ChangeLog DEVEL NEWS README /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc/usr/share/doc/cpqarrayd-2.3 + exit 0 Provides: config(cpqarrayd) = 2.3-11.fc12 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh chkconfig Requires(preun): /bin/sh chkconfig initscripts Requires(postun): /bin/sh initscripts Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.4) libcrypto.so.10 libnetsnmp.so.15 rtld(GNU_HASH) Processing files: cpqarrayd-debuginfo-2.3-11.fc12.ppc Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc warning: Could not canonicalize hostname: ppc9.fedora.phx.redhat.com Wrote: /builddir/build/RPMS/cpqarrayd-2.3-11.fc12.ppc.rpm Wrote: /builddir/build/RPMS/cpqarrayd-debuginfo-2.3-11.fc12.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.63BBTN + umask 022 + cd /builddir/build/BUILD + cd cpqarrayd-2.3 + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-11.fc12.ppc + exit 0 Child returncode was: 0 LEAVE do -->