Passwd-Keyring-OSXKeychain-0.30 fails to install

Issue #4 resolved
Pedro Melo
created an issue

Hi,

MacOS 10.11.6, perl 5.24.0:

Searching Passwd::Keyring::OSXKeychain () on cpanmetadb ...
--> Working on Passwd::Keyring::OSXKeychain
Fetching http://www.cpan.org/authors/id/M/ME/MEKK/Passwd-Keyring-OSXKeychain-0.30.tar.gz
-> FAIL Download http://www.cpan.org/authors/id/M/ME/MEKK/Passwd-Keyring-OSXKeychain-0.30.tar.gz failed. Retrying ... 
-> OK
Unpacking Passwd-Keyring-OSXKeychain-0.30.tar.gz
Entering Passwd-Keyring-OSXKeychain-0.30
Checking configure dependencies from META.json
Checking if you have Module::Build 0.38 ... Yes (0.4220)
Checking if you have ExtUtils::Install 1.46 ... Yes (2.04)
Configuring Passwd-Keyring-OSXKeychain-0.30
Running Build.PL
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Passwd-Keyring-OSXKeychain' version '0.30'
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::Pod::Coverage 1.0 ... Yes (1.10)
Checking if you have Module::Build 0.19 ... Yes (0.4220)
Checking if you have Test::More 0 ... Yes (1.302062)
Checking if you have Encode 0.00 ... Yes (2.80)
Checking if you have Capture::Tiny 0.20 ... Yes (0.44)
Checking if you have IPC::System::Simple 1.18 ... Yes (1.25)
Building and testing Passwd-Keyring-OSXKeychain-0.30
Building Passwd-Keyring-OSXKeychain
# Testing Passwd::Keyring::OSXKeychain 0.30, Perl 5.024000, /Users/melo/.plenv/versions/5.24.0-global/bin/perl5.24.0
t/00-load.t .......................... ok
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/01-set-and-get.t ................... 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 8/8 subtests 
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/02-is-persistent.t ................. 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 2/2 subtests 
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/03-many-sets-and-gets.t ............ 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 11/11 subtests 
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/04-recovering-in-sep-prog.t ........ 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 13/13 subtests 
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/05-many-sets-and-gets-with-name.t .. 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 20/20 subtests 
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/06-recovering-with-app-change.t .... 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 16/16 subtests 
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/07-ugly-chars.t .................... 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 4/4 subtests 
security: SecKeychainCopySettings default-keychain: The specified keychain could not be found.
"/usr/bin/security" unexpectedly returned exit value 50 at /Users/melo/.cpanm/work/1478193210.8496/Passwd-Keyring-OSXKeychain-0.30/blib/lib/Passwd/Keyring/OSXKeychain.pm line 111.
# Looks like your test exited with 50 before it could output anything.
t/08-verylong-params.t ............... 
Dubious, test returned 50 (wstat 12800, 0x3200)
Failed 4/4 subtests 
t/11-parse_password_out_of_output.t .. ok
t/12-password_translate.t ............ ok
t/boilerplate.t ...................... ok
t/cpan-meta-json.t ................... skipped: Test::CPAN::Meta::JSON required for testing META.json
t/cpan-meta.t ........................ skipped: Test::CPAN::Meta required for testing META.yml
t/kwalitee.t ......................... skipped: these tests are for release candidate testing
t/kwalitee_extra.t ................... skipped: these tests are for release candidate testing
t/manifest.t ......................... skipped: Author tests not required for installation
t/pod-coverage.t ..................... ok
t/pod.t .............................. skipped: Test::Pod 1.22 required for testing POD

Test Summary Report
-------------------
t/01-set-and-get.t                 (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 8 tests but ran 0.
t/02-is-persistent.t               (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 2 tests but ran 0.
t/03-many-sets-and-gets.t          (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 11 tests but ran 0.
t/04-recovering-in-sep-prog.t      (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 13 tests but ran 0.
t/05-many-sets-and-gets-with-name.t (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 20 tests but ran 0.
t/06-recovering-with-app-change.t  (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 16 tests but ran 0.
t/07-ugly-chars.t                  (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/08-verylong-params.t             (Wstat: 12800 Tests: 0 Failed: 0)
  Non-zero exit status: 50
  Parse errors: Bad plan.  You planned 4 tests but ran 0.
t/boilerplate.t                    (Wstat: 0 Tests: 3 Failed: 0)
  TODO passed:   1-3
Files=19, Tests=28,  1 wallclock secs ( 0.05 usr  0.04 sys +  0.92 cusr  0.22 csys =  1.23 CPU)
Result: FAIL
Failed 8/19 test programs. 0/28 subtests failed.

Can't figure out what is going on...

I've checked 0.20, it also fails tests, but the error message is different. 0.21 also has the same error messages as 0.30.

Comments (2)

  1. Marcin Kasperski repo owner

    It all goes doewn to security: SecKeychainCopySettings default-keychain: The specified keychain could not be found. Swapping „testing command” should help, I am going to release fix (I finally settled on list-keychains as suggested in issue 1) soon as 0.3001

  2. Log in to comment