Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2015 23:03:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198864] net/etrace fix MASTER_SITES, update 1.1 ==> 1.2
Message-ID:  <bug-198864-13-tWsgL7589F@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198864-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198864-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198864

Jason Unovitch <jason.unovitch@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason.unovitch@gmail.com

--- Comment #2 from Jason Unovitch <jason.unovitch@gmail.com> ---
Created attachment 159507
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159507&action=edit
etrace-1.2.patch

Chris,
Patch attached to resolve some issues I came across.

1.  PORTREVISION bump was not needed since PORTVERSION got bumped from 1.1 to
1.2.

2.  Change BUILD_DEPENDS to LIB_DEPENDS.  As is the original patch resulted in
a busted install that didn't bring it's dependencies along with it.
# ldd /usr/local/bin/etrace
/usr/local/bin/etrace:
        libpcap.so.1 => not found (0)
        libdnet.so.1 => not found (0)
        libc.so.7 => /lib/libc.so.7 (0x800827000)
# etrace
Shared object "libpcap.so.1" not found, required by "etrace"


Lastly, after the fixing the build/install issues the examples in etrace(8)
don't work at run time.  Can you help clear up what I may be missing?

jason@Silverstone:/usr/local/poudriere/data/packages/110amd64-default/All %
sudo etrace www.example.com                               
Starting icmp/Echo trace to 93.184.216.34
etrace: ip_send() failed: Invalid argument
jason@Silverstone:/usr/local/poudriere/data/packages/110amd64-default/All %
sudo etrace -T 80 www.example.com
Starting tcp/80 trace to 93.184.216.34
etrace: ip_send() failed: Invalid argument
jason@Silverstone:/usr/local/poudriere/data/packages/110amd64-default/All %
sudo etrace --udp 53 --data-file @dns 10.100.82.1
Starting udp/53 trace to 10.100.82.1
etrace: ip_send() failed: Invalid argument

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198864-13-tWsgL7589F>