Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42455 - Can't install /dev-ruby/testunit-0.1.8 - self test failure
Summary: Can't install /dev-ruby/testunit-0.1.8 - self test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 02:04 UTC by Kirill Vasiliev
Modified: 2004-02-26 09:55 UTC (History)
0 users

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


Attachments
Full trace of emerging testunit (testunit.bug,6.46 KB, text/plain)
2004-02-22 02:07 UTC, Kirill Vasiliev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kirill Vasiliev 2004-02-22 02:04:21 UTC
/dev-lang/ruby-1.8.1-r2
kwas@Redled ~ % ruby --version
ruby 1.8.1 (2004-02-06) [i686-linux-gnu]
Full trace of "emerge testunit" will be included as attachment

Reproducible: Always
Steps to Reproduce:
1.Just emerge testunit
2.
3.

Actual Results:  
1) Failure!!!
test_hashing(Test::Unit::Util::TC_ProcWrapper) [./util/tc_procwrapper.rb:25]:
The original and munged procs should not have the same hash.
<538261804> expected to be != to
<538261804>

44 tests, 383 assertions, 1 failures, 0 errors
install failed
hook
/var/tmp/portage/testunit-0.1.8/work/testunit-0.1.8/packages/testunit/lib/pre-install.rb
failed:
Tests failed!
try 'ruby setup.rb --help' for usage

!!! ERROR: dev-ruby/testunit-0.1.8 failed.
!!! Function src_install, Line 18, Exitcode 1
!!! (no error message)


Expected Results:  
testunit installed

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0,
2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(TM)Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=32 -Os -pipe -fomit-frame-pointer -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -funroll-loops -frerun-cse-after-loop
-frerun-loop-opt -falign-functions=32 -Os -pipe -fomit-frame-pointer -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox userpriv"
GENTOO_MIRRORS="ftp://mirror.gentoo.ru/pub/mirror/gentoo/
gentoo.matrixtelecom.ru
http://www.dvo.ru/pub/Gentoo/www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/
ftp://linux4u.jinr.ru/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apache2 apm arts avi berkdb bonobo cdr crypt cups directfb dvd
encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imap imlib java
jpeg kde libg++ libwww mad mikmod mmx motif mozcalendar mozilla mpeg mule mysql
ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt
quicktime readline ruby sasl sdl slang spell sse ssl svga tcltk tcpd tetex
truetype usb x86 xml2 xmms xv zlib"
Comment 1 Kirill Vasiliev 2004-02-22 02:07:52 UTC
Created attachment 26085 [details]
Full trace of emerging testunit
Comment 2 Kirill Vasiliev 2004-02-22 04:53:05 UTC
From http://testunit.talbott.ws/ :

08-20-2003 
Comment 3 Kirill Vasiliev 2004-02-22 04:53:05 UTC
From http://testunit.talbott.ws/ :

08-20-2003  From Ruby release 1.8.0 and on, Test::Unit resides in the standard distribution. All development will take place in the main Ruby tree with changes tracked in the main Ruby ChangeLog. Test::Unit 0.1.8 is the last release for the 1.6 Ruby line, and I will continue to make it available for that purpose.

Maybe we should add some kind of warning and restrict ruby version to 1.6 only?
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-26 09:55:32 UTC
I made it depend on ruby16 only and add some comment (warnings in
pkg_setup won't help because it still tries to install ruby16 before
you see it). Thanks for reporting.