Package: banshee
Version: 1.5.3-1
Severity: normal
thanks

Hi,

beginning with version 1.5.3-1 banshee fails to build[1] on kfreebsd
which prevented it from migrating to testing[2] for more than two months
now[3].

The cause of this is that banshee build-depends[1] on libkarma which
isn't available on kfreebsd. Now why is libkarma not available?

If you look at libkarma's buildd page[4] you'll see that it fails
because of a missing symbol[5]:

   [...]
   karma_helper.c: In function 'main': 
   karma_helper.c:255: warning: implicit declaration of function 
'usb_detach_kernel_driver_np'
   karma_helper.c:138: warning: 'cmd' may be used uninitialized in this function
   /tmp/ccwDP2P1.o: In function `main':
   
/build/buildd-libkarma_0.0.6-4.3-kfreebsd-i386-qFtliR/libkarma-0.0.6/tools/karma_helper.c:255:
 undefined reference to `usb_detach_kernel_driver_np'
   collect2: ld returned 1 exit status
   make[2]: *** [karma_helper] Error 1
   make[2]: Leaving directory 
`/build/buildd-libkarma_0.0.6-4.3-kfreebsd-i386-qFtliR/libkarma-0.0.6/tools'
   make[1]: *** [tools] Error 2
   make[1]: Leaving directory 
`/build/buildd-libkarma_0.0.6-4.3-kfreebsd-i386-qFtliR/libkarma-0.0.6'
   make: *** [build-arch] Error 2
   dpkg-buildpackage: error: debian/rules build gave error exit status 2
   [...]

Which is only natural if you look at libusb-dev's /usr/include/usb.h on
kfreebsd[6] which contains this

   [...]
   #if 0
   #define LIBUSB_HAS_GET_DRIVER_NP 1
   int usb_get_driver_np(usb_dev_handle *dev, int interface, char *name,
   unsigned int namelen);
   #define LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP 1
   int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface);
   #endif
   [...]

in contrast to (for example) i386[7] which contains this:

   [...]
   #if 1
   #define LIBUSB_HAS_GET_DRIVER_NP 1
   int usb_get_driver_np(usb_dev_handle *dev, int interface, char *name,
   unsigned int namelen);
   #define LIBUSB_HAS_DETACH_KERNEL_DRIVER_NP 1
   int usb_detach_kernel_driver_np(usb_dev_handle *dev, int interface);
   #endif
   [...]

So usb_get_driver_np() is simply deactivated on kfreebsd.

Since banshee can't be built successfully under these cirumstances I
suggest to take one of these alternatives:

* manually force banshee to migrate to testing
* stop providing banshee for kfreebsd until issue is fixed
* patch banshee on kfreebsd to not use libkarma
  (no support for Rio Karma mp3 players)

Regards

Alexander Kurtz

[1] http://buildd.debian.org/status/package.php?p=banshee
[2] http://release.debian.org/migration/testing.pl?package=banshee
[3] 1.5.3-1 was uploaded to unstable on Thu, 28 Jan 2010 23:52:53 +0800
[4] http://buildd.debian.org/status/package.php?p=libkarma
[5]
http://buildd.debian.org/fetch.cgi?pkg=libkarma&arch=kfreebsd-i386&ver=0.0.6-4.3&stamp=1264768200&file=log&as=raw
[6] http://packages.debian.org/sid/i386/libusb-dev/download
[7] http://packages.debian.org/sid/kfreebsd-i386/libusb-dev/download 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to