ACCESS DENIED open_wr: /usr/lib/perl5/5.8.6/CPAN/Config.pm Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: >>> Unpacking ExtUtils-AutoInstall-0.61.tar.gz to /var/tmp/portage/ExtUtils-AutoInstall-0.61/work >>> Source unpacked. *** ExtUtils::AutoInstall version 0.61 *** Checking for dependencies... [Core Features] - Cwd ...loaded. (3.01) - Carp ...loaded. (1.03) - ExtUtils::Manifest ...loaded. (1.43) - ExtUtils::MakeMaker ...loaded. (6.21) [CPANPLUS Support] - CPANPLUS ...missing. (would need 0.043) ==> Auto-install the 1 optional module(s) from CPAN? [y/N] n [Nondecimal version number support] - Sort::Versions ...loaded. (1.5 >= 1.2) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for ExtUtils::AutoInstall cp lib/ExtUtils/AutoInstall.pm blib/lib/ExtUtils/AutoInstall.pm Manifying blib/man3/ExtUtils::AutoInstall.3pm PERL_DL_NONLAZY=1 /usr/bin/perl5.8.6 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/0-signature.t t/1-basic.t t/0-signature....ok 1/1 skipped: Next time around, consider install Module::Signature, t/1-basic........ACCESS DENIED open_wr: /usr/lib/perl5/5.8.6/CPAN/Config.pm # Test 6 got: <UNDEF> (t/1-basic.t at line 39) # Expected: "Cannot open >/usr/lib/perl5/5.8.6/CPAN/Config.pm at /usr/lib/perl5/5.8.6/CPAN.pm line 1219\n\tCPAN::Config::_configpmtest('/usr/lib/perl5/5.8.6/CPAN', '/usr/lib/perl5/5.8.6/CPAN/Config.pm') called at /usr/lib/perl5/5.8.6/CPAN.pm line 1253\n\tCPAN::Config::load('CPAN::Config') called at /var/tmp/portage/ExtUtils-AutoInstall-0.61/work/ExtUtils-AutoInstall-0.61/blib/lib/ExtUtils/AutoInstall.pm line 495\n\tExtUtils::AutoInstall::_check_lock() called at /var/tmp/portage/ExtUtils-AutoInstall-0.61/work/ExtUtils-AutoInstall-0.61/blib/lib/ExtUtils/AutoInstall.pm line 473\n\tExtUtils::AutoInstall::import('ExtUtils::AutoInstall', '-version', 0.21, '-config', 'HASH(0x83fa430)', '-core', 'ARRAY(0x83fa454)', 'Feature1', 'ARRAY(0x83fa484)', ...) called at (eval 9) line 2\n\tmain::BEGIN() called at /usr/lib/perl5/5.8.6/CPAN/FirstTime.pm line 22\n\teval {...} called at /usr/lib/perl5/5.8.6/CPAN/FirstTime.pm line 22\n\teval 'use ExtUtils::AutoInstall (\n -version\t=> \\'0.21\\',\t# ExtUtils::AutoInstall version\n -config\t=> {\n\tmake_args\t=> \\'--hello\\'\t# option(s) for CPAN::Config \n },\n -core\t=> [\t\t# core modules\n\tPackage0\t=> \\'\\',\t\t# any version would do\n ],\n \\'Feature1\\'\t=> [\n\t# do we want to install this feature by default?\n\t-default\t=> 0,\n\tPackage1\t=> \\'0.01\\',\n ],\n \\'Feature2\\'\t=> [\n\t# associate tests to be disabled along with this\n\t-tests\t\t=> [ $0 ],\n\tPackage2\t=> \\'0.02\\',\n ],\n \\'Feature3\\'\t=> {\t\t\t# hash reference works, too\n\tPackage3\t=> \\'0.03\\',\n },\n); \\'\\';\n\n;' called at t/1-basic.t line 39\nBEGIN failed--compilation aborted at (eval 9) line 22.\n" # (Install the Algorithm::Diff module to have differences in multiline # output explained. You might also set the PERL_TEST_DIFF environment # variable to run a diff program on the output.) # t/1-basic.t line 39 is: ok(eval <<'.', $@); Could not open 'Hacker.pm': No such file or directory at /usr/lib/perl5/vendor_perl/5.8.6/ExtUtils/MM_Unix.pm line 3088. dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED test 6 Failed 1/6 tests, 83.33% okay Failed 1/2 test scripts, 50.00% okay. 1/7 subtests failed, 85.71% okay. Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/1-basic.t 2 512 6 1 16.67% 6 1 subtest skipped. make: *** [test_dynamic] Error 2
Just add. note: AutoInstall-0.59 works fine.
Steps I took to get this to compile: perl -MCPAN -eshell Do the CPAN module configuration It then broke with: Writing Makefile for ExtUtils::AutoInstall cp lib/ExtUtils/AutoInstall.pm blib/lib/ExtUtils/AutoInstall.pm Manifying blib/man3/ExtUtils::AutoInstall.3pm PERL_DL_NONLAZY=1 /usr/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/0-signature.t t/1-basic.t t/0-signature....gpgkeys: WARNING: this is an *experimental* HKP interface! gpg: failed to create temporary file `/var/tmp/portage/homedir/.gnupg/.#lk0x80123504.c0re.2169': No such file or directory gpg: keyblock resource `/var/tmp/portage/homedir/.gnupg/pubring.gpg': general error gpg: Signature made Tue Oct 19 08:04:08 2004 BST using DSA key ID 3C3501A0 gpg: no writable keyring found: eof gpg: error reading `[stream]': general error gpg: Can't check signature: public key not found ==> BAD/TAMPERED signature detected! <== t/0-signature....FAILED test 1 Failed 1/1 tests, 0.00% okay t/1-basic........ok So I said mkdir -p /var/tmp/portage/homedir/.gnupg chown portage: -R /var/tmp/portage/homedir The ebuild will now compile. I'd investigate more, but I have to run off to work.. ;)
The problem is that right now we haven't had to deal with Module::Signature support. But if you've done anything via CPAN of late, then Module::Signature may have been installed without asking you. During the test phase of a module, if Module::Signature is present it will use it (and result in your error), if it isn't present it just moves along. Guess the question for our end is - disable tests because of this for now or find a way to work Module-Signature support in? I favor the latter, but would recommend disabling the tests for now to get past this in your case (if you edit the ebuild and remove the SRC_TEST line you will be fine).
Take anybody care about CPAN? Is there any concept for zillion cpan modules in portage? At the moment also almost everything in ~ is outdated. Package namespace installed latest in CPAN file B::Utils 0.04_01 0.05 J/JJ/JJORE/B-Utils-0.05.tar.gz CGI 3.05 3.07 L/LD/LDS/CGI.pm-3.07.tar.gz Class::ISA 0.32 0.33 S/SB/SBURKE/Class-ISA-0.33.tar.gz Compress::Zlib 1.33 1.34 P/PM/PMQS/Compress-Zlib-1.34.tar.gz Cwd 3.01 3.05 K/KW/KWILLIAMS/PathTools-3.05.tar.gz DBD::File 0.31 0.33 J/JZ/JZUCKER/DBD-File-0.33.tar.gz DBD::mysql 2.9003 2.9006 R/RU/RUDY/DBD-mysql-2.9006.tar.gz DBI 1.46 1.48 T/TI/TIMB/DBI-1.48.tar.gz DB_File 1.810 1.811 P/PM/PMQS/DB_File-1.811.tar.gz Devel::PPPort 3.03 3.06 M/MH/MHX/Devel-PPPort-3.06.tar.gz Digest 1.08 1.10 G/GA/GAAS/Digest-1.10.tar.gz Digest::MD4 1.3 1.5 M/MI/MIKEM/DigestMD4/Digest-MD4-1.5.tar.gz Encode 2.08 2.09 D/DA/DANKOGAI/Encode-2.09.tar.gz Event 1.00 1.04 J/JP/JPRIT/Event-1.04.tar.gz ExtUtils::AutoInstall 0.59 0.61 A/AU/AUTRIJUS/ExtUtils-AutoInstall-0.61.tar.gz ExtUtils::CBuilder 0.05 0.11 K/KW/KWILLIAMS/ExtUtils-CBuilder-0.11.tar.gz ExtUtils::Command 1.07 1.09 M/MS/MSCHWERN/ExtUtils-MakeMaker-6.27.tar.gz ExtUtils::Constant 0.1401 0.16 N/NW/NWCLARK/ExtUtils-Constant-0.16.tar.gz ExtUtils::ParseXS 2.08 2.09 K/KW/KWILLIAMS/ExtUtils-ParseXS-2.09.tar.gz File::Temp 0.14 0.16 T/TJ/TJENNESS/File-Temp-0.16.tar.gz Filter::Simple 0.78 0.79 D/DC/DCONWAY/Filter-Simple-0.79.tar.gz HTML::Entities 1.27 1.29 G/GA/GAAS/HTML-Parser-3.45.tar.gz IO::String 1.05 1.06 G/GA/GAAS/IO-String-1.06.tar.gz IO::Zlib 1.01 1.04 T/TO/TOMHUGHES/IO-Zlib-1.04.tar.gz Locale::TextDomain 1.10 1.11 G/GU/GUIDO/libintl-perl-1.11.tar.gz Locale::gettext 1.03 1.04 P/PV/PVANDRY/gettext-1.04.tar.gz Math::BigFloat 1.47 1.49 T/TE/TELS/math/Math-BigInt-1.75.tar.gz Math::BigRat 0.13 0.14 T/TE/TELS/math/Math-BigRat-0.14.tar.gz Module::Build 0.2608 0.2609 K/KW/KWILLIAMS/Module-Build-0.2609.tar.gz Module::Info 0.26 0.27 M/MB/MBARBON/Module-Info-0.27.tar.gz Net::DNS 0.48 0.49 O/OL/OLAF/Net-DNS-0.49.tar.gz Pod::Find 0.24 1.3 M/MA/MAREKR/Pod-Parser-1.30.tar.gz Pod::LaTeX 0.56 0.58 T/TJ/TJENNESS/Pod-LaTeX-0.58.tar.gz Pod::Perldoc 3.13 3.14 S/SB/SBURKE/Pod-Perldoc-3.14.tar.gz RPC::PlClient 0.2016 0.2018 J/JW/JWIED/PlRPC-0.2018.tar.gz SVN::Simple::Edit 0.26 0.27 C/CL/CLKAO/SVN-Simple-0.27.tar.gz Term::ANSIColor 1.08 1.09 R/RR/RRA/ANSIColor-1.09.tar.gz Term::ReadKey 2.21 2.30 J/JS/JSTOWE/TermReadKey-2.30.tar.gz Test::Builder 0.17 0.22 M/MS/MSCHWERN/Test-Simple-0.54.tar.gz Test::Harness 2.42 2.46 P/PE/PETDANCE/Test-Harness-2.46.tar.gz Text::Soundex 1.01 3.02 M/MA/MARKM/Text-Soundex-3.02.tar.gz Time::HiRes 1.65 1.66 J/JH/JHI/Time-HiRes-1.66.tar.gz Time::Local 1.10 1.11 D/DR/DROLSKY/Time-Local-1.11.tar.gz Unicode::Normalize 0.30 0.32 S/SA/SADAHIRO/Unicode-Normalize-0.32.tar.gz XML::Writer 0.510 0.531 J/JO/JOSEPHW/XML-Writer-0.531.tar.gz YAML 0.36 0.38 I/IN/INGY/YAML-0.38.tar.gz bigint 0.05 0.06 T/TE/TELS/math/bignum-0.16.tar.gz if 0.03 0.0401 I/IL/ILYAZ/modules/if-0.0401.tar.gz
Module-Signature is in the tree now to help stem these sorts of problems.. A real list of the modules we are "out of date" on is at : http://www.datanode.net/gentoo-perl/cpan-ebuilds.html and is the subject of a different bug report. I do care - I also have higher priorities than a single .0001 version bump because someone mistyped their name in a pod. Not saying that these aren't valid bumps, just doing the best I can.
...and to continue my reactionary rant, your list is wrong - it's listing modules that there aren't even ebuilds for, or that there are ebuilds for but that are ~arch right now and you haven't installed. Can't use a module versions listing based only on the ones you've installed ;) That link I provided is updated once a day and is based on ebuilds in the tree (no matter their keyword) and the current CPAN listing.
Great work, sure, you are right, sorry for my bad english. My intend was just searching/asking for some way to handle so many modules on cpan. Now, if I need some module from CPAN, I have to manage it myself. IMHO, it is very difficult to trace which ebuild installs which perl module of which version. They also trow some "installation only" modules away. I was some confusing who they are, cose I needed them for my own work. I think, there must be some other way than produce for hundreds and thousands modules hundreds and thousands ebuils ?? This is here OT and it doesn't greatly matter, not perfect - but it works for me;) thx martin
Just realized after my off topic rant (sorry about that) I never posted a real follow up to this. Module-Signature is in the tree right now, ~arch'd for x86 and sparc, which addresses comment #2, but now I see that that was just an attempt to get around OP - will bump this on my list of things to look at this weekend.
Ahhhhhh....I see why this is failing...had you ever run cpan -e shell under 5.8.6 prior to attempting to install extutils-autoinstall? I'm by no means saying this is valid (and good grounds for skipping the test), but it looks to me that the package is attempting to read your cpan config (which if you've never run under this install of perl, doesn't exist, hence the openwr's to the config file as it attempts to generate one). Thinking this is a good reason to disable the tests all together unless someone pipes up otherwise. Can't *expect* users to have used cpan prior to installing this module after all.
This should all be resolved now. Please re-open if you are still having problems following an emerge sync around the middle of april.