Note: the process goes farther but still fails after an upgrade of Digest-MD5, but not on the prior version (the system being a virgin install of 1.4_rc1). The first failure: ------------------ >>> md5 ;-) Digest-HMAC-1.01.tar.gz >>> Unpacking source... >>> Unpacking Digest-HMAC-1.01.tar.gz >>> Source unpacked. Checking if your kit is complete... Looks good Warning: prerequisite Digest::MD5 2 not found. Writing Makefile for Digest::HMAC cp lib/Digest/HMAC_MD5.pm blib/lib/Digest/HMAC_MD5.pm cp lib/Digest/HMAC.pm blib/lib/Digest/HMAC.pm cp lib/Digest/HMAC_SHA1.pm blib/lib/Digest/HMAC_SHA1.pm Manifying blib/man3/Digest::HMAC_SHA1.3pm Manifying blib/man3/Digest::HMAC.3pm Manifying blib/man3/Digest::HMAC_MD5.3pm PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/rfc2202...........Can't locate Digest/MD5.pm in @INC (@INC contains: /var/tmp/portage/Digest-HMAC-1.01- 1/work/Digest-HMAC-1.01/blib/lib /var/tmp/portage/Digest-HMAC-1.01-r1/work/Digest-HMAC-1.01/blib/arch /us /lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl 5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/ ite_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.1/ 686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 / sr/lib/perl5/site_perl .) at /var/tmp/portage/Digest-HMAC-1.01-r1/work/Digest-HMAC-1.01/blib/lib/Digest/H AC_MD5.pm line 5. BEGIN failed--compilation aborted at /var/tmp/portage/Digest-HMAC-1.01-r1/work/Digest-HMAC-1.01/blib/lib/ igest/HMAC_MD5.pm line 5. Compilation failed in require at t/rfc2202.t line 50. BEGIN failed--compilation aborted at t/rfc2202.t line 50. t/rfc2202...........dubious Test returned status 2 (wstat 512, 0x200) FAILED--1 test script could be run, alas--no output ever seen make: *** [test_dynamic] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 4712, Exitcode 2 !!! Tests didn't work out. Aborting! The second failure: ------------------- /var/tmp/portage/razor-2.12/image//usr/bin/razor-client Can't locate URI/Escape.pm in @INC (@INC contains: lib /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at lib/Razor2/String.pm line 5. BEGIN failed--compilation aborted at lib/Razor2/String.pm line 5. Compilation failed in require at (eval 7) line 3. ...propagated at /usr/lib/perl5/5.6.1/base.pm line 62. BEGIN failed--compilation aborted at lib/Razor2/Client/Core.pm line 21. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.6.1/base.pm line 62. BEGIN failed--compilation aborted at lib/Razor2/Client/Agent.pm line 17. Compilation failed in require at /var/tmp/portage/razor-2.12/image//usr/bin/razor-client line 21. BEGIN failed--compilation aborted at /var/tmp/portage/razor-2.12/image//usr/bin/razor-client line 21. make: *** [install_razor_agents] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function perl-module_src_install, Line -662, Exitcode 2 !!! (no error message)
It also apparently requires Net-DNS, but even after emerging the upgrade to the current version of that, the razor emerge gives: Warning: prerequisite Net::DNS 0 not found.
Grabbing the latest Net::DNS from cpan and building it results in a Net::DNS that cannot pass its own tests because of a failure to fine MIME::Base64 - upgrading that through emerge fixes that problem, and appears to let the Gentoo Net::DNS work, which brings us to: /var/tmp/portage/razor-2.12/image//usr/bin/razor-client Can't locate URI/Escape.pm in @INC (@INC contains: lib /usr/lib/perl5/5.6.1/i686-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i686-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at lib/Razor2/String.pm line 5. BEGIN failed--compilation aborted at lib/Razor2/String.pm line 5. Compilation failed in require at (eval 7) line 3. ...propagated at /usr/lib/perl5/5.6.1/base.pm line 62. BEGIN failed--compilation aborted at lib/Razor2/Client/Core.pm line 21. Compilation failed in require at (eval 1) line 3. ...propagated at /usr/lib/perl5/5.6.1/base.pm line 62. BEGIN failed--compilation aborted at lib/Razor2/Client/Agent.pm line 17. Compilation failed in require at /var/tmp/portage/razor-2.12/image//usr/bin/razor-client line 21. BEGIN failed--compilation aborted at /var/tmp/portage/razor-2.12/image//usr/bin/razor-client line 21. make: *** [install_razor_agents] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function perl-module_src_install, Line -662, Exitcode 2 !!! (no error message) - "emerge URI" produces an upgrade and then - AHAH, razor builds. So it looks like "emerge razor" needs to be more fussy about perl module version dependencies.
emerge rsync emerge ExtUtils-MakeMaker For reasons beyond my knowledge, the required support for this module was removed - however, it fixes a bug with where your perl modules are being placed (which is why emerge will say a module is installed, but perl will say that it cannot find it in @INC). Once MakeMaker is re-emerged (should now be a part of the standard profile as well as a dep in the perl-module eclass, but let's be safe), you will need to re-emerge both the perl modules that razor depends on as well as razor. The core of the problem isn't that the deps aren't being fulfilled, but that they are being installed wrong by portage. Please let me know how this works for you, Michael