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/centos6-rutgers-staging-build-3003-5123/root/', None, 86400, True, 0, 486, 495, None, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target i386 --nodeps builddir/build/SPECS/iftop.spec'] warning: Could not canonicalize hostname: opus3.rutgers.edu Building target platforms: i386 Building for target i386 Wrote: /builddir/build/SRPMS/iftop-0.17-1.ru6.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/centos6-rutgers-staging-build-3003-5123/root/', None, 86400, True, 0, 486, 495, 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.85copu + 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 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd iftop-0.17 + /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): + /bin/cat /builddir/build/SOURCES/iftop-0.17-bandwidth.patch + /usr/bin/patch -s -p1 -b --suffix .bandwidth --fuzz=0 Patch #1 (iftop-0.17-man-typos.patch): + echo 'Patch #1 (iftop-0.17-man-typos.patch):' + /bin/cat /builddir/build/SOURCES/iftop-0.17-man-typos.patch + /usr/bin/patch -s -p1 -b --suffix .man-typos --fuzz=0 Patch #2 (iftop-0.17-ncursesw.patch): + echo 'Patch #2 (iftop-0.17-ncursesw.patch):' + /bin/cat /builddir/build/SOURCES/iftop-0.17-ncursesw.patch + /usr/bin/patch -s -p1 -b --suffix .ncursesw --fuzz=0 + autoreconf -f + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5ZRalN + umask 022 + cd /builddir/build/BUILD + cd iftop-0.17 + 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 -march=i386 -mtune=generic -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -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 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + ./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=/var/lib --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 -j2 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 -g -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 -g -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 mv -f .deps/addr_hash.Tpo .deps/addr_hash.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 mv -f .deps/edline.Tpo .deps/edline.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 mv -f .deps/hash.Tpo .deps/hash.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 iftop.c: In function 'handle_llc_packet': iftop.c:315: warning: dereferencing type-punned pointer will break strict-aliasing rules 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/ns_hash.Tpo .deps/ns_hash.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 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: 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 mv -f .deps/iftop.Tpo .deps/iftop.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 gcc -DHAVE_CONFIG_H -I. -O2 -g -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 mv -f .deps/screenfilter.Tpo .deps/screenfilter.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 mv -f .deps/resolver.Tpo .deps/resolver.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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/serv_hash.Tpo .deps/serv_hash.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 mv -f .deps/sorted_list.Tpo .deps/sorted_list.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 mv -f .deps/threadprof.Tpo .deps/threadprof.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 mv -f .deps/util.Tpo .deps/util.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 addrs_ioctl.c: In function 'get_addrs_ioctl': addrs_ioctl.c:113: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules addrs_ioctl.c:113: note: initialized from here ui.c: In function 'draw_line_total': ui.c:299: warning: 'n' may be used uninitialized in this function mv -f .deps/addrs_ioctl.Tpo .deps/addrs_ioctl.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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 -g -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 -g -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 -g -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 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' mv -f .deps/cfgfile.Tpo .deps/cfgfile.Po gcc -DHAVE_CONFIG_H -I. -O2 -g -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/ui.Tpo .deps/ui.Po mv -f .deps/vector.Tpo .deps/vector.Po gcc -O2 -g -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.CUfEbp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 ++ dirname /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 + cd iftop-0.17 + LANG=C + export LANG + unset DISPLAY + rm -rf /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 + make DESTDIR=/builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 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 "/builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/sbin" /usr/bin/install -c iftop '/builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/sbin' test -z "/usr/share/man/man8" || /bin/mkdir -p "/builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/share/man/man8" /usr/bin/install -c -m 644 iftop.8 '/builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/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 --strict-build-id /builddir/build/BUILD/iftop-0.17 extracting debug info from /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/sbin/iftop 259 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: iftop-0.17-1.ru6.i386 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Mesa01 + umask 022 + cd /builddir/build/BUILD + cd iftop-0.17 + DOCDIR=/builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/share/doc/iftop-0.17 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/share/doc/iftop-0.17 + /bin/mkdir -p /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/share/doc/iftop-0.17 + cp -pr ChangeLog COPYING README TODO /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386/usr/share/doc/iftop-0.17 + exit 0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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) libc.so.6(GLIBC_2.7) libm.so.6 libm.so.6(GLIBC_2.0) libncursesw.so.5 libpcap.so.1 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.3.2) libtinfo.so.5 rtld(GNU_HASH) Processing files: iftop-debuginfo-0.17-1.ru6.i386 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 warning: Could not canonicalize hostname: opus3.rutgers.edu Wrote: /builddir/build/RPMS/iftop-0.17-1.ru6.i386.rpm Wrote: /builddir/build/RPMS/iftop-debuginfo-0.17-1.ru6.i386.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QsaQnV + umask 022 + cd /builddir/build/BUILD + cd iftop-0.17 + rm -rf /builddir/build/BUILDROOT/iftop-0.17-1.ru6.i386 + exit 0 Child returncode was: 0 LEAVE do -->