From roberto@eurocontrol.fr  Thu Jun 15 14:31:05 2000
Return-Path: <roberto@eurocontrol.fr>
Received: from matrix.eurocontrol.fr (matrix.eurocontrol.fr [147.196.254.254])
	by hub.freebsd.org (Postfix) with ESMTP id 77BAD37B543
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jun 2000 14:31:03 -0700 (PDT)
	(envelope-from roberto@eurocontrol.fr)
Received: from caerdonn.eurocontrol.fr (caerdonn.eurocontrol.fr [147.196.5.62])
	by matrix.eurocontrol.fr (Postfix) with ESMTP id 269A625D2
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Jun 2000 23:31:02 +0200 (CEST)
	(envelope-from roberto@caerdonn.eurocontrol.fr)
Received: by caerdonn.eurocontrol.fr (Postfix, from userid 1193)
	id 7FC854E5B; Thu, 15 Jun 2000 23:31:01 +0200 (CEST)
Message-Id: <20000615213101.7FC854E5B@caerdonn.eurocontrol.fr>
Date: Thu, 15 Jun 2000 23:31:01 +0200 (CEST)
From: roberto@eurocontrol.fr
Sender: roberto@eurocontrol.fr
Reply-To: roberto@eurocontrol.fr
To: FreeBSD-gnats-submit@freebsd.org
Subject: irc/irssi 0.7.91 IPv6 support is broken
X-Send-Pr-Version: 3.2

>Number:         19313
>Category:       ports
>Synopsis:       irc/irssi 0.7.91 IPv6 support is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 15 14:40:00 PDT 2000
>Closed-Date:    Tue Jun 27 12:10:06 PDT 2000
>Last-Modified:  Tue Jun 27 12:11:38 PDT 2000
>Originator:     Ollivier Robert
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Usenet Canal Historique
>Environment:

FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT FreeBSD 5.0-CURRENT #31: Fri May 26 16:28:40 CEST 2000     roberto@caerdonn.eurocontrol.fr:/src/src/sys/compile/CAERDONN  i386

Should be relevant on 4.x also since IPv6 support is in.

>Description:

    While compiling the port, gcc barfs about unknown structures:

cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include/glib12
-DSYSCONFDIR=\"/u
sr/local/etc\" -I../../src -I../../src/core -I/usr/local/include -O -pipe
-Wall -c network.c  -fPIC -DPIC -o .libs/network.lo
In file included from /usr/local/include/netdb.h:64,
                 from net-internal.h:5,
                 from network.c:23:
/usr/include/sys/param.h:205: warning: `MIN' redefined
/usr/local/include/glib12/glib.h:141: warning: this is the location of the
previous definition
/usr/include/sys/param.h:206: warning: `MAX' redefined
/usr/local/include/glib12/glib.h:138: warning: this is the location of the
previous definition
In file included from network.h:5,
                 from network.c:22:
/usr/include/sys/socket.h:48: warning: empty declaration
network.c: In function `net_getsockname':
network.c:298: warning: passing arg 2 of `getsockname' from incompatible
pointer type
network.c: In function `net_gethostbyname':
network.c:316: storage size of `req' isn't known
network.c:317: `NI_MAXHOST' undeclared (first use in this function)
network.c:317: (Each undeclared identifier is reported only once
network.c:317: for each function it appears in.)
network.c:327: sizeof applied to an incomplete type
network.c:331: warning: implicit declaration of function `getaddrinfo'
network.c:335: warning: implicit declaration of function `getnameinfo'
network.c:335: dereferencing pointer to incomplete type
network.c:335: dereferencing pointer to incomplete type
network.c:335: `NI_NUMERICHOST' undeclared (first use in this function)
network.c:338: dereferencing pointer to incomplete type
network.c:340: warning: implicit declaration of function `freeaddrinfo'
network.c:317: warning: unused variable `hbuf'
network.c:316: warning: unused variable `req'
network.c:315: warning: `so' might be used uninitialized in this function
network.c: In function `net_gethostbyaddr':
network.c:357: storage size of `req' isn't known
network.c:358: `NI_MAXHOST' undeclared (first use in this function)
network.c:372: sizeof applied to an incomplete type
network.c:380: dereferencing pointer to incomplete type
network.c:380: dereferencing pointer to incomplete type
network.c:358: warning: unused variable `hbuf'
network.c:357: warning: unused variable `req'
network.c: In function `net_gethosterror':
network.c:468: warning: implicit declaration of function `gai_strerror'
network.c:468: warning: return makes pointer from integer without a cast
gmake[3]: *** [network.lo] Error 1
gmake[3]: Leaving directory
`/src/ports/irc/irssi/work/irssi-0.7.91/src/core'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/src/ports/irc/irssi/work/irssi-0.7.91/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/src/ports/irc/irssi/work/irssi-0.7.91'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /src/ports/irc/irssi.
*** Error code 1


>How-To-Repeat:

	cd /usr/ports/irc/irssi
    make

>Fix:




>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->jim 
Responsible-Changed-By: alex 
Responsible-Changed-When: Tue Jun 27 03:58:55 PDT 2000 
Responsible-Changed-Why:  
Jim's port 
However, I can't reproduce the problem, it builds fine on 
FreeBSD cichlids.cichlids.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Jun 14 22:25:49 CEST 2000     alex@cichlids.cichlids.com:/usr/src/sys/compile/cichlids  i386 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19313 
State-Changed-From-To: open->closed 
State-Changed-By: jim 
State-Changed-When: Tue Jun 27 12:10:06 PDT 2000 
State-Changed-Why:  
I'm not sure why you're seeing those results, but I can't replicate it 
here (on either -CURRENT or -STABLE), so I'm closing this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19313 
>Unformatted:
