Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277211 - dev-perl/Test-Most needs versioned dependencies
Summary: dev-perl/Test-Most needs versioned dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-09 15:56 UTC by Daniel Westermann-Clark
Modified: 2009-07-09 16:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Westermann-Clark 2009-07-09 15:56:10 UTC
Hi,

dev-perl/Test-Most lists correct dependencies (as compared to the package's Build.PL), but omits the version numbers.  This isn't an issue if you're running ~x86 or ~amd64, as you'll get recent enough packages.  However, if you're running a mixed system, you get a version of Test::Builder that is too old.  This causes the Test-Most tests to fail.

Adding perl-core/Test-Simple and virtual/perl-Test-Simple to /etc/portage/package.keywords fixes this, but dev-perl/Test-Most should probably be explicit about the versions it needs.

http://cpansearch.perl.org/src/OVID/Test-Most-0.21/Build.PL

Reproducible: Always

Steps to Reproduce:
1. emerge -av dev-perl/Test-Most
Actual Results:  
>>> Emerging (5 of 6) dev-perl/Test-Most-0.21
 * Test-Most-0.21.tar.gz RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
>>> Unpacking source...
>>> Unpacking Test-Most-0.21.tar.gz to /var/tmp/portage/dev-perl/Test-Most-0.21/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Test-Most-0.21/work
>>> Preparing source in /var/tmp/portage/dev-perl/Test-Most-0.21/work/Test-Most-0.21 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Test-Most-0.21/work/Test-Most-0.21 ...
 * Using Module::Build
Checking whether your kit is complete...
Looks good

Checking prerequisites...
 - ERROR: Test::Simple (0.70) is installed, but we need version >= 0.82
 * Optional prerequisite Data::Dumper::Names is not installed
 
ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Creating new 'Build' script for 'Test-Most' version '0.21'
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Test-Most-0.21/work/Test-Most-0.21 ...
Copying lib/Test/Most/Exception.pm -> blib/lib/Test/Most/Exception.pm
Copying lib/Test/Most.pm -> blib/lib/Test/Most.pm
Manifying blib/lib/Test/Most.pm -> blib/libdoc/Test::Most.3pm
Manifying blib/lib/Test/Most/Exception.pm -> blib/libdoc/Test::Most::Exception.3pm
>>> Source compiled.
t/00-load.t ........ 1/9 # Testing Test::Most 0.21, Perl 5.008008, /usr/bin/perl5.8.8
#     Exception::Class version is 1.23
#     Test::Deep version is 0.098
#     Test::Differences version is 0.47
#     Test::Exception version is 0.27
#     Test::Harness version is 3.17
#     Test::Simple version is 0.7
#     Test::Warn version is 0.11
t/00-load.t ........ ok
t/common.t ......... ok
t/defer_plan.t ..... ok
t/env_bail.t ....... 1/7 Can't locate object method "todo_start" via package "Test::Builder" at t/lib/OurTester.pm line 68.
# Looks like you planned 7 tests but only ran 2.
# Looks like your test died just after 2.
t/env_bail.t ....... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/7 subtests
t/env_die.t ........ 1/7 Can't locate object method "todo_start" via package "Test::Builder" at t/lib/OurTester.pm line 68.
# Looks like you planned 7 tests but only ran 2.
# Looks like your test died just after 2.
t/env_die.t ........ Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/7 subtests
t/exception.t ...... ok
t/explain.t ........ 1/4 Data::Dumper::Names 0.03 not found.  Use explain() instead of show() at lib/Test/Most.pm line 396.
t/explain.t ........ ok
t/function_bail.t .. 1/? Can't locate object method "todo_start" via package "Test::Builder" at t/lib/OurTester.pm line 68.
# Looks like your test died just after 2.
t/function_bail.t .. Dubious, test returned 255 (wstat 65280, 0xff00)
All 2 subtests passed
t/function_die.t ... 1/7 Can't locate object method "todo_start" via package "Test::Builder" at t/lib/OurTester.pm line 68.
# Looks like you planned 7 tests but only ran 2.
# Looks like your test died just after 2.
t/function_die.t ... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/7 subtests
t/import_bail.t .... 1/7 Can't locate object method "todo_start" via package "Test::Builder" at t/lib/OurTester.pm line 68.
# Looks like you planned 7 tests but only ran 2.
# Looks like your test died just after 2.
t/import_bail.t .... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/7 subtests
t/import_die.t ..... 1/7 Can't locate object method "todo_start" via package "Test::Builder" at t/lib/OurTester.pm line 68.
# Looks like you planned 7 tests but only ran 2.
# Looks like your test died just after 2.
t/import_die.t ..... Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 5/7 subtests

Test Summary Report
-------------------
t/env_bail.t     (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
t/env_die.t      (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
t/function_bail.t (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
t/function_die.t (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
t/import_bail.t  (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
t/import_die.t   (Wstat: 65280 Tests: 2 Failed: 0)
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 7 tests but ran 2.
Files=11, Tests=38,  1 wallclock secs ( 0.03 usr  0.02 sys +  0.54 cusr  0.14 csys =  0.73 CPU)
Result: FAIL
Failed 6/11 test programs. 0/38 subtests failed.
 *
 * ERROR: dev-perl/Test-Most-0.21 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2539:  Called perl-module_src_test
 *             environment, line 2364:  Called die
 * The specific snippet of code:
 *               ./Build test || die "test failed";
 *  The die message:
 *   test failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-perl/Test-Most-0.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Test-Most-0.21/temp/environment'.
 *

>>> Failed to emerge dev-perl/Test-Most-0.21, Log file:

>>>  '/var/tmp/portage/dev-perl/Test-Most-0.21/temp/build.log'

 * Messages for package dev-perl/Test-Most-0.21:

 * 
 * ERROR: dev-perl/Test-Most-0.21 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_test
 *             environment, line 2539:  Called perl-module_src_test
 *             environment, line 2364:  Called die
 * The specific snippet of code:
 *               ./Build test || die "test failed";
 *  The die message:
 *   test failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-perl/Test-Most-0.21/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Test-Most-0.21/temp/environment'.
 * 

 * GNU info directory index is up-to-date.

Expected Results:  
>>> Emerging (2 of 4) dev-perl/Test-Most-0.21
 * Test-Most-0.21.tar.gz RMD160 SHA1 SHA256 size ;-) ...                  [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
>>> Unpacking source...
>>> Unpacking Test-Most-0.21.tar.gz to /var/tmp/portage/dev-perl/Test-Most-0.21/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Test-Most-0.21/work
>>> Preparing source in /var/tmp/portage/dev-perl/Test-Most-0.21/work/Test-Most-0.21 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Test-Most-0.21/work/Test-Most-0.21 ...
 * Using Module::Build
Checking whether your kit is complete...
Looks good  

Checking prerequisites...
 * Optional prerequisite Data::Dumper::Names is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Creating new 'Build' script for 'Test-Most' version '0.21'
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Test-Most-0.21/work/Test-Most-0.21 ...
Copying lib/Test/Most/Exception.pm -> blib/lib/Test/Most/Exception.pm
Copying lib/Test/Most.pm -> blib/lib/Test/Most.pm
Manifying blib/lib/Test/Most.pm -> blib/libdoc/Test::Most.3pm
Manifying blib/lib/Test/Most/Exception.pm -> blib/libdoc/Test::Most::Exception.3pm
>>> Source compiled.
t/00-load.t ........ 1/9 # Testing Test::Most 0.21, Perl 5.008008, /usr/bin/perl5.8.8
#     Exception::Class version is 1.23
#     Test::Deep version is 0.098
#     Test::Differences version is 0.47
#     Test::Exception version is 0.27
#     Test::Harness version is 3.17
#     Test::Simple version is 0.92
#     Test::Warn version is 0.11
t/00-load.t ........ ok
t/common.t ......... ok
t/defer_plan.t ..... ok
t/env_bail.t ....... ok
t/env_die.t ........ ok
t/exception.t ...... ok
t/explain.t ........ 1/4 Data::Dumper::Names 0.03 not found.  Use explain() instead of show() at lib/Test/Most.pm line 396.
t/explain.t ........ ok
t/function_bail.t .. ok
t/function_die.t ... ok
t/import_bail.t .... ok
t/import_die.t ..... ok
All tests successful.
Files=11, Tests=68,  1 wallclock secs ( 0.03 usr  0.02 sys +  0.58 cusr  0.13 csys =  0.76 CPU)
Result: PASS

>>> Install Test-Most-0.21 into /var/tmp/portage/dev-perl/Test-Most-0.21/image/ category dev-perl
Installing /var/tmp/portage/dev-perl/Test-Most-0.21/image/usr/lib64/perl5/vendor_perl/5.8.8/Test/Most.pm
Installing /var/tmp/portage/dev-perl/Test-Most-0.21/image/usr/lib64/perl5/vendor_perl/5.8.8/Test/Most/Exception.pm
Installing /var/tmp/portage/dev-perl/Test-Most-0.21/image/usr/share/man/man3/Test::Most.3pm
Installing /var/tmp/portage/dev-perl/Test-Most-0.21/image/usr/share/man/man3/Test::Most::Exception.3pm
>>> Completed installing Test-Most-0.21 into /var/tmp/portage/dev-perl/Test-Most-0.21/image/


>>> Installing (2 of 4) dev-perl/Test-Most-0.21
 * checking 4 files for package collisions
--- /usr/   
--- /usr/lib64/
--- /usr/lib64/perl5/
--- /usr/lib64/perl5/vendor_perl/
--- /usr/lib64/perl5/vendor_perl/5.8.8/
--- /usr/lib64/perl5/vendor_perl/5.8.8/Test/
>>> /usr/lib64/perl5/vendor_perl/5.8.8/Test/Most.pm
>>> /usr/lib64/perl5/vendor_perl/5.8.8/Test/Most/
>>> /usr/lib64/perl5/vendor_perl/5.8.8/Test/Most/Exception.pm
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/Test-Most-0.21/
>>> /usr/share/doc/Test-Most-0.21/Changes.bz2
>>> /usr/share/doc/Test-Most-0.21/README.bz2

Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29.4 x86_64)
=================================================================
System uname: Linux-2.6.29.4-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Thu, 09 Jul 2009 06:45:02 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages notitles parallel-fetch protect-owned sandbox sfperms sign strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/dwc-perl-experimental /usr/local/overlays/other"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr emacs encode fbcon firefox flac fortran gdbm gif gnome gnutls gpgme gpm gtk gtk2 gtkhtml hal iconv imlib ipod isdnlog jpeg libnotify lirc live maildir midi mmx mozilla mp3 mpeg mudflap multilib musicbrainz ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python readline reflection samba session smime speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l v4l2 vorbis xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LIRC_DEVICES="livedrive_midi" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia v4l vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS