Skip Menu |

This queue is for tickets about the GnuPG CPAN distribution.

Report information
The Basics
Id: 76173
Status: open
Priority: 0/
Queue: GnuPG

People
Owner: Nobody in particular
Requestors: carnil [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From: CARNIL [...] cpan.org
Subject: libgnupg-perl: FTBFS: test failed
Hi This bug has been forwarded from http://bugs.debian.org/665226 GnuPG fails to build from source in a Debian unstable system. I have not investigated, but it seems that first this appears with newer gnupg (1.4.12). See belog for the relevant part in the build log. If I can, I will try to provide more informations to you. Source: libgnupg-perl Version: 0.18-1 Severity: serious Tags: wheezy sid User: debian-qa@lists.debian.org Usertags: qa-ftbfs-20120321 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: Show quoted text
> make[2]: Entering directory `/«PKGBUILDDIR»' > PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl > 1..26 > # Generating a key - can take some time > pub 1024R/90BDE026 2012-03-21 > Key fingerprint = FF5D 1311 A300 9A56 2F78 0D46 281F 4817 90BD E026 > uid GnuPG Test > sub 1024R/4265AFF7 2012-03-21 > > ok 1 - gen_key_test > ok 2 - import_test > ok 3 - import2_test > ok 4 - import3_test > ok 5 - export_test > ok 6 - export2_test > ok 7 - export_secret_test > ok 8 - encrypt_test > ok 9 - pipe_encrypt_test > ok 10 - pipe_decrypt_test > ok 11 - encrypt_sign_test > ok 12 - encrypt_sym_test > ok 13 - encrypt_notrust_test > ok 14 - decrypt_test > ok 15 - decrypt_sign_test > not ok 16 - decrypt_sym_test > # Failed test 'decrypt_sym_test' > # at test.pl line 65. > # invalid passphrase - DECRYPTION_INFO at blib/lib/GnuPG.pm line 154 > # GnuPG::abort_gnupg('GnuPG=HASH(0xba21f8)', 'invalid passphrase - DECRYPTION_INFO') called at blib/lib/GnuPG.pm line 763 > # GnuPG::decrypt_postwrite('GnuPG=HASH(0xba21f8)', 'output', 'test/file.txt.plain3', 'ciphertext', 'test/file.txt.cipher', 'symmetric', 1, 'passphrase', 'test', ...) called at blib/lib/GnuPG.pm line 731 > # GnuPG::decrypt('GnuPG=HASH(0xba21f8)', 'output', 'test/file.txt.plain3', 'ciphertext', 'test/file.txt.cipher', 'symmetric', 1, 'passphrase', 'test', ...) called at test.pl line 232 > # main::decrypt_sym_test() called at test.pl line 62 > # eval {...} called at test.pl line 60 > ok 17 - sign_test > ok 18 - detachsign_test > ok 19 - clearsign_test > ok 20 - verify_sign_test > ok 21 - verify_detachsign_test > ok 22 - verify_clearsign_test > ok 23 > ok 24 > ok 25 - tie_decrypt_para_mode_test > ok 26 - multiple_recipients > # Looks like you failed 1 test of 26. > make[2]: *** [test_dynamic] Error 1
The full build log is available from: http://people.debian.org/~lucas/logs/2012/03/21/libgnupg-perl_0.18-1.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 about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot. Internet was not accessible from the build systems. Thanks in advance, Salvatore Bonaccorso, Debian Perl Group
Subject: Re: [rt.cpan.org #76173] libgnupg-perl: FTBFS: test failed
Date: Sat, 14 Apr 2012 16:45:20 +0200
To: Bugs in GnuPG via RT <bug-GnuPG [...] rt.cpan.org>
From: Salvatore Bonaccorso <carnil [...] debian.org>
Hi As far I can see gnupg 1.4.12 adds a new status message: 2012-01-13 Werner Koch <wk@gnupg.org> Add a DECRYPTION_INFO status. * g10/status.h (STATUS_DECRYPTION_INFO): New. * g10/status.c (get_status_string): Add new status string. * g10/encr-data.c: Include status.h. (decrypt_data): Print STATUS_DECRYPTION_INFO. [...] I have prepared a patch for this further status message. I tried to build GnuPG Debian package with that, and the test succeed now all again. Regards, Salvatore

Message body is not shown because sender requested not to inline it.

Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

Patch applied and v0.19 on its way to CPAN. Thanks! And while I have someone from the Debian group on the line: the GnuPg distro has some outdated(?) debian-related files (debian/*, GnuPg.specs). Are those files used? If so, is there anything I should know on how to keep them up to date? Joy, `/anick
Subject: Re: [rt.cpan.org #76173] libgnupg-perl: FTBFS: test failed
Date: Sun, 15 Apr 2012 22:22:06 +0200
To: Yanick Champoux via RT <bug-GnuPG [...] rt.cpan.org>
From: Salvatore Bonaccorso <carnil [...] debian.org>
Hey Yanick On Sun, Apr 15, 2012 at 03:32:02PM -0400, Yanick Champoux via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=76173 > > > Patch applied and v0.19 on its way to CPAN. Thanks!
Many thanks! Show quoted text
> And while I have someone from the Debian group on the line: the GnuPg > distro has some outdated(?) debian-related files (debian/*, > GnuPg.specs). Are those files used? If so, is there anything I should > know on how to keep them up to date?
The debian/* files are not really used as they are in the original tar.gz. So they could simply be dropped, that would be fine from our side. A existing debian/* directory in the upstream source tarball will be removed (in particular when using our 3.0 (quilt) source package format, see dpkg-source(1) if you have a Debian based system at hand) and then replaced with the debian/* we need for the packaging. If you are interested, here is our git repo where we keep/maintain the respective libgnupg-perl Debian package: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libgnupg-perl.git About the GnuPG.specs: It is not used for the Debian packaging. If I'm correct this is would be used to package for rpm based distributions. But I suspect they all replace the GnuPG.specs depending on their requirements and policies. Btw Yanick, many thanks for developing GnuPG module! Regards, Salvatore
Download signature.asc
application/pgp-signature 836b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #76173] libgnupg-perl: FTBFS: test failed
Date: Sun, 15 Apr 2012 17:10:39 -0400
To: bug-GnuPG [...] rt.cpan.org
From: Yanick Champoux <yanick [...] babyl.dyndns.org>
On 12-04-15 04:22 PM, Salvatore Bonaccorso via RT wrote: Show quoted text
> The debian/* files are not really used as they are in the original > tar.gz. So they could simply be dropped, that would be fine from our > side. A existing debian/* directory in the upstream source tarball > will be removed (in particular when using our 3.0 (quilt) source > package format, see dpkg-source(1) if you have a Debian based system > at hand) and then replaced with the debian/* we need for the > packaging.
Excellent. One of the finicky things about taking up the maintainership of a module is to figure out what is cruft that can be removed, and what are files that people still depend on. In those cases, it's always good to have a confirmation before hitting the 'delete' key. :-) Show quoted text
> If you are interested, here is our git repo where we keep/maintain the > respective libgnupg-perl Debian package: > > http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libgnupg-perl.git
Thanks! I've cloned it for perusal. I'm keeping my own repo at https://github.com/yanick/GnuPG, if you are interested to use it as your upstream. Show quoted text
> About the GnuPG.specs: It is not used for the Debian packaging. If I'm > correct this is would be used to package for rpm based distributions. > But I suspect they all replace the GnuPG.specs depending on their > requirements and policies.
Okay, gotcha. :-) Show quoted text
> Btw Yanick, many thanks for developing GnuPG module!
Developing is too strong a word, I'm merely the steward of the module, making sure the patches still get applied. Still, you are very welcome. :-) Joy, `/anick