ports/117890: net-mgmt/bsd-airtools broken not because of gcc4

Denis Barov dindin at dindin.ru
Wed Nov 7 18:30:01 UTC 2007


>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 at 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 at 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:



More information about the freebsd-ports-bugs mailing list