[Pkg-utopia-maintainers] Bug#561076: hal: FTBFS on kfreebsd-* with 8.x kernel headers

Michael Biebl biebl at debian.org
Mon Dec 14 13:46:28 UTC 2009


Petr Salinger wrote:
> Package: hal
> Version: 0.5.13-6
> Severity: important
> Tags: patch
> User: debian-bsd at lists.debian.org
> Usertags: kfreebsd
> 
> 
> Hi,
> 
> the current version fails to build on GNU/kFreeBSD with 8.x kernel 
> headers.
> 
> The FreeBSD 8.0 kernel introduces a new USB stack with a totally
> different API. The upstream used to have during 8.0 development
> old USB stack in <legacy/dev/usb/usb.h>, we decided to provide it too.
> 
> To solve current FTBFS for 0.5.13 series please just use patch bellow.

Hi Petr,

I tried this patch with 0.5.13 but I get
make[6]: Entering directory `/tmp/hal-0.5.13/hald/freebsd/probing'
cc -DHAVE_CONFIG_H -I. -I../../..  -DPACKAGE_SYSCONF_DIR=\""/etc"\"
-DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_BIN_DIR=\""/usr/bin"\"
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/var"\"
-I../../.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include     -g -Wall -O2
-Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -c probe-hiddev.c
probe-hiddev.c:32:32: error: legacy/dev/usb/usb.h: No such file or directory
probe-hiddev.c: In function 'main':
probe-hiddev.c:70: error: 'USB_GET_REPORT_ID' undeclared (first use in this
function)
probe-hiddev.c:70: error: (Each undeclared identifier is reported only once
probe-hiddev.c:70: error: for each function it appears in.)
make[6]: *** [probe-hiddev.o] Error 1


Do I need to adjust the build dependencies, too?

Regarding 0.5.14 (which I plan to upload soon): Do you want me to enable the new
usb2 backend (given we get it to compile) or the old usb backend?

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20091214/75752f78/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list