Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Michael Biebl <biebl <at> debian.org>
Subject: Bug#561076: hal: FTBFS on kfreebsd-* with 8.x kernel headers
Newsgroups: gmane.linux.debian.devel.pkg-utopia
Date: Monday 14th December 2009 13:46:28 UTC (over 6 years ago)
Petr Salinger wrote:
> Package: hal
> Version: 0.5.13-6
> Severity: important
> Tags: patch
> User: [email protected]
> 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 , 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?
 
CD: 3ms