From nobody@FreeBSD.org  Mon Mar 16 04:16:04 2009
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 391CB106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Mar 2009 04:16:04 +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 281418FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Mar 2009 04:16:04 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2G4G3AA074144
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 16 Mar 2009 04:16:03 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n2G4G3x6074143;
	Mon, 16 Mar 2009 04:16:03 GMT
	(envelope-from nobody)
Message-Id: <200903160416.n2G4G3x6074143@www.freebsd.org>
Date: Mon, 16 Mar 2009 04:16:03 GMT
From: kevin <kevinxlinuz@163.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: hal build failed
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         132684
>Category:       ports
>Synopsis:       sysutils/hal build failed
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 16 04:20:03 UTC 2009
>Closed-Date:    Sun Mar 22 19:43:36 UTC 2009
>Last-Modified:  Sat May 30 23:20:01 UTC 2009
>Originator:     kevin
>Release:        8.0 current
>Organization:
163.org
>Environment:
FreeBSD kevin-laptop.people.163.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 15 21:11:36 CST 2009     root@kevin-laptop.people.163.org:/usr/obj/usr/src/sys/G8laptop  amd64
>Description:
hal-0.5.11_21 build failed.

>How-To-Repeat:
install or update hal 
>Fix:
--- work/hal-0.5.11/hald/freebsd/probing/probe-hiddev.c.orig    2009-03-16 12:10
+++ work/hal-0.5.11/hald/freebsd/probing/probe-hiddev.c 2009-03-16 12:10:25.3723
@@ -33,6 +33,7 @@
 #include <sys/ioctl.h>
 #include <dev/usb/usb.h>
 #include <dev/usb/usbhid.h>
+#include <dev/usb/usb_ioctl.h>
 #else
 #if __FreeBSD_version >= 800064
 #include <dev/usb/usbhid.h>

the patch fix the build problem

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Mar 16 05:24:10 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=132684 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun Mar 22 19:43:22 UTC 2009 
State-Changed-Why:  
hal is now believed to be fixed on -current 

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

From: "Dr. Hawkins" <hawk@eyry.org>
To: bug-followup@FreeBSD.org, kevinxlinuz@163.com
Cc:  
Subject: Re: ports/132684: sysutils/hal build failed
Date: Sat, 30 May 2009 09:39:08 -0700

 This patch has apparently escaped the system and needs to be recommitted.
 
 I couldn't build hal (and therefore xorg).  After hand-applying this
 patch, it built without a problem.
 
 I'm using CURRENT updated to a few minutes ago.
 
 -- 
 These opinions are mine.  Noone else may have them without paying my retainer.

From: bf <bf2006a@yahoo.com>
To: bug-followup@FreeBSD.org, kevin <kevinxlinuz@163.com>, marcus@FreeBSD.org
Cc:  
Subject: Re: ports/132684: sysutils/hal build failed
Date: Sat, 30 May 2009 14:47:59 -0700 (PDT)

 On -CURRENT amd64 r193074, sysutils/hal 0.5.11_25 fails with:
 
 ...
 
 creating hald-probe-volume
 gcc44 -DHAVE_CONFIG_H -I. -I../../..  -DPACKAGE_SYSCONF_DIR=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\" -I../../.. -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include   -I/usr/local/include -DHAVE_CK_0_3  -O2 -fno-strict-aliasing -pipe -Wstack-protector -fstack-protector -Wall -Wextra -march=athlon64 -Wchar-subscripts -Wmissing-declarations -Wnested -externs -Wpointer-arith -Wcast-align -Wsign-compare -MT probe-usb2-device.o -MD -MP -MF .deps/probe-usb2-device.Tpo -c -o probe-usb2-device.o probe-usb2-device.c
 probe-usb2-device.c: In function 'main':
 probe-usb2-device.c:79: error: storage size of 'di' isn't known
 probe-usb2-device.c:79: warning: unused variable 'di'
 gmake[5]: *** [probe-usb2-device.o] Error 1
 gmake[5]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/hald/freebsd/probing'
 gmake[4]: *** [all-recursive] Error 1
 gmake[4]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/hald/freebsd'
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/hald'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/sysutils/hal.
 *** Error code 1
 
 Stop in /usr/ports/sysutils/hal.
 
 
 Is this the same error that prompted this PR?
 
 Regards,
            b.
 
 
       

From: Joe Marcus Clarke <marcus@FreeBSD.org>
To: bf <bf2006a@yahoo.com>
Cc: bug-followup@FreeBSD.org, kevin <kevinxlinuz@163.com>
Subject: Re: ports/132684: sysutils/hal build failed
Date: Sat, 30 May 2009 18:49:10 -0400

 --=-91musOLIHV5J5JhT4eBD
 Content-Type: text/plain
 Content-Transfer-Encoding: quoted-printable
 
 On Sat, 2009-05-30 at 14:47 -0700, bf wrote:
 > On -CURRENT amd64 r193074, sysutils/hal 0.5.11_25 fails with:
 
 Not if your ports tree is up-to-date.
 
 Joe
 
 >=20
 > ...
 >=20
 > creating hald-probe-volume
 > gcc44 -DHAVE_CONFIG_H -I. -I../../..  -DPACKAGE_SYSCONF_DIR=3D\""/usr/loc=
 al/etc"\" -DPACKAGE_DATA_DIR=3D\""/usr/local/share"\" -DPACKAGE_BIN_DIR=3D\=
 ""/usr/local/bin"\" -DPACKAGE_LOCALE_DIR=3D\""/usr/local/share/locale"\" -D=
 PACKAGE_LOCALSTATEDIR=3D\""/var"\" -I../../.. -I/usr/local/include/dbus-1.0=
  -I/usr/local/include/dbus-1.0/include   -I/usr/local/include -DHAVE_CK_0_3=
   -O2 -fno-strict-aliasing -pipe -Wstack-protector -fstack-protector -Wall =
 -Wextra -march=3Dathlon64 -Wchar-subscripts -Wmissing-declarations -Wnested=
 -externs -Wpointer-arith -Wcast-align -Wsign-compare -MT probe-usb2-device.=
 o -MD -MP -MF .deps/probe-usb2-device.Tpo -c -o probe-usb2-device.o probe-u=
 sb2-device.c
 > probe-usb2-device.c: In function 'main':
 > probe-usb2-device.c:79: error: storage size of 'di' isn't known
 > probe-usb2-device.c:79: warning: unused variable 'di'
 > gmake[5]: *** [probe-usb2-device.o] Error 1
 > gmake[5]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/=
 hald/freebsd/probing'
 > gmake[4]: *** [all-recursive] Error 1
 > gmake[4]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/=
 hald/freebsd'
 > gmake[3]: *** [all-recursive] Error 1
 > gmake[3]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/=
 hald'
 > gmake[2]: *** [all] Error 2
 > gmake[2]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11/=
 hald'
 > gmake[1]: *** [all-recursive] Error 1
 > gmake[1]: Leaving directory `/tmp/usr/ports/sysutils/hal/work/hal-0.5.11'
 > gmake: *** [all] Error 2
 > *** Error code 1
 >=20
 > Stop in /usr/ports/sysutils/hal.
 > *** Error code 1
 >=20
 > Stop in /usr/ports/sysutils/hal.
 >=20
 >=20
 > Is this the same error that prompted this PR?
 >=20
 > Regards,
 >            b.
 >=20
 >=20
 >      =20
 >=20
 --=20
 Joe Marcus Clarke
 FreeBSD GNOME Team      ::      gnome@FreeBSD.org
 FreeNode / #freebsd-gnome
 http://www.FreeBSD.org/gnome
 
 --=-91musOLIHV5J5JhT4eBD
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: This is a digitally signed message part
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.9 (FreeBSD)
 
 iEYEABECAAYFAkoht+QACgkQb2iPiv4Uz4ehjACfaAYUxJb/R97v/58Qdqf7trqr
 WQUAnRSizNUMpiud5e+D/DqJ64kJsWdo
 =J782
 -----END PGP SIGNATURE-----
 
 --=-91musOLIHV5J5JhT4eBD--
 

From: bf <bf2006a@yahoo.com>
To: Joe Marcus Clarke <marcus@FreeBSD.org>
Cc: bug-followup@FreeBSD.org, kevin <kevinxlinuz@163.com>
Subject: Re: ports/132684: sysutils/hal build failed
Date: Sat, 30 May 2009 16:19:22 -0700 (PDT)

 --- On Sat, 5/30/09, Joe Marcus Clarke <marcus@FreeBSD.org> wrote:
 
 > From: Joe Marcus Clarke <marcus@FreeBSD.org>
 > Subject: Re: ports/132684: sysutils/hal build failed
 > To: "bf" <bf2006a@yahoo.com>
 > Cc: bug-followup@FreeBSD.org, "kevin" <kevinxlinuz@163.com>
 > Date: Saturday, May 30, 2009, 6:49 PM
 > On Sat, 2009-05-30 at 14:47 -0700, bf
 > wrote:
 > > On -CURRENT amd64 r193074, sysutils/hal 0.5.11_25
 > fails with:
 > 
 > Not if your ports tree is up-to-date.
 > 
 > Joe
 
 It is, but I see the problem: my kernel is at r193074, but I'm still 
 using a slightly earlier world with __FreeBSD_version 800091, so your
 new changes aren't triggered.  I'll rebuild and try again.  Thanks for
 the response.
 
 Regards,
          b.
 
 
       
>Unformatted:
