[Fingerforce-devel] Bug#680838: libfprint: FTBFS: fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG'

Lucas Nussbaum lucas at lucas-nussbaum.net
Sun Jul 8 16:45:07 UTC 2012


Source: libfprint
Version: 1:0.4.0-4-gdfff16f-3
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120708 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0   -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -I/usr/include/nss -I/usr/include/nspr   -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow  -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12   -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o libfprint_la-upekts.lo `test -f 'drivers/upekts.c' || echo './'`drivers/upekts.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c data.c  -fPIC -DPIC -o .libs/libfprint_la-data.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c core.c  -fPIC -DPIC -o .libs/libfprint_la-core.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c async.c  -fPIC -DPIC -o .libs/libfprint_la-async.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c img.c  -fPIC -DPIC -o .libs/libfprint_la-img.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c drv.c  -fPIC -DPIC -o .libs/libfprint_la-drv.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c imgdev.c  -fPIC -DPIC -o .libs/libfprint_la-imgdev.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c poll.c  -fPIC -DPIC -o .libs/libfprint_la-poll.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c sync.c  -fPIC -DPIC -o .libs/libfprint_la-sync.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c drivers/upeke2.c  -fPIC -DPIC -o .libs/libfprint_la-upeke2.o
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c drivers/upekts.c  -fPIC -DPIC -o .libs/libfprint_la-upekts.o
> In file included from async.c:26:0:
> fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG'
> In file included from fp_internal.h:27:0,
>                  from async.c:26:
> /usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of 'LOG_LEVEL_DEBUG' was here
> In file included from async.c:26:0:
> fp_internal.h:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO'
> In file included from fp_internal.h:27:0,
>                  from async.c:26:
> /usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of 'LOG_LEVEL_INFO' was here
> In file included from async.c:26:0:
> fp_internal.h:38:2: error: redeclaration of enumerator 'LOG_LEVEL_WARNING'
> In file included from fp_internal.h:27:0,
>                  from async.c:26:
> /usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of 'LOG_LEVEL_WARNING' was here
> In file included from async.c:26:0:
> fp_internal.h:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR'
> In file included from fp_internal.h:27:0,
>                  from async.c:26:
> /usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of 'LOG_LEVEL_ERROR' was here
> In file included from drv.c:25:0:
> fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG'
> In file included from fp_internal.h:27:0,
>                  from drv.c:25:
> /usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of 'LOG_LEVEL_DEBUG' was here
> In file included from drv.c:25:0:
> fp_internal.h:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO'
> In file included from fp_internal.h:27:0,
>                  from drv.c:25:
> /usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of 'LOG_LEVEL_INFO' was here
> In file included from drv.c:25:0:
> fp_internal.h:38:2: error: redeclaration of enumerator 'LOG_LEVEL_WARNING'
> In file included from fp_internal.h:27:0,
>                  from drv.c:25:
> /usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of 'LOG_LEVEL_WARNING' was here
> In file included from drv.c:25:0:
> fp_internal.h:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR'
> In file included from fp_internal.h:27:0,
>                  from drv.c:25:
> /usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of 'LOG_LEVEL_ERROR' was here
> In file included from imgdev.c:24:0:
> fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG'
> In file included from fp_internal.h:27:0,
>                  from imgdev.c:24:
> /usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of 'LOG_LEVEL_DEBUG' was here
> In file included from imgdev.c:24:0:
> fp_internal.h:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO'
> In file included from fp_internal.h:27:0,
>                  from imgdev.c:24:
> /usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of 'LOG_LEVEL_INFO' was here
> In file included from imgdev.c:24:0:
> fp_internal.h:38:2: error: redeclaration of enumerator 'LOG_LEVEL_WARNING'
> In file included from fp_internal.h:27:0,
>                  from imgdev.c:24:
> /usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of 'LOG_LEVEL_WARNING' was here
> In file included from imgdev.c:24:0:
> fp_internal.h:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR'
> In file included from fp_internal.h:27:0,
>                  from imgdev.c:24:
> /usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of 'LOG_LEVEL_ERROR' was here
> In file included from poll.c:30:0:
> fp_internal.h:36:2: error: redeclaration of enumerator 'LOG_LEVEL_DEBUG'
> In file included from poll.c:28:0:
> /usr/include/libusb-1.0/libusb.h:967:2: note: previous definition of 'LOG_LEVEL_DEBUG' was here
> In file included from poll.c:30:0:
> fp_internal.h:37:2: error: redeclaration of enumerator 'LOG_LEVEL_INFO'
> In file included from poll.c:28:0:
> /usr/include/libusb-1.0/libusb.h:966:2: note: previous definition of 'LOG_LEVEL_INFO' was here
> In file included from poll.c:30:0:
> fp_internal.h:38:2: error: redeclaration of enumerator 'LOG_LEVEL_WARNING'
> In file included from poll.c:28:0:
> /usr/include/libusb-1.0/libusb.h:965:2: note: previous definition of 'LOG_LEVEL_WARNING' was here
> In file included from poll.c:30:0:
> fp_internal.h:39:2: error: redeclaration of enumerator 'LOG_LEVEL_ERROR'
> In file included from poll.c:28:0:
> /usr/include/libusb-1.0/libusb.h:964:2: note: previous definition of 'LOG_LEVEL_ERROR' was here
> make[3]: *** [libfprint_la-drv.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/07/08/libfprint_0.4.0-4-gdfff16f-3_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.





More information about the Fingerforce-devel mailing list