Your message dated Sat, 24 Jun 2017 21:34:55 +0000
with message-id <e1doshj-0003wd...@fasolo.debian.org>
and subject line Bug#865026: fixed in libusb-1.0 2:1.0.21-2
has caused the Debian Bug report #865026,
regarding libusb.h: __linux usage makes ippusbxd FTBFS on ppc
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
865026: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=865026
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libusb-1.0-0-dev
Version: 2:1.0.21-1
Severity: serious
Tags: patch buster sid
Control: affects -1 src:ippusbxd
https://buildd.debian.org/status/fetch.php?pkg=ippusbxd&arch=ppc64el&ver=1.30-2&stamp=1497806137&raw=0
...
[ 50%] Building C object CMakeFiles/ippusbxd.dir/usb.c.o
/usr/bin/cc -I/usr/include/libusb-1.0 -g -O2
-fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -o2 -g -std=c99 -Wall
-Wextra -pedantic -pedantic-errors -o CMakeFiles/ippusbxd.dir/usb.c.o -c
/«PKGBUILDDIR»/src/usb.c
In file included from /«PKGBUILDDIR»/src/usb.c:23:0:
/usr/include/libusb-1.0/libusb.h:1815:67: warning: 'struct timeval' declared
inside parameter list will not be visible outside of this definition or
declaration
int LIBUSB_CALL libusb_wait_for_event(libusb_context *ctx, struct timeval *tv);
^~~~~~~
/usr/include/libusb-1.0/libusb.h:1818:9: warning: 'struct timeval' declared
inside parameter list will not be visible outside of this definition or
declaration
struct timeval *tv);
^~~~~~~
/usr/include/libusb-1.0/libusb.h:1820:9: warning: 'struct timeval' declared
inside parameter list will not be visible outside of this definition or
declaration
struct timeval *tv, int *completed);
^~~~~~~
/usr/include/libusb-1.0/libusb.h:1824:9: warning: 'struct timeval' declared
inside parameter list will not be visible outside of this definition or
declaration
struct timeval *tv);
^~~~~~~
/usr/include/libusb-1.0/libusb.h:1827:9: warning: 'struct timeval' declared
inside parameter list will not be visible outside of this definition or
declaration
struct timeval *tv);
^~~~~~~
/«PKGBUILDDIR»/src/usb.c: In function 'usb_pump_events':
/«PKGBUILDDIR»/src/usb.c:519:50: error: passing argument 2 of
'libusb_handle_events_timeout_completed' from incompatible pointer type
[-Wincompatible-pointer-types]
libusb_handle_events_timeout_completed(NULL, &tv, NULL);
^
In file included from /«PKGBUILDDIR»/src/usb.c:23:0:
/usr/include/libusb-1.0/libusb.h:1819:17: note: expected 'struct timeval *' but
argument is of type 'struct timeval *'
int LIBUSB_CALL libusb_handle_events_timeout_completed(libusb_context *ctx,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMakeFiles/ippusbxd.dir/build.make:134: recipe for target
'CMakeFiles/ippusbxd.dir/usb.c.o' failed
make[4]: *** [CMakeFiles/ippusbxd.dir/usb.c.o] Error 1
__linux is not defined on ppc with -std=c99, the attached patch uses
__linux__ instead for the required #include <sys/time.h>
Description: libusb.h: use __linux__ instead of __linux
The check was added since sys/time.h is not available on windows,
but breaks on ppc where __linux is not defined by gcc in strict
standards modes.
Author: Adrian Bunk <b...@debian.org>
--- libusb-1.0-1.0.21.orig/libusb/libusb.h
+++ libusb-1.0-1.0.21/libusb/libusb.h
@@ -54,7 +54,7 @@ typedef unsigned __int32 uint32_t;
#include <sys/types.h>
#endif
-#if defined(__linux) || defined(__APPLE__) || defined(__CYGWIN__) ||
defined(__HAIKU__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__CYGWIN__) ||
defined(__HAIKU__)
#include <sys/time.h>
#endif
--- End Message ---
--- Begin Message ---
Source: libusb-1.0
Source-Version: 2:1.0.21-2
We believe that the bug you reported is fixed in the latest version of
libusb-1.0, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 865...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <aure...@debian.org> (supplier of updated libusb-1.0 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 24 Jun 2017 23:12:56 +0200
Source: libusb-1.0
Binary: libusb-1.0-0 libusb-1.0-0-dev libusb-1.0-doc libusb-1.0-0-udeb
Architecture: source
Version: 2:1.0.21-2
Distribution: unstable
Urgency: medium
Maintainer: Aurelien Jarno <aure...@debian.org>
Changed-By: Aurelien Jarno <aure...@debian.org>
Description:
libusb-1.0-0 - userspace USB programming library
libusb-1.0-0-dev - userspace USB programming library development files
libusb-1.0-0-udeb - userspace USB programming library (udeb)
libusb-1.0-doc - documentation for userspace USB programming
Closes: 865026
Changes:
libusb-1.0 (2:1.0.21-2) unstable; urgency=medium
.
* Backport to important fixes from upstream:
- linux_udev: Retry poll() on EINTR.
- Fix a race condition with libusb_interrupt_event_handler().
- Fix wrong __linux usage in libusb.h (closes: #865026).
* Switch to debhelper 10.
* Bump Standards-Version to 4.0.0 (no changes).
Checksums-Sha1:
0fbd65e1dd9f725f511c395b0b8dbb42a95e5d02 2067 libusb-1.0_1.0.21-2.dsc
ab7caa7fe685e86184a0ce16115ad80300d65036 13712
libusb-1.0_1.0.21-2.debian.tar.xz
8ea48603ad9a62a6ef3dffe705bb8af5757f63e0 5244
libusb-1.0_1.0.21-2_source.buildinfo
Checksums-Sha256:
fb8a5cd34d3308652845e054ca97fcd29971cb18659cdb08873d874df1ee8795 2067
libusb-1.0_1.0.21-2.dsc
96da0c02309cfc80de84bbec84a3f63b0571fae83ae1a4d99b361505b959e1eb 13712
libusb-1.0_1.0.21-2.debian.tar.xz
8d23cef0a0a231ab066a96b77373fcdd120cddf5110b402e9bdf15df4f32deb2 5244
libusb-1.0_1.0.21-2_source.buildinfo
Files:
a733414666b6e6166ba13ecc6bddb4f6 2067 libs optional libusb-1.0_1.0.21-2.dsc
c0f37134ebe5cbc0ad7b0c7e87b167f9 13712 libs optional
libusb-1.0_1.0.21-2.debian.tar.xz
0e7fb2fb315d89a8ca3aab1b9b6cb265 5244 libs optional
libusb-1.0_1.0.21-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd0YmQqnvlP0Pdxltupx4Bh3djJsFAllO1+sACgkQupx4Bh3d
jJuLyhAAt0KpbGqCfwc9xFk7iX+viOzOsd10DeDkKALR3Y+z8xZfkAQOgy/aADqi
zFo/FRW8etRKKiJqF7lqzyzSI931sR8G/iBE/Y0vZSH1ITekSeTtBe74lH/tepQD
KSIsTOJGQBmFQ7AVnYBSbfaOZCU95BZHSbR5C3ipbFN5YpXx2skaqZ6XS00X/qrv
kA1ZHSWY/7EBlf2XUDXfD7988uqJq1ObBJZyMA8KMjP1OmOlVuESLQ7JjIyzKsz9
i4cGVxJGdDkVptQMp/oy8pBwVmmICezRm4vCnysCYnvZD9XXORbni41eXhSzfDYn
3fnLeqt6gQUzu46NLCks+hY8SMVrqv6ZKbDFFiYbTDfzFuZgMrSil9dLRAX+lrhu
bSyu8heuBU0+it7TliHtHUWMKjD+eECrDqg9azAikSN3zVD8XxmvT2nkZl960hur
Y/+UCtnStqC6Ec/I1lwN4OOPcrUyH5ESt/Zr4+oIYkrZ6ZY4P0xFH1slLepsY9yE
x+oAkMzUiaZ/fecVNRQ5UVLIXKh/7kics0lSil9esuvV2nvQUH9cYaFOW6PG821T
l3EyxQxAhNnlPDZlfeB7/etyQImrp+DKg7yMBVtjy966M3x8w3kCzJivN7gKvnF0
BLCpLNdePpCnTRJ7EYbluTGBVTeL3GMJXFCBWIhBBnn6it8WfHc=
=ztXJ
-----END PGP SIGNATURE-----
--- End Message ---