Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2007 18:28:24 GMT
From:      Denis Barov <dindin@dindin.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/117890: net-mgmt/bsd-airtools broken not because of gcc4
Message-ID:  <200711071828.lA7ISO3k040066@www.freebsd.org>
Resent-Message-ID: <200711071830.lA7IU1Eu059314@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117890
>Category:       ports
>Synopsis:       net-mgmt/bsd-airtools broken not because of gcc4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 07 18:30:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Denis Barov
>Release:        FreeBSD 5.* 6.* 7.*
>Organization:
Yandex
>Environment:
FreeBSD sepulcator.local.yandex.ru 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Tue Nov  6 10:08:06 MSK 2007     root@sepulcator.local.yandex.ru:/usr/obj/usr/RELENG_7/src/sys/LIFEORB  i386
>Description:
I found, that port net-mgmt/bsd-airtools marked as broken:

BROKEN=          Does not compile with GCC 4.2

but, it's not really so.

It's broken after Wed Jul 11 21:25:48 2007 UTC commit by
thompsa@freebsd.org, when some ioctls was deleted from kernel.

For example, after patching /usr/include/dev/wi/if_wavelan_ieee.h
bsd-airtools compiled well:

--- /usr/include/dev/wi/if_wavelan_ieee.h       2007-11-07
19:36:15.000000000 +0300
+++ /usr/src/sys/dev/wi/if_wavelan_ieee.h       2007-07-12
01:25:48.000000000 +0400
@@ -59,7 +59,7 @@
  */
 #define WI_MAX_DATALEN 512

-#if 1
+#if 0
 struct wi_req {
        u_int16_t       wi_len;
        u_int16_t       wi_type;


But, still missing some ioctls. dstumbler said
error: unable to ioctl device socket: Invalid argument

>How-To-Repeat:
# cd /usr/ports/net-mgm/bsd-airtools; make install
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711071828.lA7ISO3k040066>