Mock Version: 4.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ngrep.spec'], chrootPath='/var/lib/mock/fedora-38-ppc64le-1685752936.080326/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.nhi51o1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nhi51o1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'bd30ca7d421348a89745f4d1a6cbed02', '-D', '/var/lib/mock/fedora-38-ppc64le-1685752936.080326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nhi51o1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --nodeps /builddir/build/SPECS/ngrep.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ngrep.spec'], chrootPath='/var/lib/mock/fedora-38-ppc64le-1685752936.080326/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.nhi51o1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nhi51o1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'fe9d8c23ba8c4319a215d76fb50fe460', '-D', '/var/lib/mock/fedora-38-ppc64le-1685752936.080326/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nhi51o1k:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 ppc64le --nodeps /builddir/build/SPECS/ngrep.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E88GSd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ngrep-2a9603bc67dface9606a658da45e1f5c65170444.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/27.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/ngrep-tcpkill-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r regex-0.12 + '[' -e /usr/lib/rpm/clang/ngrep-run ']' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NMPaAA + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:14: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:14: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:14: the top level configure.in:16: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:16: the top level autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: './config.sub' is updated autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -fltox '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -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 $(dirname ./configure) -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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now ' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=powerpc64le-redhat-linux-gnu --host=powerpc64le-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-pcre2 --enable-ipv6 --with-pcap-includes=/usr/include/pcap --enable-tcpkill configure: WARNING: unrecognized options: --disable-dependency-tracking Configuring System ... checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking target system type... powerpc64le-redhat-linux-gnu checking for powerpc64le-redhat-linux-gnu-gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for libnet_init in -lnet... yes Configuring Network Grep ... checking for a complete set of pcap headers... checking how to run the C preprocessor... clang -E found /usr/include/pcap checking for pcap_open_live in -lpcap... yes checking for BPF include path... pcap/bpf.h checking for DLT_LINUX_SLL in pcap/bpf.h... yes checking for DLT_LOOP in pcap/bpf.h... yes checking for DLT_IEEE802_11 in pcap/bpf.h... yes checking for DLT_IEEE802_11_RADIO in pcap/bpf.h... yes checking for DLT_RAW in pcap/bpf.h... yes checking for DLT_PFLOG in pcap/bpf.h... yes checking for DLT_IPNET in pcap/bpf.h... yes CONFIG: IPv6 support enabled CONFIG: privilege dropping enabled (using nobody) CONFIG: using PCRE2 regex library CONFIG: tcpkill feature enabled CONFIG: automatically including VLAN frames configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j2 V=1 VERBOSE=1 STRIPFLAG= clang -DHAVE_CONFIG_H -DLINUX -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c tcpkill.c tcpkill.c:48:12: warning: passing 'u_char[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 48 | snprintf(ctext, sizeof(ctext), "%s:%d > %s:%d:", | ^~~~~ /usr/include/bits/stdio2.h:60:29: note: expanded from macro 'snprintf' 60 | __builtin___snprintf_chk (str, len, __USE_FORTIFY_LEVEL - 1, \ | ^~~ tcpkill.c:81:15: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 81 | if ((intf = pcap_lookupdev(ebuf)) == NULL) | ^ /usr/include/pcap/pcap.h:394:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 394 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:307:47: note: expanded from macro 'PCAP_DEPRECATED' 307 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ 2 warnings generated. clang -DHAVE_CONFIG_H -DLINUX -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -g -c ngrep.c ngrep.c:458:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 458 | pcap_lookupdev(pc_err); | ^ /usr/include/pcap/pcap.h:394:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here 394 | PCAP_DEPRECATED("use 'pcap_findalldevs' and use the first device") | ^ /usr/include/pcap/funcattrs.h:307:47: note: expanded from macro 'PCAP_DEPRECATED' 307 | #define PCAP_DEPRECATED(msg) __attribute__((deprecated(msg))) | ^ ngrep.c:946:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 946 | if ((len > 0 && match_func(data, len, &match_index, &match_size) == invert_match) && !keep_matching) | ^ ngrep.c:950:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 950 | dump_delay(h); | ^ ngrep.c:973:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 973 | print_time(h); | ^ ngrep.c:1331:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 1331 | dump_delay(h); | ^ 5 warnings generated. clang -o ngrep ngrep.o tcpkill.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -lpcap -lnet -lpcre2-8 -lnet + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.trJ40N + umask 022 + cd /builddir/build/BUILD + '[' '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' '!=' / ']' + rm -rf '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' ++ dirname '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' + mkdir -p /builddir/build/BUILDROOT + mkdir '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + install -Ddpm0755 '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/sbin' '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/man/man8' + /usr/bin/make install 'DESTDIR=/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' 'INSTALL=/usr/bin/install -p' BINDIR_INSTALL=/usr/sbin /usr/bin/install -p -c -m 0755 ngrep /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le//usr/sbin/ngrep /usr/bin/install -p -c -m 0644 ngrep.8 /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le//usr/share/man/man8/ngrep.8 + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/sbin/ngrep [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230602.g032d91cb2fb539-1.fc38) /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/sbin/ngrep built with clang + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -fno-openmp-implicit-rpath -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed '1.47^20180128git2a9603b-3.fc38_clang16_03' --unique-debug-suffix '-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' --unique-debug-src-base 'ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ngrep-2a9603bc67dface9606a658da45e1f5c65170444 extracting debug info from /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/sbin/ngrep original debug info size: 128kB, size after compression: 128kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 98 blocks + /usr/lib/rpm/check-buildroot + /bin/bash /usr/lib/rpm/redhat/verify-clang-cc --- COMPILER CHECK: /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug llvm-readelf: warning: '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug': PT_DYNAMIC segment offset (0x2f9f0) + file size (0x240) exceeds the size of the file (0x11530) llvm-readelf: warning: '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug': PT_DYNAMIC segment offset (0x2f9f0) + file size (0x240) exceeds the size of the file (0x11530) llvm-readelf: warning: '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug': PT_DYNAMIC segment offset (0x2f9f0) + file size (0x240) exceeds the size of the file (0x11530) llvm-readelf: warning: '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug': PT_DYNAMIC segment offset (0x2f9f0) + file size (0x240) exceeds the size of the file (0x11530) llvm-readelf: warning: '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug': PT_DYNAMIC segment offset (0x2f9f0) + file size (0x240) exceeds the size of the file (0x11530) [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230602.g032d91cb2fb539-1.fc38) /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug built with clang --- COMPILER CHECK: /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/sbin/ngrep llvm-readelf: warning: '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug': PT_DYNAMIC segment offset (0x2f9f0) + file size (0x240) exceeds the size of the file (0x11530) llvm-readelf: warning: '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug': PT_DYNAMIC segment offset (0x2f9f0) + file size (0x240) exceeds the size of the file (0x11530) [ 5c] clang version 17.0.0 (Fedora 17.0.0~pre20230602.g032d91cb2fb539-1.fc38) /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/lib/debug/usr/sbin/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.debug built with clang + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rcskoL + umask 022 + cd /builddir/build/BUILD + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + DOCDIR='/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/doc/ngrep' + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/doc/ngrep' + cp -pr CHANGES '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/doc/ngrep' + cp -pr CREDITS '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/doc/ngrep' + cp -pr EXAMPLES.md '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/doc/ngrep' + cp -pr README.md '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/doc/ngrep' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Wv38ZU + umask 022 + cd /builddir/build/BUILD + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + LICENSEDIR='/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/licenses/ngrep' + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/licenses/ngrep' + cp -pr LICENSE '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le/usr/share/licenses/ngrep' + RPM_EC=0 ++ jobs -p + exit 0 Provides: ngrep = 1.47^20180128git2a9603b-3.fc38_clang16_03 ngrep(ppc-64) = 1.47^20180128git2a9603b-3.fc38_clang16_03 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) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libnet.so.1()(64bit) libpcap.so.1()(64bit) libpcre2-8.so.0()(64bit) rtld(GNU_HASH) Processing files: ngrep-debugsource-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le Provides: ngrep-debugsource = 1.47^20180128git2a9603b-3.fc38_clang16_03 ngrep-debugsource(ppc-64) = 1.47^20180128git2a9603b-3.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ngrep-debuginfo-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le Provides: debuginfo(build-id) = 581a801c20597d2a382b5e75030a1fc41a691a5c ngrep-debuginfo = 1.47^20180128git2a9603b-3.fc38_clang16_03 ngrep-debuginfo(ppc-64) = 1.47^20180128git2a9603b-3.fc38_clang16_03 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ngrep-debugsource(ppc-64) = 1.47^20180128git2a9603b-3.fc38_clang16_03 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le Wrote: /builddir/build/RPMS/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.rpm Wrote: /builddir/build/RPMS/ngrep-debuginfo-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.rpm Wrote: /builddir/build/RPMS/ngrep-debugsource-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ICPmsT + umask 022 + cd /builddir/build/BUILD + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + /usr/bin/rm -rf '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-3.fc38_clang16_03.ppc64le' + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.0AhIic + umask 022 + cd /builddir/build/BUILD + rm -rf ngrep-2a9603bc67dface9606a658da45e1f5c65170444 ngrep-2a9603bc67dface9606a658da45e1f5c65170444.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0