From nobody@FreeBSD.org  Wed Nov  7 18:28:41 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 45C2116A479
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Nov 2007 18:28:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 36F6E13C4B3
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Nov 2007 18:28:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id lA7ISOn5040067
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Nov 2007 18:28:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id lA7ISO3k040066;
	Wed, 7 Nov 2007 18:28:24 GMT
	(envelope-from nobody)
Message-Id: <200711071828.lA7ISO3k040066@www.freebsd.org>
Date: Wed, 7 Nov 2007 18:28:24 GMT
From: Denis Barov <dindin@dindin.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: net-mgmt/bsd-airtools broken not because of gcc4
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117890
>Category:       ports
>Synopsis:       net-mgmt/bsd-airtools broken not because of gcc4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    linimon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 07 18:30:00 UTC 2007
>Closed-Date:    Mon Nov 12 18:06:41 UTC 2007
>Last-Modified:  Mon Nov 12 18:10:00 UTC 2007
>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:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Nov 12 18:05:27 UTC 2007 
State-Changed-Why:  
I've adjusted the "don't build" instruction to be IGNORE as of the 
approximation OSVERSION that the ioctls disappeared.  Unless someone 
wants to update the source to this port, it's probably just going to 
stay like this. 


Responsible-Changed-From-To: freebsd-ports-bugs->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Nov 12 18:05:27 UTC 2007 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=117890 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/117890: commit references a PR
Date: Mon, 12 Nov 2007 18:06:30 +0000 (UTC)

 linimon     2007-11-12 18:05:15 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/bsd-airtools Makefile 
   Log:
   Correct the BROKEN line; the commit to if_wavelan_ieee.h of 20070711
   by thompsa removed some ioctls that this port depended on.  Therefore,
   IGNORE is more appropriate.
   
   PR:             ports/117890
   Submitted by:   Denis Barov <dindin at dindin dot ru>
   Approved by:    portmgr (self)
   
   Revision  Changes    Path
   1.9       +2 -6      ports/net-mgmt/bsd-airtools/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
