From mju@showcase.panasas.com  Mon Aug 18 12:54:40 2003
Return-Path: <mju@showcase.panasas.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7CC4237B48B
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Aug 2003 12:54:37 -0700 (PDT)
Received: from showcase.panasas.com (gw2.panasas.com [65.194.124.178])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 74E4844189
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Aug 2003 12:52:10 -0700 (PDT)
	(envelope-from mju@showcase.panasas.com)
Received: from showcase.panasas.com (localhost [127.0.0.1])
	by showcase.panasas.com (8.12.3/8.12.3) with ESMTP id h7IJNJT5010771
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 18 Aug 2003 15:23:20 -0400 (EDT)
	(envelope-from mju@showcase.panasas.com)
Received: (from mju@localhost)
	by showcase.panasas.com (8.12.3/8.12.3/Submit) id h7IJAKdI058363;
	Mon, 18 Aug 2003 15:10:20 -0400 (EDT)
Message-Id: <200308181910.h7IJAKdI058363@showcase.panasas.com>
Date: Mon, 18 Aug 2003 15:10:20 -0400 (EDT)
From: Marc Unangst <mju@panasas.com>
Reply-To: Marc Unangst <mju@panasas.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: x11/gnomeapplets2 port doesn't build on freebsd 4.6.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55706
>Category:       ports
>Synopsis:       x11/gnomeapplets2 port doesn't build on freebsd 4.6.2
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 18 13:00:25 PDT 2003
>Closed-Date:    Tue Aug 19 22:36:21 PDT 2003
>Last-Modified:  Tue Aug 19 22:36:21 PDT 2003
>Originator:     Marc Unangst
>Release:        FreeBSD 4.6.2-RELEASE-p5 i386
>Organization:
Panasas, Inc.
>Environment:
System: FreeBSD showcase 4.6.2-RELEASE-p5 FreeBSD 4.6.2-RELEASE-p5 #0: Mon Dec 2 17:30:44 EST 2002 root@yakadake:/usr/obj/usr/src/sys/DESKTOP i386


>Description:
	The x11/gnomeapplets2 port fails to build on a system with a 4.6.2
	kernel (possibly other versions as well) with this error:

gmake[2]: Entering directory `/usr0/ports/build/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.2/wireless'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DORBIT2=1 -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libart-2.0 -I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/linc-1.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/X11R6/include/panel-2.0 -I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libbonoboui-2.0 -I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include   -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/X11R6/include/libglade-2.0 -I!
 /usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/X11R6/include -I/usr/local/include/freetype2   -DICONDIR=\""/usr/X11R6/share/gnome/pixmaps"\" -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\" -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED   -I/usr/local/include  -O -pipe -march=pentiumpro -c wireless-applet.c
wireless-applet.c:39: dev/wi/if_wavelan_ieee.h: No such file or directory
wireless-applet.c:112: warning: `struct wi_req' declared inside parameter list
wireless-applet.c:112: warning: its scope is only this definition or declaration, which is probably not what you want.
wireless-applet.c:417: warning: `struct wi_req' declared inside parameter list
wireless-applet.c:418: conflicting types for `wi_getval'
wireless-applet.c:112: previous declaration of `wi_getval'
wireless-applet.c: In function `wi_getval':
wireless-applet.c:438: `SIOCGWAVELAN' undeclared (first use in this function)
wireless-applet.c:438: (Each undeclared identifier is reported only once
wireless-applet.c:438: for each function it appears in.)
wireless-applet.c: In function `get_wi_data':
wireless-applet.c:455: storage size of `wreq' isn't known
wireless-applet.c:460: `WI_MAX_DATALEN' undeclared (first use in this function)
wireless-applet.c:461: `WI_RID_COMMS_QUALITY' undeclared (first use in this function)
gmake[2]: *** [wireless-applet.o] Error 1
gmake[2]: Leaving directory `/usr0/ports/build/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.2/wireless'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr0/ports/build/usr/ports/x11/gnomeapplets2/work/gnome-applets-2.2.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/x11/gnomeapplets2.
*** Error code 1

Stop in /usr/ports/x11/gnome2.

	This appears to be because there is no <dev/wi/if_wavelan_ieee.h> file on
	this system.

>How-To-Repeat:
	cd /usr/ports/x11/gnomeapplets2 && make install

	(on a 4.6.2 system)
>Fix:
	It looks like the problem was introduced in r1.5 of
	ports/x11/gnomeapplets2/files/patch-wireless_wireless-applet.c,
	when the "wi" driver support was added.  I reverted to r1.4
	of this file and the port builds fine on my 4.6.2 system.
	(Of course, I don't have "wi" driver support in the gnome
	wireless applet that way, but this machine doesn't have a wireless
	card so it doesn't really matter.)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: bland 
Responsible-Changed-When: Mon Aug 18 23:37:46 PDT 2003 
Responsible-Changed-Why:  
Over to maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55706 
State-Changed-From-To: open->closed 
State-Changed-By: bland 
State-Changed-When: Tue Aug 19 22:35:28 PDT 2003 
State-Changed-Why:  
This must be fixed now. Thanks for report! 

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