ENTER do("bash --login -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/pam_mysql.spec'", '/var/lib/mock/dist-f8-build-111993-16687/root/', 0, True, 0, , 101, 103, None, logger=) run cmd timeout(0): bash --login -c 'rpmbuild -bs --target ppc --nodeps //builddir/build/SPECS/pam_mysql.spec' warning: Could not canonicalize hostname: ppc3.fedora.redhat.com Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/pam_mysql-0.7-0.4.rc1.fc8.src.rpm LEAVE do --> ENTER do("bash --login -c 'rpmbuild -bb --target ppc --nodeps //builddir/build/SPECS/pam_mysql.spec'", '/var/lib/mock/dist-f8-build-111993-16687/root/', 0, True, 0, , 101, 103, None, logger=) run cmd timeout(0): bash --login -c 'rpmbuild -bb --target ppc --nodeps //builddir/build/SPECS/pam_mysql.spec' Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.20821 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf pam_mysql-0.7RC1 + /bin/gzip -dc /builddir/build/SOURCES/pam_mysql-0.7RC1.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pam_mysql-0.7RC1 ++ /usr/bin/id -u + '[' 101 = 0 ']' ++ /usr/bin/id -u + '[' 101 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (pam_mysql-0.7RC1-resps-segfault.patch):' Patch #0 (pam_mysql-0.7RC1-resps-segfault.patch): + patch -p1 -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.47387 + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + 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 --with-openssl --with-pam-mods-dir=/lib/security --enable-static=no --with-cyrus-sasl2 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... missing checking for working automake-1.4... missing checking for working autoheader... missing checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking for bison... no checking for byacc... no 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... 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 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 ANSI C... none needed checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a BSD-compatible install... /usr/bin/install -c checking build system type... powerpc-redhat-linux-gnu checking host system type... powerpc-redhat-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for ppc-redhat-linux-gnu-g77... no checking for ppc-redhat-linux-gnu-f77... no checking for ppc-redhat-linux-gnu-xlf... no checking for ppc-redhat-linux-gnu-frt... no checking for ppc-redhat-linux-gnu-pgf77... no checking for ppc-redhat-linux-gnu-fort77... no checking for ppc-redhat-linux-gnu-fl32... no checking for ppc-redhat-linux-gnu-af77... no checking for ppc-redhat-linux-gnu-f90... no checking for ppc-redhat-linux-gnu-xlf90... no checking for ppc-redhat-linux-gnu-pgf90... no checking for ppc-redhat-linux-gnu-epcf90... no checking for ppc-redhat-linux-gnu-f95... no checking for ppc-redhat-linux-gnu-fort... no checking for ppc-redhat-linux-gnu-xlf95... no checking for ppc-redhat-linux-gnu-ifc... no checking for ppc-redhat-linux-gnu-efc... no checking for ppc-redhat-linux-gnu-pgf95... no checking for ppc-redhat-linux-gnu-lf95... no checking for ppc-redhat-linux-gnu-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 262144 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for ppc-redhat-linux-gnu-ar... no checking for ar... ar checking for ppc-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for ppc-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for working volatile... yes checking for preprocessor stringizing operator... yes checking for pid_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking ELOOP availability... yes checking EOVERFLOW availability... yes checking for socket in -lsocket... no checking for gethostbyname... yes checking for gethostbyname in -lnsl... no checking for inet_ntop... yes checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for strcasecmp... yes checking for strdup... yes checking PF_INET6 availability... yes checking for struct sockaddr_in6... yes checking for struct in6_addr... yes checking for gethostbyname_r... yes checking if gethostbyname_r() is part of glibc... yes checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking if /usr /usr/local /usr/mysql /opt/mysql is a mysql_config script... no checking mysql_config availability in /usr/bin... yes checking for mysql_real_query... yes checking for mysql_real_escape_string... yes checking for make_scrambled_password_323... yes checking for ppc-redhat-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for openssl_CFLAGS... -I/usr/kerberos/include checking for openssl_LIBS... -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz checking for sasl_v2_client_init in -lsasl2... no checking pam_appl.h usability... yes checking pam_appl.h presence... yes checking for pam_appl.h... yes checking pam_modules.h usability... yes checking PAM_CONV_AGAIN availability... yes checking PAM_INCOMPLETE availability... yes checking PAM_NEW_AUTHTOK_REQD availability... yes checking PAM_AUTHTOK_RECOVERY_ERR availability... yes checking if the second argument of pam_get_user() takes const pointer... no checking if the third argument of pam_get_data() takes const pointer... no checking if the third argument of pam_get_item() takes const pointer... no checking if the second argument of pam_conv.conv() takes const pointer... no checking if md5.h is derived from Cyrus SASL Version 1... no checking md5.h usability... no checking md5.h presence... no checking for md5.h... no checking if md5.h is Solaris's... no checking for md5.h... (cached) no checking for MD5Data... no checking for crypt in -lcrypt... yes checking for crypt... yes configure: creating ./config.status config.status: creating Makefile config.status: creating pam_mysql.spec config.status: creating config.h config.status: executing default-1 commands + make -j4 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/kerberos/include -c pam_mysql.c mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/security -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/kerberos/include -c pam_mysql.c -fPIC -DPIC -o .libs/pam_mysql.o pam_mysql.c:38:1: warning: "_GNU_SOURCE" redefined :1:1: warning: this is the location of the previous definition pam_mysql.c: In function 'pam_mysql_retrieve_ctx': pam_mysql.c:2074: warning: passing argument 3 of 'pam_get_data' from incompatible pointer type pam_mysql.c: In function 'pam_mysql_converse': pam_mysql.c:3148: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c:3192: warning: passing argument 2 of 'conv->conv' from incompatible pointer type pam_mysql.c: In function 'pam_sm_authenticate': pam_mysql.c:3327: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type pam_mysql.c:3338: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c:3348: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c: In function 'pam_sm_acct_mgmt': pam_mysql.c:3572: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type pam_mysql.c:3583: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c: In function 'pam_sm_chauthtok': pam_mysql.c:3733: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type pam_mysql.c:3744: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c:3844: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c:3944: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c: In function 'pam_sm_open_session': pam_mysql.c:4106: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type pam_mysql.c:4117: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type pam_mysql.c: In function 'pam_sm_close_session': pam_mysql.c:4209: warning: passing argument 2 of 'pam_get_user' from incompatible pointer type pam_mysql.c:4220: warning: passing argument 3 of 'pam_get_item' from incompatible pointer type /bin/sh ./libtool --mode=link gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -I/usr/kerberos/include -o pam_mysql.la -rpath /lib/security -module -avoid-version pam_mysql.lo -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -lcrypt gcc -shared .libs/pam_mysql.o -L/usr/lib/mysql -lmysqlclient -lnsl -lm -L/usr/lib -L/usr/kerberos/lib -lssl -lcrypto -ldl -lz -lcrypt -m32 -m32 -Wl,-soname -Wl,pam_mysql.so -o .libs/pam_mysql.so creating pam_mysql.la (cd .libs && rm -f pam_mysql.la && ln -s ../pam_mysql.la pam_mysql.la) + mv CREDITS CREDITS.lame + iconv -f latin1 -t utf-8 -o CREDITS CREDITS.lame + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.55072 + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353 + make install DESTDIR=/var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353 make[1]: Entering directory `/builddir/build/BUILD/pam_mysql-0.7RC1' /bin/sh ./mkinstalldirs /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/lib/security mkdir /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353 mkdir /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/lib mkdir /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/lib/security /bin/sh ./libtool --mode=install /usr/bin/install -c pam_mysql.la /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/lib/security/pam_mysql.la /usr/bin/install -c .libs/pam_mysql.so /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/lib/security/pam_mysql.so /usr/bin/install -c .libs/pam_mysql.lai /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/lib/security/pam_mysql.la libtool: install: warning: remember to run `libtool --finish /lib/security' make[1]: Nothing to be done for `install-data-am'. make[1]: Leaving directory `/builddir/build/BUILD/pam_mysql-0.7RC1' + find /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353 -name '*.la' -exec rm '{}' ';' + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/pam_mysql-0.7RC1 extracting debug info from /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/lib/security/pam_mysql.so cpio: gcc-4.1.2-20070925/obj-ppc64-redhat-linux/gcc/crtsavres.S: Cannot stat: No such file or directory 191 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: pam_mysql-0.7-0.4.rc1.fc8 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.55072 + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + DOCDIR=/var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/usr/share/doc/pam_mysql-0.7 + export DOCDIR + rm -rf /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/usr/share/doc/pam_mysql-0.7 + /bin/mkdir -p /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/usr/share/doc/pam_mysql-0.7 + cp -pr ChangeLog COPYING CREDITS NEWS README /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353/usr/share/doc/pam_mysql-0.7 + exit 0 Provides: pam_mysql.so 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) libcrypt.so.1 libcrypt.so.1(GLIBC_2.0) libcrypto.so.6 libdl.so.2 libm.so.6 libmysqlclient.so.15 libmysqlclient.so.15(libmysqlclient_15) libnsl.so.1 libssl.so.6 libz.so.1 pam rtld(GNU_HASH) Processing files: pam_mysql-debuginfo-0.7-0.4.rc1.fc8 Provides: pam_mysql.so.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: pam_mysql.so Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353 warning: Could not canonicalize hostname: ppc3.fedora.redhat.com Wrote: /builddir/build/RPMS/pam_mysql-0.7-0.4.rc1.fc8.ppc.rpm Wrote: /builddir/build/RPMS/pam_mysql-debuginfo-0.7-0.4.rc1.fc8.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.55072 + umask 022 + cd /builddir/build/BUILD + cd pam_mysql-0.7RC1 + rm -rf /var/tmp/pam_mysql-0.7-0.4.rc1.fc8-Q21353 + exit 0 LEAVE do -->