Bug#763254: libcrypt-gcrypt-perl: FTBFS: GCrypt.xs:59:5: error: unknown type name 'gcry_ac_handle_t'

David Suárez david.sephirot at gmail.com
Sun Sep 28 16:47:19 UTC 2014


Source: libcrypt-gcrypt-perl
Version: 1.26-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140926 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> cc -c   -funsigned-char -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2   -DVERSION=\"1.26\" -DXS_VERSION=\"1.26\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.20/CORE"   GCrypt.c
> In file included from GCrypt.xs:17:0:
> ppport.h:227:0: warning: "PERL_UNUSED_DECL" redefined
>  #  define PERL_UNUSED_DECL
>  ^
> In file included from GCrypt.xs:14:0:
> /usr/lib/x86_64-linux-gnu/perl/5.20/CORE/perl.h:302:0: note: this is the location of the previous definition
>  #    define PERL_UNUSED_DECL __attribute__unused__
>  ^
> GCrypt.xs:59:5: error: unknown type name 'gcry_ac_handle_t'
>      gcry_ac_handle_t h_ac;
>      ^
> GCrypt.xs:61:5: error: unknown type name 'gcry_ac_key_t'
>      gcry_ac_key_t key_ac;
>      ^
> GCrypt.xs: In function 'find_padding':
> GCrypt.xs:93:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>              offset = (int) p - (int) string;
>                       ^
> GCrypt.xs:93:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>              offset = (int) p - (int) string;
>                                 ^
> GCrypt.xs:103:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>              offset = (int) p - (int) string;
>                       ^
> GCrypt.xs:103:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>              offset = (int) p - (int) string;
>                                 ^
> GCrypt.xs: In function 'XS_Crypt__GCrypt_new':
> GCrypt.xs:206:9: error: unknown type name 'gcry_ac_id_t'
>          gcry_ac_id_t ac_algo;
>          ^
> GCrypt.xs:343:30: warning: comparison between pointer and integer
>              if (RETVAL->h_ac == NULL) XSRETURN_UNDEF;
>                               ^
> GCrypt.xs: In function 'XS_Crypt__GCrypt_sign':
> GCrypt.xs:541:9: error: unknown type name 'gcry_ac_data_t'
>          gcry_ac_data_t outdata;
>          ^
> GCrypt.xs: In function 'XS_Crypt__GCrypt_setkey':
> GCrypt.xs:597:9: error: unknown type name 'gcry_ac_key_type_t'
>          gcry_ac_key_type_t keytype;
>          ^
> GCrypt.xs:598:9: error: unknown type name 'gcry_ac_data_t'
>          gcry_ac_data_t keydata;
>          ^
> GCrypt.xs:625:54: error: 'GCRY_AC_KEY_SECRET' undeclared (first use in this function)
>              if (strcmp(s, "private") == 0) keytype = GCRY_AC_KEY_SECRET;
>                                                       ^
> GCrypt.xs:625:54: note: each undeclared identifier is reported only once for each function it appears in
> GCrypt.xs:626:53: error: 'GCRY_AC_KEY_PUBLIC' undeclared (first use in this function)
>              if (strcmp(s, "public") == 0) keytype = GCRY_AC_KEY_PUBLIC;
>                                                      ^
> GCrypt.xs:634:50: error: 'GCRY_AC_FLAG_COPY' undeclared (first use in this function)
>              gcr->err = gcry_ac_data_set(keydata, GCRY_AC_FLAG_COPY, "s", mpi);
>                                                   ^
> make[1]: *** [GCrypt.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/09/26/libcrypt-gcrypt-perl_1.26-1_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 pkg-perl-maintainers mailing list