Mock Version: 1.0.2 Mock Version: 1.0.2 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target ppc64 --nodeps builddir/build/SPECS/cpqarrayd.spec'], False, '/var/lib/mock/dist-6E-epel-build-797719-114740/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target ppc64 --nodeps builddir/build/SPECS/cpqarrayd.spec'] warning: Could not canonicalize hostname: ppc06.phx2.fedoraproject.org Building target platforms: ppc64 Building for target ppc64 Wrote: /builddir/build/SRPMS/cpqarrayd-2.3-12.el6.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target ppc64 --nodeps builddir/build/SPECS/cpqarrayd.spec'], False, '/var/lib/mock/dist-6E-epel-build-797719-114740/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target ppc64 --nodeps builddir/build/SPECS/cpqarrayd.spec'] Building target platforms: ppc64 Building for target ppc64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.koabss + 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): + /bin/cat /builddir/build/SOURCES/cpqarrayd-2.3.no_ida.patch + /usr/bin/patch -s -p1 -b --suffix .no_ida --fuzz=0 + echo 'Patch #1 (cpqarrayd-2.3.sysVinit.patch):' 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 + echo 'Patch #2 (cpqarrayd-2.3-message-overrun.patch):' Patch #2 (cpqarrayd-2.3-message-overrun.patch): + /bin/cat /builddir/build/SOURCES/cpqarrayd-2.3-message-overrun.patch + /usr/bin/patch -s -p1 -b --suffix .message-overrun --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IENkmQ + 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 -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 -I/usr/lib64/gfortran/modules' + export FFLAGS + ./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=/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 ppc64-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 -m64 -mminimal-toc -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 -m64 -mminimal-toc -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 -m64 -mminimal-toc -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 -m64 -mminimal-toc -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' discover.c: In function 'cciss_interrogate_controller': discover.c:338: warning: implicit declaration of function 'free' discover.c:338: warning: incompatible implicit declaration of built-in function 'free' 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' In file included from status.c:50: cciss_structs.h:36:1: warning: "CISS_MAX_LUN" redefined In file included from status.c:49: /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:245: warning: implicit declaration of function 'asprintf' status.c:254: warning: suggest parentheses around assignment used as truth value status.c:261: warning: too many arguments for format status.c:264: warning: implicit declaration of function 'free' status.c:264: warning: incompatible implicit declaration of built-in function 'free' status.c:281: warning: suggest parentheses around assignment used as truth value status.c:288: warning: too many arguments for format status.c:291: warning: incompatible implicit declaration of built-in function 'free' status.c:301: warning: incompatible implicit declaration of built-in function 'free' status.c:217: warning: unused variable 'counter' status.c:215: warning: unused variable 'pvalue' status.c:214: warning: unused variable 'blks_tr' status.c:214: warning: unused variable 'nr_blks' status.c:213: warning: unused variable 'logd_cntr' 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:105: 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:398: 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:421: note: expected 'struct netsnmp_session *' but argument is of type 'struct snmp_session **' mv -f .deps/cpqarrayd.Tpo .deps/cpqarrayd.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -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/discover.Tpo .deps/discover.Po mv -f .deps/sendtrap.Tpo .deps/sendtrap.Po mv -f .deps/status.Tpo .deps/status.Po mv -f .deps/cciss_functions.Tpo .deps/cciss_functions.Po gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mminimal-toc -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.otqTte + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 ++ dirname /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 + cd cpqarrayd-2.3 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 + make install DESTDIR=/builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 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-12.el6.ppc64/usr/sbin" /usr/bin/install -c cpqarrayd '/builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64/usr/sbin' test -z "/usr/share/man/man1" || /bin/mkdir -p "/builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64/usr/share/man/man1" /usr/bin/install -c -m 644 cpqarrayd.1 '/builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64/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-12.el6.ppc64//etc/rc.d/init.d + cp scripts/cpqarrayd /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64//etc/rc.d/init.d + mkdir -p /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64//etc/sysconfig + cp scripts/cpqarrayd.sysconfig /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64//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-12.el6.ppc64/usr/sbin/cpqarrayd 83 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-12.el6.ppc64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mq7TBC + umask 022 + cd /builddir/build/BUILD + cd cpqarrayd-2.3 + DOCDIR=/builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64/usr/share/doc/cpqarrayd-2.3 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64/usr/share/doc/cpqarrayd-2.3 + /bin/mkdir -p /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64/usr/share/doc/cpqarrayd-2.3 + cp -pr AUTHORS ChangeLog DEVEL NEWS README /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64/usr/share/doc/cpqarrayd-2.3 + exit 0 Provides: config(cpqarrayd) = 2.3-12.el6 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()(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypto.so.10()(64bit) libnetsnmp.so.20()(64bit) rtld(GNU_HASH) Processing files: cpqarrayd-debuginfo-2.3-12.el6.ppc64 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 warning: Could not canonicalize hostname: ppc06.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/cpqarrayd-2.3-12.el6.ppc64.rpm Wrote: /builddir/build/RPMS/cpqarrayd-debuginfo-2.3-12.el6.ppc64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hYLc0M + umask 022 + cd /builddir/build/BUILD + cd cpqarrayd-2.3 + rm -rf /builddir/build/BUILDROOT/cpqarrayd-2.3-12.el6.ppc64 + exit 0 Child returncode was: 0 LEAVE do -->