Issue is due to -DBROKEN_BSD flag in the Makefile. root@freebsd-buildserver-12:/usr/ports/net/xprobe/work/xprobe2-0.3/libs-external/USI++/src # diff Makefile Makefile.orig 5c5 < CFLAGS=-DIMMEDIATE -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/pcap -I. -Wall --- > CFLAGS=-DBROKEN_BSD -DIMMEDIATE -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/pcap -I. -Wall Compiling without works fine. Tested on 12-Release.
A commit references this bug: Author: sunpoet Date: Sat Mar 2 18:01:16 UTC 2019 New revision: 494444 URL: https://svnweb.freebsd.org/changeset/ports/494444 Log: Fix runtime error: TX_IP::sendpack::sendto: Invalid argument - Bump PORTREVISION for package change PR: 235614 Submitted by: Arun Pereira <arunpereira@gmail.com> Changes: head/net/xprobe/Makefile
Committed. Thanks!