Bug#906975: fprintd: FTBFS in buster/sid (configure fails)

2018-08-22 Thread Adrian Bunk
Control: reassign -1 libfprint-dev 1:0.8.2-1
Control: retitle -1 libfprint-dev: pkg-config dependencies are not package 
dependencies
Control: affects -1 src:fprintd src:fprint-demo

On Wed, Aug 22, 2018 at 07:31:11PM +, Santiago Vila wrote:
> Package: src:fprintd
> Version: 0.8.0-2
> Severity: serious
> Tags: ftbfs
> 
> Dear maintainer:
> 
> I tried to build this package in buster but it failed:
> 
> 
> [...]
>  debian/rules build-indep
> dh build-indep
>dh_update_autotools_config -i
>dh_autoreconf -i
> libtoolize: putting auxiliary files in '.'.
> libtoolize: copying file './ltmain.sh'
> libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
> libtoolize: and rerunning libtoolize and aclocal.
> libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
> configure.ac:10: installing './compile'
> configure.ac:2: installing './missing'
> doc/Makefile.am:32: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 
> '*_CPPFLAGS')
> pam/Makefile.am: installing './depcomp'
>debian/rules override_dh_auto_configure
> 
> [... snipped ...]
>...

The actual error is snipped:

...
checking pkg-config is at least version 0.9.0... yes
checking for FPRINT... no
configure: error: Package requirements (libfprint > 0.1.0) were not met:

Package 'libusb-1.0', required by 'libfprint', not found
...


libfprint-dev lacks dependencies for everything meson adds in Requires.private:

$ grep Requires.private /usr/lib/x86_64-linux-gnu/pkgconfig/libfprint.pc
Requires.private: glib-2.0 >=  2.28, libusb-1.0 >=  0.9.1, nss, pixman-1
$ pkgconf --cflags libfprint
-I/usr/include/libfprint -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libusb-1.0 
-I/usr/include/nss -I/usr/include/nspr -I/usr/include/pixman-1 
$


cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#906975: fprintd: FTBFS in buster/sid (configure fails)

2018-08-22 Thread Santiago Vila
Package: src:fprintd
Version: 0.8.0-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:


[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:10: installing './compile'
configure.ac:2: installing './missing'
doc/Makefile.am:32: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or 
'*_CPPFLAGS')
pam/Makefile.am: installing './depcomp'
   debian/rules override_dh_auto_configure

[... snipped ...]

psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
systemdsystemunitdir=''
target_alias=''

## --- ##
## confdefs.h. ##
## --- ##

/* confdefs.h */
#define PACKAGE_NAME "fprintd"
#define PACKAGE_TARNAME "fprintd"
#define PACKAGE_VERSION "0.8.0"
#define PACKAGE_STRING "fprintd 0.8.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "fprintd"
#define VERSION "0.8.0"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define GETTEXT_PACKAGE "fprintd"
#define HAVE_LOCALE_H 1
#define HAVE_LC_MESSAGES 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_GETTEXT 1
#define HAVE_DCGETTEXT 1
#define ENABLE_NLS 1

configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu 
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode 
--disable-dependency-tracking --enable-pam --disable-silent-rules 
--with-systemdsystemunitdir=/lib/systemd/system --libexecdir=/usr/lib/fprintd/ 
--enable-gtk-doc returned exit code 1
make[1]: *** [debian/rules:16: override_dh_auto_configure] Error 2
make[1]: Leaving directory '/<>'
make: *** [debian/rules:6: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2


The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/fprintd.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.