Mock Version: 0.9.14 Mock Version: 0.9.14 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/iftop.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-1590-2388/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/iftop.spec'] warning: Could not canonicalize hostname: omachi.rutgers.edu Building target platforms: i386 Building for target i386 Wrote: /builddir/build/SRPMS/iftop-0.17-10.ru.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/iftop.spec'], False, '/var/lib/mock/centos5-rutgers-staging-build-1590-2388/root/', None, 86400, True, 0, 73, 203, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/iftop.spec'] Building target platforms: i386 Building for target i386 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.65561 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf iftop-0.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/iftop-0.17.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd iftop-0.17 ++ /usr/bin/id -u + '[' 73 = 0 ']' ++ /usr/bin/id -u + '[' 73 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (iftop-0.17-bandwidth.patch):' Patch #0 (iftop-0.17-bandwidth.patch): + patch -p1 -b --suffix .bandwidth -s + echo 'Patch #1 (iftop-0.17-man-typos.patch):' Patch #1 (iftop-0.17-man-typos.patch): + patch -p1 -b --suffix .man-typos -s + echo 'Patch #2 (iftop-0.17-ncursesw.patch):' Patch #2 (iftop-0.17-ncursesw.patch): + patch -p1 -b --suffix .ncursesw -s + autoreconf -f + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1683 + umask 022 + cd /builddir/build/BUILD + cd iftop-0.17 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export FFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub `/usr/lib/rpm/redhat/config.sub' -> `./config/config.sub' + ./configure --build=i386-koji-linux-gnu --host=i386-koji-linux-gnu --target=i386-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 build system type... i386-koji-linux-gnu checking host system type... i386-koji-linux-gnu checking target system type... i386-redhat-linux-gnu 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 i386-koji-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 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 sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking for regcomp... yes checking for select... yes checking for strdup... yes checking for strerror... yes checking for strspn... yes checking for library containing socket... none required checking for library containing log... -lm checking for gethostbyname... yes checking for library containing inet_aton... none required checking for library containing inet_pton... none required checking for inet_aton... yes checking for inet_pton... yes checking size of u_int8_t... unknown type checking size of u_int16_t... unknown type checking size of u_int32_t... unknown type checking for stdint.h... (cached) yes checking for library containing getnameinfo... none required checking for library containing gethostbyaddr_r... none required checking how to call gethostbyaddr_r... 8 args, int return checking gethostbyaddr_r usability... yes checking where to find pcap.h... /include checking for pcap_open_live in -lpcap... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for a curses library containing mvchgat... -lncursesw checking POSIX threads compilation... CFLAGS= and LIBS=-lpthread checking POSIX threads usability... yes checking if we need to enable promiscuous mode by default... no configure: creating ./config.status config.status: creating Makefile config.status: creating config/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/iftop-0.17' Making all in config make[2]: Entering directory `/builddir/build/BUILD/iftop-0.17/config' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/iftop-0.17/config' make[2]: Entering directory `/builddir/build/BUILD/iftop-0.17' gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT addr_hash.o -MD -MP -MF .deps/addr_hash.Tpo -c -o addr_hash.o addr_hash.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT edline.o -MD -MP -MF .deps/edline.Tpo -c -o edline.o edline.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT iftop.o -MD -MP -MF .deps/iftop.Tpo -c -o iftop.o iftop.c iftop.c: In function 'packet_init': iftop.c:489: warning: implicit declaration of function 'get_addrs_ioctl' iftop.c:481: warning: unused variable 's' iftop.c: In function 'main': iftop.c:573: warning: implicit declaration of function 'options_read_args' iftop.c:576: warning: implicit declaration of function 'options_make' mv -f .deps/edline.Tpo .deps/edline.Po mv -f .deps/hash.Tpo .deps/hash.Po mv -f .deps/iftop.Tpo .deps/iftop.Po gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT ns_hash.o -MD -MP -MF .deps/ns_hash.Tpo -c -o ns_hash.o ns_hash.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.c mv -f .deps/addr_hash.Tpo .deps/addr_hash.Po mv -f .deps/ns_hash.Tpo .deps/ns_hash.Po options.c: In function 'options_read_args': options.c:273: warning: implicit declaration of function 'config_set_string' options.c: In function 'options_config_get_enum': options.c:370: warning: implicit declaration of function 'config_get_enum' options.c: In function 'options_make': options.c:494: warning: dereferencing type-punned pointer will break strict-aliasing rules options.c:495: warning: dereferencing type-punned pointer will break strict-aliasing rules options.c:499: warning: dereferencing type-punned pointer will break strict-aliasing rules options.c: At top level: options.c:166: warning: 'set_max_bandwidth' defined but not used options.c:192: warning: 'set_net_filter' defined but not used gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT resolver.o -MD -MP -MF .deps/resolver.Tpo -c -o resolver.o resolver.c mv -f .deps/options.Tpo .deps/options.Po mv -f .deps/resolver.Tpo .deps/resolver.Po gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT screenfilter.o -MD -MP -MF .deps/screenfilter.Tpo -c -o screenfilter.o screenfilter.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT serv_hash.o -MD -MP -MF .deps/serv_hash.Tpo -c -o serv_hash.o serv_hash.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT sorted_list.o -MD -MP -MF .deps/sorted_list.Tpo -c -o sorted_list.o sorted_list.c mv -f .deps/screenfilter.Tpo .deps/screenfilter.Po mv -f .deps/serv_hash.Tpo .deps/serv_hash.Po mv -f .deps/sorted_list.Tpo .deps/sorted_list.Po gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT threadprof.o -MD -MP -MF .deps/threadprof.Tpo -c -o threadprof.o threadprof.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT ui.o -MD -MP -MF .deps/ui.Tpo -c -o ui.o ui.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT addrs_ioctl.o -MD -MP -MF .deps/addrs_ioctl.Tpo -c -o addrs_ioctl.o addrs_ioctl.c mv -f .deps/util.Tpo .deps/util.Po gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT addrs_dlpi.o -MD -MP -MF .deps/addrs_dlpi.Tpo -c -o addrs_dlpi.o addrs_dlpi.c mv -f .deps/addrs_dlpi.Tpo .deps/addrs_dlpi.Po gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT dlcommon.o -MD -MP -MF .deps/dlcommon.Tpo -c -o dlcommon.o dlcommon.c mv -f .deps/dlcommon.Tpo .deps/dlcommon.Po gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT stringmap.o -MD -MP -MF .deps/stringmap.Tpo -c -o stringmap.o stringmap.c mv -f .deps/stringmap.Tpo .deps/stringmap.Po gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT cfgfile.o -MD -MP -MF .deps/cfgfile.Tpo -c -o cfgfile.o cfgfile.c mv -f .deps/addrs_ioctl.Tpo .deps/addrs_ioctl.Po cfgfile.c: In function 'config_get_int': cfgfile.c:156: warning: implicit declaration of function 'strtol' cfgfile.c: In function 'config_get_float': cfgfile.c:178: warning: implicit declaration of function 'strtod' cfgfile.c:167: warning: unused variable 'I' cfgfile.c: In function 'read_config': cfgfile.c:238: warning: unused variable 'o' gcc -DHAVE_CONFIG_H -I. -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT vector.o -MD -MP -MF .deps/vector.Tpo -c -o vector.o vector.c mv -f .deps/cfgfile.Tpo .deps/cfgfile.Po mv -f .deps/vector.Tpo .deps/vector.Po mv -f .deps/threadprof.Tpo .deps/threadprof.Po ui.c: In function 'draw_line_total': ui.c:299: warning: 'n' may be used uninitialized in this function mv -f .deps/ui.Tpo .deps/ui.Po gcc -O2 -gdwarf-2 -g3 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -o iftop addr_hash.o edline.o hash.o iftop.o ns_hash.o options.o resolver.o screenfilter.o serv_hash.o sorted_list.o threadprof.o ui.o util.o addrs_ioctl.o addrs_dlpi.o dlcommon.o stringmap.o cfgfile.o vector.o -lpcap -lm -lncursesw -lpthread make[2]: Leaving directory `/builddir/build/BUILD/iftop-0.17' make[1]: Leaving directory `/builddir/build/BUILD/iftop-0.17' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.21364 + umask 022 + cd /builddir/build/BUILD + cd iftop-0.17 + LANG=C + export LANG + unset DISPLAY + rm -rf /var/tmp/iftop-0.17-10.ru-root-mockbuild + make DESTDIR=/var/tmp/iftop-0.17-10.ru-root-mockbuild install Making install in config make[1]: Entering directory `/builddir/build/BUILD/iftop-0.17/config' make[2]: Entering directory `/builddir/build/BUILD/iftop-0.17/config' 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/iftop-0.17/config' make[1]: Leaving directory `/builddir/build/BUILD/iftop-0.17/config' make[1]: Entering directory `/builddir/build/BUILD/iftop-0.17' make[2]: Entering directory `/builddir/build/BUILD/iftop-0.17' test -z "/usr/sbin" || /bin/mkdir -p "/var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/sbin" /usr/bin/install -c iftop '/var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/sbin' test -z "/usr/share/man/man8" || /bin/mkdir -p "/var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/share/man/man8" /usr/bin/install -c -m 644 iftop.8 '/var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/share/man/man8' make[2]: Leaving directory `/builddir/build/BUILD/iftop-0.17' make[1]: Leaving directory `/builddir/build/BUILD/iftop-0.17' + /usr/lib/rpm/find-debuginfo.sh /builddir/build/BUILD/iftop-0.17 extracting debug info from /var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/sbin/iftop 292 blocks + /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: iftop-0.17-10.ru Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.21364 + umask 022 + cd /builddir/build/BUILD + cd iftop-0.17 + DOCDIR=/var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/share/doc/iftop-0.17 + export DOCDIR + rm -rf /var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/share/doc/iftop-0.17 + /bin/mkdir -p /var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/share/doc/iftop-0.17 + cp -pr ChangeLog COPYING README TODO /var/tmp/iftop-0.17-10.ru-root-mockbuild/usr/share/doc/iftop-0.17 + 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.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libm.so.6 libm.so.6(GLIBC_2.0) libncursesw.so.5 libpcap.so.0.9.4 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.3.2) rtld(GNU_HASH) Processing files: iftop-debuginfo-0.17-10.ru 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/iftop-0.17-10.ru-root-mockbuild warning: Could not canonicalize hostname: omachi.rutgers.edu Wrote: /builddir/build/RPMS/iftop-0.17-10.ru.i386.rpm Wrote: /builddir/build/RPMS/iftop-debuginfo-0.17-10.ru.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.21364 + umask 022 + cd /builddir/build/BUILD + cd iftop-0.17 + rm -rf /var/tmp/iftop-0.17-10.ru-root-mockbuild + exit 0 Child returncode was: 0 LEAVE do -->