Package Details: perl-gnupg-interface 0.52-1

Git Clone URL: https://aur.archlinux.org/perl-gnupg-interface.git (read-only)
Package Base: perl-gnupg-interface
Description: Object methods for interacting with GnuPG
Upstream URL: http://search.cpan.org/dist/GnuPG-Interface
Licenses: GPL, PerlArtistic
Submitter: daenyth
Maintainer: pezz
Last Packager: pezz
Votes: 30
Popularity: 0.000002
First Submitted: 2008-04-24 19:13
Last Updated: 2015-06-10 04:05

Latest Comments

pezz commented on 2015-04-24 04:44

I fixed a dependency problem with the perl-moox-handlesvia package, it needed perl-data-perl.

I've also updated the version, builds fine on a clean VM for me.

nirnakinho commented on 2015-04-23 12:36

Trying to get caff to run, I've discovered that this perl module probably depends on perl-data-perl. If perl-data-perl is not installed, running caff fails with the following error message:
Can't locate Data/Perl/Role/Collection/Array.pm in @INC (you may need to install the Data::Perl::Role::Collection::Array module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/share/perl5/vendor_perl/Role/Tiny.pm line 38.
Compilation failed in require at /usr/share/perl5/vendor_perl/Module/Runtime.pm line 317.
Compilation failed in require at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 28.
BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/GnuPG/Interface.pm line 28.
Compilation failed in require at /usr/bin/caff line 423.
BEGIN failed--compilation aborted at /usr/bin/caff line 423.

I'm not familiar with perl, but I've had a look at Interface.pm and Options.pm and it looks Options.pm might need the Data::Perl::Role::Collection::Array module which is provided by perl-data-perl.

Regards

pezz commented on 2014-08-19 08:00

Damn, I actually created packages for both of those and put them in the AUR.

Looks like I forgot to add them as deps to this package, will fix now.

Jonhoo commented on 2014-08-19 07:40

From http://deps.cpantesters.org/?module=GnuPG%3A%3AInterface;perl=latest it appears perl-moox-late and perl-moox-handlesvia are also needed as dependencies.

pezz commented on 2014-07-31 03:30

Hey there. This has been broken since the Perl update I'm pretty sure.

There is also a much later version which has a bunch of additional dependencies.

I'm looking at it when I have free time, but that's not always easy. If anyone has an updated PKGBUILD or wants to take ownership, let me know.

Cheers.

MikeDacre commented on 2014-07-29 00:37

I am getting an error in the tests:

PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/clearsign.t .............. ok
t/decrypt.t ................ ok
t/detach_sign.t ............ ok
t/encrypt.t ................ 1/3 gpg: WARNING: unsafe permissions on homedir `test'
t/encrypt.t ................ ok
t/encrypt_symmetrically.t .. Failed 2/2 subtests
t/export_keys.t ............ ok
t/Fingerprint.t ............ ok
t/get_public_keys.t ........ gpg: WARNING: unsafe permissions on homedir `test'
t/get_public_keys.t ........ ok
t/get_secret_keys.t ........ gpg: WARNING: unsafe permissions on homedir `test'
t/get_secret_keys.t ........ ok
t/import_keys.t ............ ok
t/Interface.t .............. ok
t/list_public_keys.t ....... ok
t/list_secret_keys.t ....... ok
t/list_sigs.t .............. ok
t/passphrase_handling.t .... 1/3 gpg: WARNING: unsafe permissions on homedir `test'
t/passphrase_handling.t .... ok
t/sign.t ................... ok
t/sign_and_encrypt.t ....... ok
t/UserId.t ................. ok
t/verify.t ................. ok
t/wrap_call.t .............. ok

Test Summary Report
-------------------
t/encrypt_symmetrically.t (Wstat: 0 Tests: 2 Failed: 2)
Failed tests: 1-2
Files=20, Tests=51, 12 wallclock secs ( 0.07 usr 0.02 sys + 1.42 cusr 0.20 csys = 1.71 CPU)
Result: FAIL
Failed 1/20 test programs. 2/51 subtests failed.
Makefile:845: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255

pezz commented on 2013-09-01 13:05

Added a prepare() function to make sure the trustdb is created before the tests are run.

Must be a quirk with the latest gnupg, never used to behave that way.

Anyway, builds for me now.

larsrh commented on 2013-09-01 12:08

I'm getting an error in the tests:

==> Starting check()...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/clearsign.t .............. ok
t/decrypt.t ................ ok
t/detach_sign.t ............ ok
t/encrypt.t ................ 1/3 gpg: WARNING: unsafe permissions on homedir `test'
gpg: test/trustdb.gpg: trustdb created
t/encrypt.t ................ Failed 1/3 subtests
t/encrypt_symmetrically.t .. ok
t/export_keys.t ............ ok
t/Fingerprint.t ............ ok
t/get_public_keys.t ........ gpg: WARNING: unsafe permissions on homedir `test'
t/get_public_keys.t ........ ok
t/get_secret_keys.t ........ gpg: WARNING: unsafe permissions on homedir `test'
t/get_secret_keys.t ........ ok
t/import_keys.t ............ ok
t/Interface.t .............. ok
t/list_public_keys.t ....... ok
t/list_secret_keys.t ....... ok
t/list_sigs.t .............. ok
t/passphrase_handling.t .... 1/3 gpg: WARNING: unsafe permissions on homedir `test'
t/passphrase_handling.t .... ok
t/sign.t ................... ok
t/sign_and_encrypt.t ....... ok
t/UserId.t ................. ok
t/verify.t ................. ok
t/wrap_call.t .............. ok

Test Summary Report
-------------------
t/encrypt.t (Wstat: 0 Tests: 3 Failed: 1)
Failed test: 1
Files=20, Tests=51, 2 wallclock secs ( 0.07 usr 0.00 sys + 1.66 cusr 0.17 csys = 1.90 CPU)
Result: FAIL
Failed 1/20 test programs. 1/51 subtests failed.
make: *** [test_dynamic] Error 255

LeonidasXIV commented on 2012-10-07 17:02

I had the same problem and can confirm that rebuilding perl-sub-name and then perl-moose and then perl-gnupg-interface helps and now it installs fine.

sacarde commented on 2012-10-04 09:58

oh... I remember I have error with perl-moose some time ago...

I solve rebuild "perl-sub-name" package
and rebuild perl-moose


now works OK perl-gnupg-interface too


thanks

All comments