Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/dhcpdump.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1657749408.413128/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12ovujdc:/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.12ovujdc:/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', '095efc977cd54d03827b5ac7e7723834', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1657749408.413128/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12ovujdc:/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/dhcpdump.spec'], chrootPath='/var/lib/mock/rhel+epel-8-aarch64-1657749408.413128/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12ovujdc:/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.12ovujdc:/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', '7cec38524f504526bb5737e16ec445df', '-D', '/var/lib/mock/rhel+epel-8-aarch64-1657749408.413128/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.12ovujdc:/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 aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JkDRek + 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.AAtnFz + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + /usr/bin/make -O -j4 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.Gg4cFG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64 + cd dhcpdump-1.8 + install -D -m 755 dhcpdump /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/usr/bin/dhcpdump + install -D -m 644 dhcpdump.8 /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/usr/share/man/man8/dhcpdump.8 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.8-1.el8 --unique-debug-suffix -1.8-1.el8.aarch64 --unique-debug-src-base dhcpdump-1.8-1.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dhcpdump-1.8 extracting debug info from /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/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.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7tX5Ag + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + DOCDIR=/builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/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.aarch64/usr/share/doc/dhcpdump + cp -pr CHANGES /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/usr/share/doc/dhcpdump + cp -pr CONTACT /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/usr/share/doc/dhcpdump + cp -pr FILES /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/usr/share/doc/dhcpdump + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.e7SYUl + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + LICENSEDIR=/builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/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.aarch64/usr/share/licenses/dhcpdump + cp -pr LICENSE /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64/usr/share/licenses/dhcpdump + exit 0 Provides: dhcpdump = 1.8-1.el8 dhcpdump(aarch-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.17)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: dhcpdump-debugsource-1.8-1.el8.aarch64 Provides: dhcpdump-debugsource = 1.8-1.el8 dhcpdump-debugsource(aarch-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.aarch64 Provides: debuginfo(build-id) = 17ff87a1c96ccbbe78f63e5f72106cd1af578d41 dhcpdump-debuginfo = 1.8-1.el8 dhcpdump-debuginfo(aarch-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(aarch-64) = 1.8-1.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64 Wrote: /builddir/build/RPMS/dhcpdump-1.8-1.el8.aarch64.rpm Wrote: /builddir/build/RPMS/dhcpdump-debugsource-1.8-1.el8.aarch64.rpm Wrote: /builddir/build/RPMS/dhcpdump-debuginfo-1.8-1.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dNZ5g4 + umask 022 + cd /builddir/build/BUILD + cd dhcpdump-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dhcpdump-1.8-1.el8.aarch64 + exit 0 Child return code was: 0