Without dev-perl/File-Find-Rule installed: # emerge dev-perl/DateTime ... 1/1 skipped: File::Find::Rule not installed Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/23storable.t 2 512 5 10 200.00% 1-5 1 subtest skipped. Failed 1/31 test scripts, 96.77% okay. 5/2738 subtests failed, 99.82% okay. make: *** [test_dynamic] Error 255 !!! ERROR: dev-perl/DateTime-0.22 failed. !!! Function perl-module_src_compile, Line 64, Exitcode 2 !!! test failed Reproducible: Always Steps to Reproduce: 1. Remove dev-perl/File-Find-Rule 2. Remove dev-perl/Test-Pod 2. emerge dev-perl/DateTime Actual Results: See details, and it still fails: Expected Results: Installed DateTime-0.22 Calculating dependencies ...done! >>> emerge (1 of 3) dev-perl/DateTime-0.22 to / >>> md5 src_uri ;-) DateTime-0.22.tar.gz >>> Unpacking source... >>> Unpacking DateTime-0.22.tar.gz to /var/tmp/portage/DateTime-0.22/work >>> Source unpacked. Testing if you have a C compiler gcc -O3 -pipe -march=pentium4 -fomit-frame-pointer -c -o test.o test.c Checking if your kit is complete... Looks good Warning: prerequisite DateTime::TimeZone 0.26 not found. We have 0.2507. Writing Makefile for DateTime cp lib/DateTime.pm blib/lib/DateTime.pm cp lib/DateTimePP.pm blib/lib/DateTimePP.pm cp lib/DateTime/Duration.pm blib/lib/DateTime/Duration.pm cp lib/DateTimePPExtra.pm blib/lib/DateTimePPExtra.pm cp lib/DateTime/Infinite.pm blib/lib/DateTime/Infinite.pm cp lib/DateTime/LeapSecond.pm blib/lib/DateTime/LeapSecond.pm /usr/bin/perl5.8.4 /usr/lib/perl5/5.8.4/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.4/ExtUtils/typemap DateTime.xs > DateTime.xsc && mv DateTime.xsc DateTime.c gcc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -march=pentium4 -fomit-frame-pointer -DVERSION=\"0.22\" -DXS_VERSION=\"0.22\" -fPIC "-I/usr/lib/perl5/5.8.4/i686-linux/CORE" DateTime.c Running Mkbootstrap for DateTime () chmod 644 DateTime.bs rm -f blib/arch/auto/DateTime/DateTime.so LD_RUN_PATH="" gcc -shared -L/usr/local/lib DateTime.o -o blib/arch/auto/DateTime/DateTime.so chmod 755 blib/arch/auto/DateTime/DateTime.so cp DateTime.bs blib/arch/auto/DateTime/DateTime.bs chmod 644 blib/arch/auto/DateTime/DateTime.bs Manifying blib/man3/DateTime.3pm Manifying blib/man3/DateTime::Duration.3pm Manifying blib/man3/DateTime::Infinite.3pm Manifying blib/man3/DateTime::LeapSecond.3pm PERL_DL_NONLAZY=1 /usr/bin/perl5.8.4 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00load................ok t/01sanity..............ok t/02last_day............ok t/03components..........ok t/04epoch...............ok t/05set.................ok t/06add.................ok t/07compare.............ok t/09greg................ok 34/35# this may take a minute... t/09greg................ok t/10subtract............ok t/11duration............ok t/12week................ok t/13strftime............ok 44/132# New locale: de t/13strftime............ok 79/132# New locale: it t/13strftime............ok t/14locale..............ok t/15jd..................ok t/16truncate............ok t/17set_return..........ok t/18today...............ok t/19leap_second.........ok t/20infinite............ok t/21bad_params..........ok t/22from_doy............ok t/23storable............Item #1 returned by STORABLE_freeze for DateTime is not a reference at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 287, at t/23storable.t line 27 # Looks like your test died before it could output anything. t/23storable............dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-5 Failed 5/5 tests, 0.00% okay t/24from_object.........ok t/25add_subtract........ok t/26dt_leapsecond_pm....ok t/27delta...............ok t/28dow.................ok t/29overload............ok t/30future_tz...........ok t/99-pod................ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/23storable.t 2 512 5 10 200.00% 1-5 Failed 1/31 test scripts, 96.77% okay. 5/2743 subtests failed, 99.82% okay. make: *** [test_dynamic] Error 255 !!! ERROR: dev-perl/DateTime-0.22 failed. !!! Function perl-module_src_compile, Line 64, Exitcode 2 !!! test failed
Sort of... The tests require those modules - not a functional install of the module itself. This kind of hits the line of adding deps that are only used during the testing phase and not ever again. I'm leaning towards removing the tests on this one. (looking for objections...)
conceded and added dep. closing bug.