==> Building on p ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,399 66% 0.00kB/s 0:00:00 2,099 100% 683.59kB/s 0:00:00 (xfr#1, to-chk=4/6) dsniff-2.4b1-28.log 200 100% 195.31kB/s 0:00:00 200 100% 195.31kB/s 0:00:00 (xfr#2, to-chk=3/6) dsniff-httppostfix.patch 674 100% 658.20kB/s 0:00:00 674 100% 658.20kB/s 0:00:00 (xfr#3, to-chk=2/6) dsniff-macof-size-calculation.patch 369 100% 360.35kB/s 0:00:00 369 100% 360.35kB/s 0:00:00 (xfr#4, to-chk=1/6) dsniff-rpc.patch 700 56% 683.59kB/s 0:00:00 1,235 100% 1.18MB/s 0:00:00 (xfr#5, to-chk=0/6) sent 968 bytes received 162 bytes 753.33 bytes/sec total size is 4,565 speedup is 4.04 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix12 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix12]...done ==> Making package: dsniff 2.4b1-28 (Thu Oct 13 21:02:17 2022) ==> Retrieving sources...  -> Found dsniff-2.4b1.tar.gz  -> Found dsniff_2.4b1+debian-29.debian.tar.xz  -> Found dsniff-rpc.patch  -> Found dsniff-macof-size-calculation.patch  -> Found dsniff-httppostfix.patch ==> Validating source files with sha256sums... dsniff-2.4b1.tar.gz ... Passed dsniff_2.4b1+debian-29.debian.tar.xz ... Passed dsniff-rpc.patch ... Passed dsniff-macof-size-calculation.patch ... Passed dsniff-httppostfix.patch ... Passed ==> Making package: dsniff 2.4b1-28 (Thu Oct 13 21:02:31 2022) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (17) New Version Net Change core/dbus 1.14.2-1 0.77 MiB extra/libice 1.0.10-4 0.33 MiB core/libnl 3.7.0-1 1.69 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libsm 1.2.3-3 0.25 MiB extra/libx11 1.8.1-3 9.91 MiB extra/libxau 1.0.10-1 0.02 MiB extra/libxcb 1.15-1 3.59 MiB extra/libxdmcp 1.1.3-4 0.12 MiB extra/libxext 1.3.4-4 0.29 MiB extra/libxt 1.2.1-1 1.91 MiB extra/xcb-proto 1.15.2-1 0.84 MiB extra/xorgproto 2022.2-1 1.43 MiB extra/libnet 1:1.1.6-1 0.28 MiB community/libnids 1.24-6 0.04 MiB core/libpcap 1.10.1-2 0.55 MiB extra/libxmu 1.1.3-3 0.32 MiB Total Installed Size: 22.40 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnl... installing dbus... installing libpcap... installing xcb-proto... installing libxdmcp... installing libxau... installing libxcb... installing xorgproto... installing libx11... installing libxext... installing libice... installing libsm... installing libxt... installing libxmu... installing libnet... installing libnsl... installing libnids... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/rpcsvc-proto 1.4.3-1 0.19 MiB Total Installed Size: 0.19 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing rpcsvc-proto... [?25h==> Retrieving sources...  -> Found dsniff-2.4b1.tar.gz  -> Found dsniff_2.4b1+debian-29.debian.tar.xz  -> Found dsniff-rpc.patch  -> Found dsniff-macof-size-calculation.patch  -> Found dsniff-httppostfix.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting dsniff-2.4b1.tar.gz with bsdtar  -> Extracting dsniff_2.4b1+debian-29.debian.tar.xz with bsdtar ==> Starting prepare()... ** Applying patch 01_time.h.patch patching file msgsnarf.c patching file sshow.c ** Applying patch 02_mailsnarf_corrupt.patch patching file mailsnarf.c ** Applying patch 03_pcap_read_dump.patch patching file dsniff.8 patching file dsniff.c patching file filesnarf.8 patching file filesnarf.c patching file mailsnarf.8 patching file mailsnarf.c patching file msgsnarf.8 patching file msgsnarf.c patching file sshow.8 patching file sshow.c patching file urlsnarf.8 patching file urlsnarf.c patching file webspy.8 patching file webspy.c ** Applying patch 04_multiple_intf.patch patching file arp.c patching file arp.h patching file arpspoof.c ** Applying patch 05_amd64_fix.patch patching file configure patching file configure.in ** Applying patch 06_urlsnarf_zeropad.patch patching file urlsnarf.c ** Applying patch 07_libnet_1.1.patch patching file arpspoof.c patching file dnsspoof.c patching file filesnarf.c patching file macof.c patching file record.c patching file sshmitm.c patching file tcpkill.c patching file tcpnice.c patching file tcp_raw.c patching file tcp_raw.h patching file trigger.c patching file trigger.h patching file urlsnarf.c patching file webmitm.c patching file webspy.c ** Applying patch 08_openssl-0.9.8.patch patching file ssh.c ** Applying patch 09_sysconf_clocks.patch patching file sshow.c ** Applying patch 10_urlsnarf_escape.patch patching file urlsnarf.c ** Applying patch 11_string_header.patch patching file arp.c patching file buf.c patching file decode_nntp.c patching file decode_pop.c patching file decode_rlogin.c patching file decode_smb.c patching file decode_smtp.c patching file decode_sniffer.c patching file decode_socks.c patching file decode_tds.c patching file decode_telnet.c patching file decode_x11.c patching file dnsspoof.c patching file magic.c patching file missing/strlcat.h patching file missing/strlcpy.h patching file sshmitm.c ** Applying patch 12_arpa_inet_header.patch patching file decode_aim.c patching file decode_mmxp.c patching file decode_pptp.c patching file decode_tds.c patching file decode_vrrp.c patching file ssh.c ** Applying patch 13_pop_with_version.patch patching file decode.c patching file dsniff.services ** Applying patch 14_obsolete_time.patch patching file sshow.c ** Applying patch 15_checksum_libnids.patch patching file dsniff.c ** Applying patch 16_TDS_decoder.patch patching file decode_tds.c ** Applying patch 17_checksum.patch patching file urlsnarf.c ** Applying patch 18_sshcrypto.patch patching file sshcrypto.c ** Applying patch 19_rewrite-and-modernize-POP-decoder.patch patching file decode_pop.c ** Applying patch 20_debian_dirs.patch patching file Makefile.in patching file dnsspoof.8 patching file dsniff.8 patching file pathnames.h ** Applying patch 21_msgsnarf_segfault.patch patching file msgsnarf.c ** Applying patch 22_handlepp.patch patching file pcaputil.c ** Applying patch 23_urlsnarf_timestamp.patch patching file urlsnarf.c ** Applying patch 24_Fix-OpenSSL1.1.0-Build.patch patching file ssh.c patching file sshcrypto.c ** Applying patch 25_fix-spelling-errors.patch patching file remote.c ** Applying patch 26_arpspoof-add-r-switch-to-poison-both-directions.patch patching file arpspoof.8 patching file arpspoof.c ** Applying patch 27_arpspoof-allow-use-of-of-multiple-targets.patch patching file arpspoof.8 patching file arpspoof.c ** Applying patch 28_arpspoof-allow-selection-of-source-hw-address.patch patching file arpspoof.8 patching file arpspoof.c ** Applying patch 29_libnet_name2addr4.patch patching file sshmitm.c patching file webmitm.c patching file webspy.c patching file arpspoof.c ** Applying patch 30_pntohl_shift.patch patching file decode.h ** Applying patch 31_sysconf_clocks.patch patching file sshow.c ** Applying patch 32_rpc_segfault.patch patching file rpc.c ** Applying patch 33_sshcrypto_DES.patch patching file sshcrypto.c ** Applying patch 34_fix-parallel-FTBFS.patch patching file Makefile.in ** Applying patch 35_Add_CPPFLAGS.patch patching file Makefile.in ** Applying patch 36_implicit_declarations.patch patching file filesnarf.c patching file nfs_prot.x patching file sshcrypto.c ** Applying patch dsniff-rpc.patch patching file Makefile.in Hunk #1 succeeded at 38 with fuzz 1 (offset 1 line). patching file configure.in Hunk #1 succeeded at 338 (offset 1 line). ** Applying patch dsniff-macof-size-calculation.patch patching file macof.c ** Applying patch dsniff-httppostfix.patch patching file decode_http.c Hunk #1 succeeded at 141 (offset 2 lines). 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:9: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.in:9: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:9: the top level configure.in:23: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:23: the top level configure.in:51: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.in:51: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.in:51: the top level configure.in:91: warning: The macro `AC_ERROR' is obsolete. configure.in:91: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:91: the top level configure.in:91: warning: The macro `AC_ERROR' is obsolete. configure.in:91: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:91: the top level configure.in:166: warning: The macro `AC_ERROR' is obsolete. configure.in:166: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:166: the top level configure.in:166: warning: The macro `AC_ERROR' is obsolete. configure.in:166: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:166: the top level configure.in:210: warning: The macro `AC_ERROR' is obsolete. configure.in:210: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:210: the top level configure.in:210: warning: The macro `AC_ERROR' is obsolete. configure.in:210: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:210: the top level configure.in:253: warning: The macro `AC_ERROR' is obsolete. configure.in:253: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:253: the top level configure.in:253: warning: The macro `AC_ERROR' is obsolete. configure.in:253: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:253: the top level configure.in:290: warning: The macro `AC_ERROR' is obsolete. configure.in:290: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2771: AC_EGREP_CPP is expanded from... ./lib/autoconf/general.m4:2789: AC_EGREP_HEADER is expanded from... configure.in:290: the top level configure.in:298: warning: The macro `AC_ERROR' is obsolete. configure.in:298: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:298: the top level configure.in:298: warning: The macro `AC_ERROR' is obsolete. configure.in:298: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:298: the top level configure.in:360: warning: AC_OUTPUT should be used without arguments. configure.in:360: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. autoreconf: configure.in: not using Automake autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' ==> Starting build()... checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes 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 err.h... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/queue.h... yes checking for unistd.h... (cached) yes checking for libgen.h... yes checking for net/if_tun.h... no checking for MIN and MAX in sys/param.h... 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 u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... no checking whether gcc needs -traditional... no checking for working memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for dn_expand in -lresolv... yes checking for __dn_expand in -lresolv... no checking for dirname... yes checking for strlcpy... no checking for strlcat... no checking for strsep... yes checking for MD5Update... no checking for warnx... yes checking for ether_ntoa... yes checking for Berkeley DB with 1.85 compatibility... yes checking for libpcap... yes checking for libnet... yes checking for libnids... yes checking whether libnids version is good... yes checking for OpenSSL... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for TIRPC... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/tirpc -I./missing -c ./arpspoof.c In file included from /usr/include/sys/types.h:25, from ./arpspoof.c:16: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ./arpspoof.c: In function ‘main’: ./arpspoof.c:274:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 274 | if (intf == NULL && (intf = pcap_lookupdev(pcap_ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from ./arpspoof.c:25: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/tirpc -I./missing -c ./arp.c In file included from /usr/include/sys/types.h:25, from ./arp.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/tirpc -I./missing -c ./missing/dummy.c gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/tirpc -I./missing -c ./missing/strlcpy.c In file included from /usr/include/sys/types.h:25, from ./missing/strlcpy.c:35: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/tirpc -I./missing -c ./missing/strlcat.c In file included from /usr/include/sys/types.h:25, from ./missing/strlcat.c:35: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/tirpc -I./missing -c ./missing/md5.c In file included from /usr/include/sys/types.h:25, from ./missing/md5.c:20: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ar -cr libmissing.a dummy.o strlcpy.o strlcat.o md5.o ranlib libmissing.a gcc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -o arpspoof arpspoof.o arp.o -lresolv -lnsl -L. -lmissing -ltirpc -L/usr/lib -lpcap -L/usr/lib -lnet gcc -march=rv64gc -mabi=lp64d -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -flto=auto -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include -I/usr/include/tirpc -I./missing -c ./dnsspoof.c In file included from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from ./dnsspoof.c:13: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from ./dnsspoof.c:29: ./pcaputil.h:14:9: error: conflicting types for ‘pcap_init’; have ‘pcap_t *(char *, char *, int)’ {aka ‘struct pcap *(char *, char *, int)’} 14 | pcap_t *pcap_init(char *intf, char *filter, int snaplen); | ^~~~~~~~~ In file included from /usr/include/pcap.h:43, from ./dnsspoof.c:27: /usr/include/pcap/pcap.h:386:17: note: previous declaration of ‘pcap_init’ with type ‘int(unsigned int, char *)’ 386 | PCAP_API int pcap_init(unsigned int, char *); | ^~~~~~~~~ ./dnsspoof.c: In function ‘main’: ./dnsspoof.c:300:9: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 300 | if (dev == NULL && (dev = pcap_lookupdev(buf)) == NULL) | ^~ /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ make: *** [Makefile:78: dnsspoof.o] Error 1 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix12/build receiving incremental file list dsniff-2.4b1-28-riscv64-build.log dsniff-2.4b1-28-riscv64-prepare.log sent 62 bytes received 4,086 bytes 1,659.20 bytes/sec total size is 20,008 speedup is 4.82