Mock Version: 1.2.3 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/knock.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-1737/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}gid=135user='mockbuild'timeout=0logger=uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/knock.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} warning: Could not canonicalize hostname: i-00021c9e Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/knock-0.5-7.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/knock.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-1737/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'}gid=135user='mockbuild'timeout=0logger=uid=500) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/knock.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l2zBSf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf knock-0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/knock-0.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd knock-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (knock-0.5-syslog.patch):' Patch #0 (knock-0.5-syslog.patch): + /usr/bin/cat /builddir/build/SOURCES/knock-0.5-syslog.patch + /usr/bin/patch -p1 -b --suffix .syslog --fuzz=0 patching file src/knockd.c + echo 'Patch #1 (knock-0.5-limits.patch):' Patch #1 (knock-0.5-limits.patch): + /usr/bin/cat /builddir/build/SOURCES/knock-0.5-limits.patch + /usr/bin/patch -p1 -b --suffix .limits --fuzz=0 patching file src/list.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qzMZPK + umask 022 + cd /builddir/build/BUILD + cd knock-0.5 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/pcap' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/pcap' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/pcap' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS ++ 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 ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/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 ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --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 x86_64-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 ANSI C... none needed checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for pcap_open_live in -lpcap... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... 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 pcap.h usability... yes checking pcap.h presence... yes checking for pcap.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/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for unistd.h... (cached) 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 for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for inet_ntoa... yes checking for memmove... yes checking for strcasecmp... yes checking for strdup... yes checking for strstr... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + /usr/bin/make gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/pcap -g -Wall -pedantic -fno-exceptions -D_GNU_SOURCE -I. -o src/knockd.o -c src/knockd.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/pcap -g -Wall -pedantic -fno-exceptions -D_GNU_SOURCE -I. -o src/list.o -c src/list.c gcc ./src/knockd.o ./src/list.o -o knockd -Wl,-z,relro -Wl,-z,relro -lpcap gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include/pcap -g -Wall -pedantic -fno-exceptions -D_GNU_SOURCE -I. -o src/knock.o -c src/knock.c gcc ./src/knock.o -o knock -Wl,-z,relro -Wl,-z,relro sed -e "s/#VERSION#/0.5/" doc/knockd.1.in > doc/knockd.1 sed -e "s/#VERSION#/0.5/" doc/knock.1.in > doc/knock.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b82Nzq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 + cd knock-0.5 + '[' /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 '!=' / ']' + /usr/bin/rm -rf /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 'INSTALL=install -p' install -p -D -m0755 knockd /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/sbin/knockd install -p -D -m0755 knock /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/bin/knock install -p -D -m0644 ./doc/knockd.1 /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/man/man1/knockd.1 install -p -D -m0644 ./doc/knock.1 /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/man/man1/knock.1 install -p -D -m0644 knockd.conf /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/etc/knockd.conf + /usr/bin/install -d /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/etc/sysconfig + /usr/bin/install -d /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/etc/rc.d/init.d + /usr/bin/install -m 0644 -p /builddir/build/SOURCES/knockd.sysconfig /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/etc/sysconfig/knockd + /usr/bin/install -m 0755 -p /builddir/build/SOURCES/knockd.init /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/etc/rc.d/init.d/knockd + /usr/bin/install -m 0600 -p /builddir/build/SOURCES/knockd.conf /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/etc/ + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/knock-0.5 extracting debug info from /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/sbin/knockd extracting debug info from /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/bin/knock /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 113 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/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: knock-0.5-7.el7.centos.x86_64 Provides: knock = 0.5-7.el7.centos knock(x86-64) = 0.5-7.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: knock-server-0.5-7.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SgTtK7 + umask 022 + cd /builddir/build/BUILD + cd knock-0.5 + DOCDIR=/builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/doc/knock-server-0.5 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/doc/knock-server-0.5 + cp -pr README /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/doc/knock-server-0.5 + cp -pr COPYING /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/doc/knock-server-0.5 + cp -pr ChangeLog /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/doc/knock-server-0.5 + cp -pr TODO /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64/usr/share/doc/knock-server-0.5 + exit 0 Provides: config(knock-server) = 0.5-7.el7.centos knock-server = 0.5-7.el7.centos knock-server(x86-64) = 0.5-7.el7.centos 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 /sbin/chkconfig Requires(preun): /bin/sh /sbin/chkconfig /sbin/service Requires(postun): /bin/sh /sbin/service Requires: /bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: knock-debuginfo-0.5-7.el7.centos.x86_64 Provides: knock-debuginfo = 0.5-7.el7.centos knock-debuginfo(x86-64) = 0.5-7.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 Wrote: /builddir/build/RPMS/knock-0.5-7.el7.centos.x86_64.rpm warning: Could not canonicalize hostname: i-00021c9e Wrote: /builddir/build/RPMS/knock-server-0.5-7.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/knock-debuginfo-0.5-7.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eoHPxV + umask 022 + cd /builddir/build/BUILD + cd knock-0.5 + '[' /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 '!=' / ']' + /usr/bin/rm -rf /builddir/build/BUILDROOT/knock-0.5-7.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->