[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Updating libgusb in jessie-backports



Hello,

>This certainly makes sense to include in the package, I'm adding it...


thanks!

>Why was it needed? Upstream specifies glib-2.0 >= 2.38.0 in
>configure.ac, so we match that...

http://debomatic-amd64.debian.net/distribution#jessie-backports/libgusb/0.2.9-1~bpo8+1/buildlog

make[1]: Entering directory '/<<PKGBUILDDIR>>'
make  all-recursive
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making all in gusb
make[3]: Entering directory '/<<PKGBUILDDIR>>/gusb'
CC       libgusb_la-gusb-context.lo
In file included from ../gusb/gusb-device.h:29:0,
from gusb-context.h:27,
from gusb-context.c:33:
../gusb/gusb-interface.h:30:73: error: expected ')' before 'GObject'
G_DECLARE_FINAL_TYPE (GUsbInterface, g_usb_interface, G_USB, INTERFACE, GObject)
^
../gusb/gusb-interface.h:33:36: error: unknown type name 'GUsbInterface'
guint8   g_usb_interface_get_kind (GUsbInterface *interface);
^
../gusb/gusb-interface.h:34:38: error: unknown type name 'GUsbInterface'
guint8   g_usb_interface_get_number (GUsbInterface *interface);
^
../gusb/gusb-interface.h:35:41: error: unknown type name 'GUsbInterface'
guint8   g_usb_interface_get_alternate (GUsbInterface *interface);
^
../gusb/gusb-interface.h:36:37: error: unknown type name 'GUsbInterface'
guint8   g_usb_interface_get_class (GUsbInterface *interface);
^
../gusb/gusb-interface.h:37:40: error: unknown type name 'GUsbInterface'
guint8   g_usb_interface_get_subclass (GUsbInterface *interface);
^
../gusb/gusb-interface.h:38:40: error: unknown type name 'GUsbInterface'
guint8   g_usb_interface_get_protocol (GUsbInterface *interface);
^
../gusb/gusb-interface.h:39:37: error: unknown type name 'GUsbInterface'
guint8   g_usb_interface_get_index (GUsbInterface *interface);
^
../gusb/gusb-interface.h:40:37: error: unknown type name 'GUsbInterface'
GBytes  *g_usb_interface_get_extra (GUsbInterface *interface);
^
In file included from gusb-context.h:27:0,
from gusb-context.c:33:
../gusb/gusb-device.h:180:1: error: unknown type name 'GUsbInterface'
GUsbInterface  *g_usb_device_get_interface (GUsbDevice *device,
^
Makefile:785: recipe for target 'libgusb_la-gusb-context.lo' failed
make[3]: *** [libgusb_la-gusb-context.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/gusb'
Makefile:450: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
Makefile:381: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:24: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 2017-06-07T15:25:05Z


probably upstream forgot to update the minimum version bump.
(I used the version in backports as minimum version, but maybe
the correct version is between 2.42.1 and 2.48).

don't know, sorry :)
(and I don't care too much to understand when the API changed, since 2.48 is already
in backports)

thanks for the fix!

G.


Reply to: