ports/103988: net/ntraceroute doesn't work on 64-bit systems

Bill Fenner fenner at research.att.com
Wed Oct 4 18:50:25 UTC 2006


>Number:         103988
>Category:       ports
>Synopsis:       net/ntraceroute doesn't work on 64-bit systems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 04 18:50:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fenner
>Release:        FreeBSD 6.1-RELEASE sparc64
>Organization:
AT&T Labs -- Research
>Environment:
System: FreeBSD possum.research.att.com 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 15:56:53 UTC 2006 root at s-dallas.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC sparc64


	
>Description:
	

"make install" in /usr/ports/net/ntraceroute.
Find that the program that gets installed sends malformed
packets, so when it's checking for properly formed replies
it decides that it didn't get one.

>How-To-Repeat:
	

sparc64% cd /usr/ports/net/ntraceroute
sparc64% sudo make install
sparc64% ntraceroute www.freebsd.org

>Fix:

	

Change the ntraceroute port to copy the source to WRKSRC, so
it can apply this patch.


--- /usr/ports/distfiles/ntraceroute/traceroute_640.c	Sun Nov  6 15:43:00 2005
+++ ./traceroute_640.c	Wed Oct  4 11:07:20 2006
@@ -790,7 +790,7 @@
               struct icmp icmp_probe;
         } ip_payload;
 #endif /* V6.3.0 */
-};
+} __attribute__((packed));
 
 #ifdef SPRAY
 /*
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list