Date: Mon, 18 Aug 2003 15:10:20 -0400 (EDT) From: Marc Unangst <mju@panasas.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/55706: x11/gnomeapplets2 port doesn't build on freebsd 4.6.2 Message-ID: <200308181910.h7IJAKdI058363@showcase.panasas.com> Resent-Message-ID: <200308182000.h7IK0Ppq095887@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55706 >Category: ports >Synopsis: x11/gnomeapplets2 port doesn't build on freebsd 4.6.2 >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Aug 18 13:00:25 PDT 2003 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308181910.h7IJAKdI058363>