Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dhcpdump.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1657749407.454190/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91hgidzu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91hgidzu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'eee94fdd6c174e6ea17fa12d379aa4ad', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1657749407.454190/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91hgidzu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dhcpdump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dhcpdump-1.8-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dhcpdump.spec'], chrootPath='/var/lib/mock/rhel+epel-8-x86_64-1657749407.454190/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91hgidzu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91hgidzu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '214def324b5144719a575456e9231a9b', '-D', '/var/lib/mock/rhel+epel-8-x86_64-1657749407.454190/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91hgidzu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dhcpdump.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AEJZef + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dhcpdump-1.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/dhcpdump-1.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dhcpdump-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uvSZnR + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + /usr/bin/make -O -j2 pod2man --section 8 \ --date "23 June 2008" \ --name "DHCPDUMP" \ --center "User Contributed Software" \ dhcpdump.pod dhcpdump.8 cc -Wall -g -c -o dhcpdump.o dhcpdump.c dhcpdump.c: In function 'pcap_callback': dhcpdump.c:153:3: warning: implicit declaration of function 'strftime' [-Wimplicit-function-declaration] strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", ^~~~~~~~ dhcpdump.c:153:3: warning: incompatible implicit declaration of built-in function 'strftime' dhcpdump.c:153:3: note: include '' or provide a declaration of 'strftime' dhcpdump.c:31:1: +#include #endif dhcpdump.c:153:3: strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", ^~~~~~~~ dhcpdump.c:154:7: warning: implicit declaration of function 'localtime' [-Wimplicit-function-declaration] localtime(&(tp.tv_sec))); ^~~~~~~~~ dhcpdump.c:153:12: warning: pointer targets in passing argument 1 of 'strftime' differ in signedness [-Wpointer-sign] strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S.", ^~~~~~~~~ dhcpdump.c:153:12: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} dhcpdump.c:154:7: warning: passing argument 4 of 'strftime' makes pointer from integer without a cast [-Wint-conversion] localtime(&(tp.tv_sec))); ^~~~~~~~~~~~~~~~~~~~~~~ dhcpdump.c:154:7: note: expected 'const void *' but argument is of type 'int' dhcpdump.c:155:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf(timestamp + strlen(timestamp), "%03ld", ^~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ dhcpdump.c:155:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(timestamp + strlen(timestamp), "%03ld", ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from dhcpdump.c:20: /usr/include/stdio.h:334:12: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern int sprintf (char *__restrict __s, ^~~~~~~ dhcpdump.c:159:21: warning: implicit declaration of function 'ether_ntoa'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); ^~~~~~~~~~ inet_ntoa dhcpdump.c:159:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); ^~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c:159:21: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] strcpy(mac_origin, ether_ntoa((struct ether_addr *)eh->ether_shost)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'int' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c:160:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(mac_destination, ^~~~~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c:161:6: warning: passing argument 2 of 'strcpy' makes pointer from integer without a cast [-Wint-conversion] ether_ntoa((struct ether_addr *)eh->ether_dhost)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'int' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c:163:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src)); ^~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c:163:20: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_origin, (u_char *)inet_ntoa(ip->ip_src)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c:164:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst)); ^~~~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c:164:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(ip_destination, (u_char *)inet_ntoa(ip->ip_dst)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:122:14: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~ dhcpdump.c: In function 'printdata': dhcpdump.c:367:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 2], data[j + 1]); ^~~ In file included from dhcpdump.c:22: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ dhcpdump.c:367:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 2], data[j + 1]); ^~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ dhcpdump.c:513:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 5], data[j + 1] - 3); ^~~ In file included from dhcpdump.c:22: /usr/include/string.h:125:14: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ dhcpdump.c:513:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(buf, &data[j + 5], data[j + 1] - 3); ^~~~~~~~~~~~ In file included from dhcpdump.c:22: /usr/include/string.h:125:14: note: expected 'const char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} extern char *strncpy (char *__restrict __dest, ^~~~~~~ cc -g -o dhcpdump dhcpdump.o -lpcap + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1NsjND + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64 + cd dhcpdump-1.8 + install -D -m 755 dhcpdump /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/bin/dhcpdump + install -D -m 644 dhcpdump.8 /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/man/man8/dhcpdump.8 + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.8-1.el8 --unique-debug-suffix -1.8-1.el8.x86_64 --unique-debug-src-base dhcpdump-1.8-1.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/dhcpdump-1.8 extracting debug info from /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/bin/dhcpdump /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 51 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dhcpdump-1.8-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IcHA80 + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + DOCDIR=/builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/doc/dhcpdump + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/doc/dhcpdump + cp -pr CHANGES /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/doc/dhcpdump + cp -pr CONTACT /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/doc/dhcpdump + cp -pr FILES /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/doc/dhcpdump + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XIU9Ct + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + LICENSEDIR=/builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/licenses/dhcpdump + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/licenses/dhcpdump + cp -pr LICENSE /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64/usr/share/licenses/dhcpdump + exit 0 Provides: dhcpdump = 1.8-1.el8 dhcpdump(x86-64) = 1.8-1.el8 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)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: dhcpdump-debugsource-1.8-1.el8.x86_64 Provides: dhcpdump-debugsource = 1.8-1.el8 dhcpdump-debugsource(x86-64) = 1.8-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dhcpdump-debuginfo-1.8-1.el8.x86_64 Provides: debuginfo(build-id) = 9ea5849ec375c1ccb685eb006d3977080c3af36b dhcpdump-debuginfo = 1.8-1.el8 dhcpdump-debuginfo(x86-64) = 1.8-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dhcpdump-debugsource(x86-64) = 1.8-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64 Wrote: /builddir/build/RPMS/dhcpdump-1.8-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/dhcpdump-debugsource-1.8-1.el8.x86_64.rpm Wrote: /builddir/build/RPMS/dhcpdump-debuginfo-1.8-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.lzHW6o + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.x86_64 + exit 0 Child return code was: 0