Mock Version: 1.0.2 Mock Version: 1.0.2 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/libtevent.spec'], False, '/var/lib/mock/dist-5E-epel-build-725986-103470/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/libtevent.spec'] warning: Could not canonicalize hostname: ppc03.phx2.fedoraproject.org Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/libtevent-0.9.8-7.el5.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/libtevent.spec'], False, '/var/lib/mock/dist-5E-epel-build-725986-103470/root/', None, 86400, True, 0, 101, 102, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/libtevent.spec'] Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2142 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf tevent-0.9.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/tevent-0.9.8.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd tevent-0.9.8 ++ /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 #1 (tevent-098-add_abi_scripts_and_fix_exports.patch):' Patch #1 (tevent-098-add_abi_scripts_and_fix_exports.patch): + patch -p1 -b --suffix .abi_checks -s Patch #2 (tevent_signal_segfault.patch): + echo 'Patch #2 (tevent_signal_segfault.patch):' + patch -p1 -b --suffix .tevent_signal_segv -s + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.2142 + umask 022 + cd /builddir/build/BUILD + cd tevent-0.9.8 + 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 ./libreplace/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./libreplace/config.sub ++ basename ./libreplace/config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./libreplace/config.sub `/usr/lib/rpm/redhat/config.sub' -> `./libreplace/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./libreplace/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./libreplace/config.guess ++ basename ./libreplace/config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./libreplace/config.guess `/usr/lib/rpm/redhat/config.guess' -> `./libreplace/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' + 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' + ./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 LIBREPLACE_LOCATION_CHECKS: START checking build system type... powerpc-redhat-linux-gnu checking host system type... powerpc-redhat-linux-gnu checking target system type... powerpc-redhat-linux-gnu LIBREPLACE_LOCATION_CHECKS: END LIBREPLACE_CC_CHECKS: START 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 version of gcc... 4.1.2 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether byte ordering is bigendian... yes checking for inline... inline checking for C99 designated initializers... yes checking for a BSD-compatible install... /usr/bin/install -c checking for library containing strerror... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking standards.h usability... no checking standards.h presence... no checking for standards.h... no checking for long long... yes checking size of int... 4 checking size of char... 1 checking size of short... 2 checking size of long... 4 checking size of long long... 8 checking for uint_t... no checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int64_t... yes checking for uint64_t... yes checking for size_t... yes checking for ssize_t... yes checking size of off_t... 8 checking size of size_t... 4 checking size of ssize_t... 4 checking for intptr_t... yes checking for uintptr_t... yes checking for ptrdiff_t... yes checking for immediate structures... yes LIBREPLACE_CC_CHECKS: END LIBREPLACE_BROKEN_CHECKS: START checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... (cached) yes checking for pid_t... yes checking for struct stat.st_rdev... yes checking for ino_t... yes checking for loff_t... yes checking for offset_t... no checking for working memcmp... yes checking for pipe... yes checking for strftime... yes checking for srandom... yes checking for random... yes checking for srand... yes checking for rand... yes checking for usleep... yes checking for setbuffer... yes checking for lstat... yes checking for getpgrp... yes checking for utime... yes checking for utimes... yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for stdint.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for stdint.h... (cached) yes checking for stdbool.h... (cached) yes checking for bool... yes checking for _Bool... yes checking for working mmap... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking vararg.h usability... no checking vararg.h presence... no checking for vararg.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes checking unix.h usability... no checking unix.h presence... no checking for unix.h... no checking for seteuid... yes checking for setresuid... yes checking for setegid... yes checking for setresgid... yes checking for chroot... yes checking for bzero... yes checking for strerror... yes checking for vsyslog... yes checking for setlinebuf... yes checking for mktime... yes checking for ftruncate... yes checking for chsize... no checking for rename... yes checking for waitpid... yes checking for wait4... yes checking for strlcpy... no checking for strlcat... no checking for initgroups... yes checking for memmove... yes checking for strdup... yes checking for pread... yes checking for pwrite... yes checking for strndup... yes checking for strcasestr... yes checking for strtok_r... yes checking for mkdtemp... yes checking for dup2... yes checking for isatty... yes checking for chown... yes checking for lchown... yes checking for link... yes checking for readlink... yes checking for symlink... yes checking for realpath... yes checking for setresuid declaration... yes checking for setresgid declaration... yes checking for errno declaration... yes checking for secure mkstemp... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for strings.h... (cached) yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether asprintf is declared... yes checking whether vasprintf is declared... yes checking for snprintf... yes checking for vsnprintf... yes checking for asprintf... yes checking for vasprintf... yes checking for C99 vsnprintf... yes checking for va_copy... yes checking for __FUNCTION__ macro... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for comparison_fn_t... yes checking for setenv declaration... yes checking for setenv... yes checking for unsetenv... yes checking for environ declaration... yes checking for strnlen... yes checking for strtoull... yes checking for __strtoull... no checking for strtouq... yes checking for strtoll... yes checking for __strtoll... no checking for strtoq... yes checking for sig_atomic_t type... yes checking for O_DIRECT flag to open(2)... no checking that the C compiler understands volatile... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mode.h usability... no checking sys/mode.h presence... no checking for sys/mode.h... no checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/acl.h usability... no checking sys/acl.h presence... no checking for sys/acl.h... no checking acl/libacl.h usability... no checking acl/libacl.h presence... no checking for acl/libacl.h... no checking for sys/select.h... (cached) yes checking for sys/time.h... (cached) yes checking for utime.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for utime... (cached) yes checking for utimes... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking sys/capability.h usability... no checking sys/capability.h presence... no checking for sys/capability.h... no checking for broken RedHat 7.2 system header files... no checking for broken RHEL5 sys/capability.h... no checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking sys/id.h usability... no checking sys/id.h presence... no checking for sys/id.h... no checking compat.h usability... no checking compat.h presence... no checking for compat.h... no checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking sys/priv.h usability... no checking sys/priv.h presence... no checking for sys/priv.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/security.h usability... no checking sys/security.h presence... no checking for sys/security.h... no checking for getpwnam_r... yes checking for getpwuid_r... yes checking for getpwent_r... yes checking for getpwent_r declaration... yes checking for prototype struct passwd *getpwent_r(struct passwd *src, char *buf, int buflen)... no checking for prototype struct passwd *getpwent_r(struct passwd *src, char *buf, size_t buflen)... no checking for getgrnam_r... yes checking for getgrgid_r... yes checking for getgrent_r... yes checking for getgrent_r declaration... yes checking for prototype struct group *getgrent_r(struct group *src, char *buf, int buflen)... no checking for prototype struct group *getgrent_r(struct group *src, char *buf, size_t buflen)... no checking for getgrouplist... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking for library containing dlopen... -ldl checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen... yes checking for dlsym... yes checking for dlerror... yes checking for dlclose... yes checking for library containing shl_load... no checking dl.h usability... no checking dl.h presence... no checking for dl.h... no checking for shl_load... no checking for shl_unload... no checking for shl_findsym... no checking for prototype void *dlopen(const char* filename, unsigned int flags)... no checking for getpass... yes checking for getpassphrase... no checking whether getpass should be replaced... yes checking whether strptime is available and works... yes checking direct.h usability... no checking direct.h presence... no checking for direct.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking whether mkdir supports mode... yes checking for timegm... yes checking for broken readdir... no checking for dirfd... yes checking for dirfd declaration... yes checking a usable readdir()... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for library containing crypt... -lcrypt checking for printf... yes checking for memset... yes checking for memcpy... yes LIBREPLACE_BROKEN_CHECKS: END checking for ppc-redhat-linux-gnu-pkg-config... no checking for pkg-config... no checking talloc.h usability... yes checking talloc.h presence... yes checking for talloc.h... yes checking for talloc_init in -ltalloc... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking for epoll_create... yes configure: creating ./config.status config.status: creating Makefile config.status: creating tevent.pc config.status: creating config.h config.status: executing rm-stdint.h commands config.status: executing rm-stdbool.h commands + make -j4 libtevent will be compiled with flags: Compiling tevent.c CFLAGS = -I./include -Iinclude -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I./libreplace Compiling tevent_debug.c CPPFLAGS = -I./include -Iinclude -I. LDFLAGS = -I. Compiling tevent_util.c LIBS = -ltalloc Compiling tevent_fd.c Compiling tevent_timed.c Compiling tevent_immediate.c Compiling tevent_signal.c Compiling tevent_req.c Compiling tevent_wakeup.c Compiling tevent_queue.c Compiling tevent_standard.c Compiling tevent_select.c Compiling tevent_epoll.c Compiling libreplace/replace.c Compiling libreplace/snprintf.c Compiling libreplace/getpass.c gcc -shared -Wl,-Bsymbolic -I. -ltalloc -o libtevent.so.0.9.8 tevent.o tevent_debug.o tevent_util.o tevent_fd.o tevent_timed.o tevent_immediate.o tevent_signal.o tevent_req.o tevent_wakeup.o tevent_queue.o tevent_standard.o tevent_select.o tevent_epoll.o ./libreplace/replace.o ./libreplace/snprintf.o ./libreplace/getpass.o -Wl,--version-script tevent.exports -Wl,-soname=libtevent.so.0 ar -rv libtevent.a tevent.o tevent_debug.o tevent_util.o tevent_fd.o tevent_timed.o tevent_immediate.o tevent_signal.o tevent_req.o tevent_wakeup.o tevent_queue.o tevent_standard.o tevent_select.o tevent_epoll.o ./libreplace/replace.o ./libreplace/snprintf.o ./libreplace/getpass.o ar: creating libtevent.a a - tevent.o a - tevent_debug.o a - tevent_util.o a - tevent_fd.o a - tevent_timed.o a - tevent_immediate.o a - tevent_signal.o a - tevent_req.o a - tevent_wakeup.o a - tevent_queue.o a - tevent_standard.o a - tevent_select.o a - tevent_epoll.o a - ./libreplace/replace.o a - ./libreplace/snprintf.o a - ./libreplace/getpass.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.93431 + umask 022 + cd /builddir/build/BUILD + cd tevent-0.9.8 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/libtevent-0.9.8-7.el5-AF3934 + make install DESTDIR=/var/tmp/libtevent-0.9.8-7.el5-AF3934 libtevent will be compiled with flags: CFLAGS = -I./include -Iinclude -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -I./libreplace CPPFLAGS = -I./include -Iinclude -I. LDFLAGS = -I. LIBS = -ltalloc mkdir -p /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/include mkdir -p /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib mkdir -p /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib/pkgconfig cp ./tevent.h /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/include cp tevent.pc /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib/pkgconfig cp libtevent.a libtevent.so.0.9.8 /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib + ln -s libtevent.so.0.9.8 /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib/libtevent.so.0 + ln -s libtevent.so.0.9.8 /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib/libtevent.so + rm -f /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib/libtevent.a + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/tevent-0.9.8 extracting debug info from /var/tmp/libtevent-0.9.8-7.el5-AF3934/usr/lib/libtevent.so.0.9.8 symlinked /usr/lib/debug/usr/lib/libtevent.so.0.9.8.debug to /usr/lib/debug/usr/lib/libtevent.so.0.debug symlinked /usr/lib/debug/usr/lib/libtevent.so.0.9.8.debug to /usr/lib/debug/usr/lib/libtevent.so.debug cpio: gcc-4.1.2-20080825/obj-ppc64-redhat-linux/gcc/crtsavres.S: No such file or directory 341 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-java-repack-jars Processing files: libtevent-0.9.8-7.el5 Provides: libtevent.so.0 Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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.3.2) libc.so.6(GLIBC_2.4) libtalloc.so.2 libtevent.so.0 rtld(GNU_HASH) Processing files: libtevent-devel-0.9.8-7.el5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libtalloc-devel >= 2.0.0 libtevent = 0.9.8-7.el5 libtevent.so.0 pkgconfig Processing files: libtevent-debuginfo-0.9.8-7.el5 Provides: libtevent.so.0.9.8.debug 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/libtevent-0.9.8-7.el5-AF3934 warning: Could not canonicalize hostname: ppc03.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/libtevent-0.9.8-7.el5.ppc.rpm Wrote: /builddir/build/RPMS/libtevent-devel-0.9.8-7.el5.ppc.rpm Wrote: /builddir/build/RPMS/libtevent-debuginfo-0.9.8-7.el5.ppc.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.93431 + umask 022 + cd /builddir/build/BUILD + cd tevent-0.9.8 + rm -rf /var/tmp/libtevent-0.9.8-7.el5-AF3934 + exit 0 Child returncode was: 0 LEAVE do -->