Bug#527695: libsane-perl: FTBFS: Sane.xs:372: error: 'SANE_CAP_ALWAYS_SETTABLE' undeclared (first use in this function)

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri May 8 17:29:13 UTC 2009


Package: libsane-perl
Version: 0.02-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20090508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> cc -c  -I.  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Sane.c
> Sane.xs: In function 'XS_Sane__Device_DESTROY':
> Sane.xs:16: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_get_option_descriptor':
> Sane.xs:31: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_get_option':
> Sane.xs:96: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_set_auto':
> Sane.xs:146: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_set_option':
> Sane.xs:170: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_start':
> Sane.xs:235: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_get_parameters':
> Sane.xs:249: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_set_io_mode':
> Sane.xs:301: warning: cast from pointer to integer of different size
> Sane.xs: In function 'XS_Sane__Device_get_select_fd':
> Sane.xs:314: warning: cast from pointer to integer of different size
> Sane.xs: In function 'boot_Sane':
> Sane.xs:372: error: 'SANE_CAP_ALWAYS_SETTABLE' undeclared (first use in this function)
> Sane.xs:372: error: (Each undeclared identifier is reported only once
> Sane.xs:372: error: for each function it appears in.)
> make[1]: *** [Sane.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/05/08/libsane-perl_0.02-1_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-perl-maintainers mailing list