Package Details: perl-gnupg-interface 0.52-3

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: 32
Popularity: 0.022692
First Submitted: 2008-04-24 19:13
Last Updated: 2017-09-04 00:38

Latest Comments

maxweiss commented on 2017-09-06 13:51

@pezz That did the trick, thanks!

What happened was part of my regular maintenance is getting rid of unused packages via "pacman -Rscnd $(pacman -Qqdt)", and so perl-module-install had been removed. Then, since it wasn't listed as a dependency, pacaur didn't auto-grab it before trying to install your package.

But I have a number of perl packages that use it, so I just installed it by itself, so now it won't get removed next time I clear out unused packages. Problem solved.

Thanks for the help and for the quick response.

pezz commented on 2017-09-05 03:00

@maxweiss Try re-installing perl-module-install

There are a lot of packages that still need rebuilding in the AUR. I've taken care of the ones that I maintain and flagged out-of-date ones that I know of.

perl-gnupg-interface builds fine once the dependencies are right.

Cheers.

maxweiss commented on 2017-09-05 00:57

I get the following failure during install attempts. I assume it's related to the recent Perl library path change that was in the Arch newsletter, but I don't know enough about Perl or its packages to know what to do here to fix it..

Package version 0.52, rel 3.

--------

gpg: WARNING: unsafe permissions on homedir '/home/user/.cache/pacaur/perl-gnupg-interface/src/GnuPG-Interface-0.52/test'

gpg: /home/user/.cache/pacaur/perl-gnupg-interface/src/GnuPG-Interface-0.52/test/trustdb.gpg: trustdb created

Can't locate inc/Module/Install.pm in @INC (you may need to install the inc::Module::Install module) (@INC contains: /usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at Makefile.PL line 3.

BEGIN failed--compilation aborted at Makefile.PL line 3.

==> ERROR: A failure occurred in build().

Aborting...

:: failed to build perl-gnupg-interface package(s)

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.

All comments