[Reproducible-builds] Bug#823483: discover: FTBFS: configure: error: Can't find usb library.

Chris Lamb lamby at debian.org
Thu May 5 08:12:50 UTC 2016


Source: discover
Version: 2.1.2-7
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

discover fails to build from source in unstable/amd64:

  [..]

  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'discover-build-deps' in '../discover-build-deps_2.1.2-7_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package discover-build-deps.
  (Reading database ... 23072 files and directories currently installed.)
  Preparing to unpack discover-build-deps_2.1.2-7_all.deb ...
  Unpacking discover-build-deps (2.1.2-7) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    libexpat1-dev libusb-dev
  The following NEW packages will be installed:
    libexpat1-dev libusb-dev
  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 163 kB of archives.
  After this operation, 1133 kB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 libexpat1-dev amd64 2.1.1-1 [126 kB]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 libusb-dev amd64 2:0.1.12-29 [36.9 kB]
  Fetched 163 kB in 0s (0 B/s)
  Selecting previously unselected package libexpat1-dev:amd64.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23076 files and directories currently installed.)
  Preparing to unpack .../libexpat1-dev_2.1.1-1_amd64.deb ...
  Unpacking libexpat1-dev:amd64 (2.1.1-1) ...
  Selecting previously unselected package libusb-dev.
  Preparing to unpack .../libusb-dev_2%3a0.1.12-29_amd64.deb ...
  Unpacking libusb-dev (2:0.1.12-29) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up libexpat1-dev:amd64 (2.1.1-1) ...
  Setting up libusb-dev (2:0.1.12-29) ...
  Setting up discover-build-deps (2.1.2-7) ...
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package discover
  dpkg-buildpackage: info: source version 2.1.2-7
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Petter Reinholdtsen <pere at debian.org>
   dpkg-source --before-build discover-2.1.2
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh_testdir
  dh_testroot
  rm -rf builddeb build-deb-stamp configure-deb-stamp config.log config.status
  debconf-updatepo
  debconf-updatepo
  dh_clean
   debian/rules build
  dh_testdir
  mkdir builddeb
  cd builddeb && CFLAGS="-g -O2" ../configure  --prefix=/usr --sbindir=/sbin --sysconfdir=/etc --localstatedir=/var --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --with-default-url=file:///lib/discover/list.xml --disable-curl
  checking build system type... x86_64-unknown-linux-gnu
  checking host system type... x86_64-unknown-linux-gnu
  checking target system type... x86_64-unknown-linux-gnu
  checking for gcc... gcc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables... 
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether gcc accepts -g... yes
  checking for gcc option to accept ISO C89... none needed
  checking for gcc option to accept ISO C99... none needed
  checking for gcc option to accept ISO Standard C... (cached) none needed
  checking how to run the C preprocessor... gcc -E
  checking for a BSD-compatible install... /usr/bin/install -c
  checking for ld used by GCC... /usr/bin/ld
  checking if the linker (/usr/bin/ld) is GNU ld... yes
  checking for /usr/bin/ld option to reload object files... -r
  checking for BSD-compatible nm... /usr/bin/nm -B
  checking for a sed that does not truncate output... /bin/sed
  checking whether ln -s works... yes
  checking how to recognise dependent libraries... pass_all
  checking command to parse /usr/bin/nm -B output... ok
  checking for grep that handles long lines and -e... /bin/grep
  checking for egrep... /bin/grep -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking dlfcn.h usability... yes
  checking dlfcn.h presence... yes
  checking for dlfcn.h... yes
  checking for ranlib... ranlib
  checking for strip... strip
  checking for objdir... .libs
  checking for gcc option to produce PIC... -fPIC
  checking if gcc PIC flag -fPIC works... yes
  checking if gcc static flag -static works... yes
  checking if gcc supports -c -o file.o... yes
  checking if gcc supports -c -o file.lo... yes
  checking if gcc supports -fno-rtti -fno-exceptions... no
  checking whether the linker (/usr/bin/ld) supports shared libraries... yes
  checking how to hardcode library paths into programs... immediate
  checking whether stripping libraries is possible... yes
  checking dynamic linker characteristics... GNU/Linux ld.so
  checking if libtool supports shared libraries... yes
  checking whether to build shared libraries... yes
  checking whether to build static libraries... yes
  checking whether -lc should be explicitly linked in... no
  creating libtool
  checking for doxygen... false
  checking for curl-config... no
  checking for alloca... no
  checking for mkdtemp... yes
  checking for mkstemp... yes
  checking for strsep... yes
  checking for dirent.h that defines DIR... yes
  checking for library containing opendir... none required
  checking expat.h usability... yes
  checking expat.h presence... yes
  checking for expat.h... yes
  checking for XML_ParserCreate in -lexpat... yes
  checking usb.h usability... yes
  checking usb.h presence... yes
  checking for usb.h... yes
  checking for usb_init in -lusb... no
  configure: error: Can't find usb library.
  debian/rules:71: recipe for target 'configure-deb-stamp' failed
  make: *** [configure-deb-stamp] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: discover.2.1.2-7.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2138 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160505/afd83c3c/attachment.obj>


More information about the Reproducible-builds mailing list