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

Bug#816333: marked as done (libindi: FTBFS[kfreebsd]: libusb-1.0/libusb.h: No such file or directory)



Your message dated Tue, 01 Mar 2016 11:22:18 +0000
with message-id <E1aaiNe-0006RW-DI@franck.debian.org>
and subject line Bug#816333: fixed in libindi 1.1.0-2
has caused the Debian Bug report #816333,
regarding libindi: FTBFS[kfreebsd]: libusb-1.0/libusb.h: No such file or directory
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 owner@bugs.debian.org
immediately.)


-- 
816333: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816333
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libindi
Version: 1.1.0-1
Severity: important
Tags: patch
User: debian-bsd@lists.debian.org
Usertags: kfreebsd

Hi,

libindi built before on kfreebsd, but since then a new include was
added in libs/indibase/hid_libusb.c:
    #include "libusb-1.0/libusb.h"

We prefer that it is just:
    #include <libusb.h>
since cmake already sets the include path appropriately to find libusb.h
wherever it is located (/usr/include/libusb-1.0/ on linux, or just
/usr/include/ on kfreebsd).

While here, a symbols update was needed.  I've attached a debdiff having
both of these changes.  Thanks a lot.

p.s. there are some "warning: implicit declaration" happening on linux
and kfreebsd, which suggest maybe compiling with -D_GNU_SOURCE to get
both strptime and asprintf, or define that macro atop the affected
source files.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru libindi-1.1.0/debian/libindidriver1.symbols libindi-1.1.0/debian/libindidriver1.symbols
--- libindi-1.1.0/debian/libindidriver1.symbols	2016-01-18 15:06:38.000000000 +0000
+++ libindi-1.1.0/debian/libindidriver1.symbols	2016-02-29 23:11:48.000000000 +0000
@@ -128,14 +128,14 @@
  (arch=!kfreebsd-any)_ZN13V4L2_RecorderD0Ev@Base 1.0.0
  (arch=!kfreebsd-any)_ZN13V4L2_RecorderD1Ev@Base 1.0.0
  (arch=!kfreebsd-any)_ZN13V4L2_RecorderD2Ev@Base 1.0.0
- _ZN20V4L2_Builtin_Decoder10getLinearYEv@Base 1.1.0
- _ZN20V4L2_Builtin_Decoder11makeLinearYEv@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder10getLinearYEv@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder11makeLinearYEv@Base 1.1.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder11usesoftcropEb@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder12allocBuffersEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder12getRGBBufferEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder14getColorBufferEv@Base 1.0.0
- _ZN20V4L2_Builtin_Decoder15setQuantizationEb@Base 1.1.0
- _ZN20V4L2_Builtin_Decoder16setLinearizationEb@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder15setQuantizationEb@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder16setLinearizationEb@Base 1.1.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder17issupportedformatEj@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder19getsupportedformatsEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder22init_supported_formatsEv@Base 1.0.0
@@ -143,12 +143,12 @@
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder4getVEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder4getYEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder4initEv@Base 1.0.0
- _ZN20V4L2_Builtin_Decoder5makeYEv@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder5makeYEv@Base 1.1.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder6decodeEPhP11v4l2_buffer@Base 1.0.0
- _ZN20V4L2_Builtin_Decoder6getBppEv@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder6getBppEv@Base 1.1.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder7setcropE9v4l2_crop@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder9resetcropEv@Base 1.0.0
- _ZN20V4L2_Builtin_Decoder9setformatE11v4l2_formatb@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN20V4L2_Builtin_Decoder9setformatE11v4l2_formatb@Base 1.1.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_DecoderC1Ev@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_DecoderC2Ev@Base 1.0.0
  (arch=!kfreebsd-any)_ZN20V4L2_Builtin_DecoderD0Ev@Base 1.0.0
@@ -335,7 +335,8 @@
  _ZN4INDI16FocuserInterfaceD2Ev@Base 1.0.0
  _ZN4INDI3CCD10GuideNorthEf@Base 1.0.0
  _ZN4INDI3CCD10GuideSouthEf@Base 1.0.0
- (subst)_ZN4INDI3CCD10uploadFileEP7CCDChipPKv{size_t}bb@Base 1.0.0
+ (arch=kfreebsd-any)_ZN4INDI3CCD10uploadFileEP7CCDChipPKvmbb@Base 1.1.0-1
+ (arch=!kfreebsd-any)(subst)_ZN4INDI3CCD10uploadFileEP7CCDChipPKv{size_t}bb@Base 1.0.0
  _ZN4INDI3CCD11ISNewNumberEPKcS2_PdPPci@Base 1.0.0
  _ZN4INDI3CCD11ISNewSwitchEPKcS2_P7ISStatePPci@Base 1.0.0
  _ZN4INDI3CCD12SetCCDParamsEiiiff@Base 1.0.0
@@ -584,7 +585,7 @@
  (arch=!kfreebsd-any)_ZN9V4L2_Base10errno_exitEPKcPc@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base10findMinMaxEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base10getControlEjPdPc@Base 1.0.0
- _ZN9V4L2_Base10getLinearYEv@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN9V4L2_Base10getLinearYEv@Base 1.1.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base10init_userpEj@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base10query_ctrlEjRdS0_S0_S0_Pc@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base10read_frameEPc@Base 1.0.0
@@ -621,11 +622,11 @@
  (arch=!kfreebsd-any)_ZN9V4L2_Base16setcaptureformatEjPc@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base17getcaptureformatsEP22_ISwitchVectorProperty@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base18enumerate_ext_ctrlEv@Base 1.0.0
- _ZN9V4L2_Base18setColorProcessingEbbb@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN9V4L2_Base18setColorProcessingEbbb@Base 1.1.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base4getUEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base4getVEv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base4getYEv@Base 1.0.0
- _ZN9V4L2_Base6getBppEv@Base 1.1.0
+ (arch=!kfreebsd-any)_ZN9V4L2_Base6getBppEv@Base 1.1.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base6xioctlEiiPv@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base7setSizeEii@Base 1.0.0
  (arch=!kfreebsd-any)_ZN9V4L2_Base8doDecodeEb@Base 1.0.0
@@ -811,12 +812,12 @@
  findXMLEle@Base 1.0.0
  from64tobits@Base 1.0.0
  fs_sexa@Base 1.0.0
- getColorSpaceName@Base 1.1.0
- getQuantization@Base 1.1.0
- getQuantizationName@Base 1.1.0
+ (arch=!kfreebsd-any)getColorSpaceName@Base 1.1.0
+ (arch=!kfreebsd-any)getQuantization@Base 1.1.0
+ (arch=!kfreebsd-any)getQuantizationName@Base 1.1.0
  getSexComponents@Base 1.0.0
- getYCbCrEncoding@Base 1.1.0
- getYCbCrEncodingName@Base 1.1.0
+ (arch=!kfreebsd-any)getYCbCrEncoding@Base 1.1.0
+ (arch=!kfreebsd-any)getYCbCrEncodingName@Base 1.1.0
  get_local_hour_angle@Base 1.1.0
  get_local_sideral_time@Base 1.1.0
  get_usb_code_for_current_locale@Base 1.1.0
@@ -838,18 +839,18 @@
  hid_send_feature_report@Base 1.1.0
  hid_set_nonblocking@Base 1.1.0
  hid_write@Base 1.1.0
- initColorSpace@Base 1.1.0
+ (arch=!kfreebsd-any)initColorSpace@Base 1.1.0
  isPropDefined@Base 1.0.0
  lilxmlMalloc@Base 1.0.0
- linearize@Base 1.1.0
- lutrangecbcr10@Base 1.1.0
- lutrangecbcr12@Base 1.1.0
- lutrangecbcr16@Base 1.1.0
- lutrangecbcr8@Base 1.1.0
- lutrangey10@Base 1.1.0
- lutrangey12@Base 1.1.0
- lutrangey16@Base 1.1.0
- lutrangey8@Base 1.1.0
+ (arch=!kfreebsd-any)linearize@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangecbcr10@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangecbcr12@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangecbcr16@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangecbcr8@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangey10@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangey12@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangey16@Base 1.1.0
+ (arch=!kfreebsd-any)lutrangey8@Base 1.1.0
  main@Base 1.0.0
  me@Base 1.0.0
  (arch=!kfreebsd-any)mjpegtoyuv420p@Base 1.0.0
@@ -884,7 +885,7 @@
  range360@Base 1.1.0
  rangeDec@Base 1.1.0
  rangeHA@Base 1.1.0
- rangeY8@Base 1.1.0
+ (arch=!kfreebsd-any)rangeY8@Base 1.1.0
  readXMLEle@Base 1.0.0
  readXMLFile@Base 1.0.0
  rmCallback@Base 1.0.0
diff -Nru libindi-1.1.0/debian/patches/freebsd_support2 libindi-1.1.0/debian/patches/freebsd_support2
--- libindi-1.1.0/debian/patches/freebsd_support2	1970-01-01 00:00:00.000000000 +0000
+++ libindi-1.1.0/debian/patches/freebsd_support2	2016-02-29 23:05:50.000000000 +0000
@@ -0,0 +1,11 @@
+--- a/libs/indibase/hid_libusb.c
++++ b/libs/indibase/hid_libusb.c
+@@ -52,7 +52,7 @@
+ #include <wchar.h>
+ 
+ /* GNU / LibUSB */
+-#include "libusb-1.0/libusb.h"
++#include <libusb.h>
+ #include "iconv.h"
+ 
+ #include "hidapi.h"
diff -Nru libindi-1.1.0/debian/patches/series libindi-1.1.0/debian/patches/series
--- libindi-1.1.0/debian/patches/series	2016-01-18 15:06:38.000000000 +0000
+++ libindi-1.1.0/debian/patches/series	2016-02-29 23:05:50.000000000 +0000
@@ -1 +1,2 @@
 freebsd_support
+freebsd_support2

--- End Message ---
--- Begin Message ---
Source: libindi
Source-Version: 1.1.0-2

We believe that the bug you reported is fixed in the latest version of
libindi, 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 816333@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Maximiliano Curia <maxy@debian.org> (supplier of updated libindi 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 01 Mar 2016 11:48:22 +0100
Source: libindi
Binary: libindi1 libindidriver1 libindialignmentdriver1 libindi-plugins libindi-dev libindi-data indi-bin indi-dbg
Architecture: source
Version: 1.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Krap Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Maximiliano Curia <maxy@debian.org>
Description:
 indi-bin   - INDI server, drivers and tools
 indi-dbg   - Instrument-Neutral Device Interface library -- debug symbols
 libindi-data - Instrument-Neutral Device Interface library -- shared data
 libindi-dev - Instrument-Neutral Device Interface library -- development files
 libindi-plugins - Instrument-Neutral Device Interface library -- plugins
 libindi1   - Instrument-Neutral Device Interface library -- client library
 libindialignmentdriver1 - Instrument-Neutral Device Interface library -- alignment driver l
 libindidriver1 - Instrument-Neutral Device Interface library -- driver library
Closes: 816333
Changes:
 libindi (1.1.0-2) unstable; urgency=medium
 .
   * Update patch freebsd_support, use system includes for the libusb.h
     header. (Closes: 816333) Thanks to Steven Chamberlain for the patch.
   * Update symbols from 1.1.0-1 buildlogs.
Checksums-Sha1:
 b8d5679a7d693ff9bf52afed10dd0d459b79e797 2499 libindi_1.1.0-2.dsc
 791a004bf2de7d1a6338deea236903d387fae818 15532 libindi_1.1.0-2.debian.tar.xz
Checksums-Sha256:
 a9763f58f4929ab3ec7642dd7fbd02b2946fb40e5aa0fcc25fbf74646504c458 2499 libindi_1.1.0-2.dsc
 8dcf3da37f540f4ebb78113b8d28221c18f0d93ec81e1f81ea91bead2e1ef698 15532 libindi_1.1.0-2.debian.tar.xz
Files:
 61a9c33071a144fdc7696cfc9ffa1d5e 2499 misc optional libindi_1.1.0-2.dsc
 d87b0b500e2648203cdc4c5c607a0bbe 15532 misc optional libindi_1.1.0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJW1XPoAAoJEMcZdpmymyMqFRAQAIzhtzQUBscotFWLPhxyQ3CP
2pewLzlxActomgHgXd+3sbdL1I5Vz5J9gfqbDmww9qMUaZeJ7QAC/tiIp+su6sGv
wHVnR4BKjzRMn5AUBb+xrvvGl4k0Np5J4Lvksg7JeCw+yIT9GZO+IZkpj0UmXaNZ
5EMRcPEVs3H18EeEBWRP+0kGXzt14umXNl+czobRoTzk6UG271hqCa5Cfu+/m/T4
SiXT6et/e35DorT/9qM4YxzvwRS29i6NdaM0foyqUQJX5c9tQ3+iXlkSftnvxFUr
qFWUgVHuSfDxfmny5densCV3TqT+/96FDM6i5Es1pGHZGxqbeL8uc4LTv7akdUoA
rI9lDC53dYTUenyq32aNHP2/OnKwSYBBj4RMkdivX1xFoNmRjxDF2wfovuskSyr/
eePnRjL/TtQIqSuV8/8muQEMLdhnKIjaPr3PnnXewyLs2ArP6DWRXrngyrjJJ8Xc
5cqG5RN6eemDIr7VvaKDkJMqCFxgUlVlnFPww8PTsLItz6mHEnrP+bXYpgDydPyN
ekjJUniFd6lzDPTHMraAkszzNOROxrHoduNlLha1luajniMK0jfKSnPcSuFF6Zyu
1P0/DXEYq0E7TzF7NeYIYxW7ouma5BkSchg+97Sq4BMjDRz3Qt9a6tTAEOXIKkhu
196oJQ+bUrGvo279PxTh
=HNam
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: