Bug 235614 - net/xprobe: fails on FreeBSD 11+ with error: TX_IP::sendpack::sendto: Invalid argument
Summary: net/xprobe: fails on FreeBSD 11+ with error: TX_IP::sendpack::sendto: Invalid...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
Depends on:
Reported: 2019-02-09 00:00 UTC by Arun Pereira
Modified: 2019-03-02 18:04 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Note You need to log in before you can comment on or make changes to this bug.
Description Arun Pereira 2019-02-09 00:00:40 UTC
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 
< 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.
Comment 1 commit-hook freebsd_committer 2019-03-02 18:02:09 UTC
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

  Fix runtime error: TX_IP::sendpack::sendto: Invalid argument

  - Bump PORTREVISION for package change

  PR:		235614
  Submitted by:	Arun Pereira <arunpereira@gmail.com>

Comment 2 Po-Chuan Hsieh freebsd_committer 2019-03-02 18:04:53 UTC
Committed. Thanks!