Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 61098

Summary: In colinux, dev-lang/perl-5.8.4 does not completely compile, stuck on testing lib/Benchmark
Product: Gentoo Linux Reporter: piyokun
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description piyokun 2004-08-20 20:02:41 UTC
Using colinux, emerging dev-lang/perl-5.8.4 from perl-5.8.2-r1 does not successfully complete. The download completes, and the compile proceeds, however the compile makes no progress. It is stuck at this part:
...
lib/AnyDBM_File......................ok
lib/Attribute/Handlers/t/multi.......ok
lib/AutoLoader.......................ok
lib/AutoSplit........................ok
lib/autouse..........................ok
lib/base/t/base......................ok
lib/base/t/fields-base...............ok
lib/base/t/fields....................ok
lib/Benchmark........................

I wait for 2 days but nothing proceeds.
Pressing Control-C at this point yields:

lib/Benchmark........................
Caught signal 2
make[2]: *** [_test_tty] Interrupt
make[1]: *** [_test] Interrupt
make: *** [test] Interrupt

/usr/portage/dev-lang/perl/perl-5.8.4.ebuild: src_compile aborted; exiting.


Reproducible: Always
Steps to Reproduce:
1. colinux install: http://prdownloads.sourceforge.net/colinux/coLinux-0.6.1.exe?download
2. colinux os image gentoo linux 2.4.x: http://prdownloads.sourceforge.net/colinux/gentoo-i686-ext3-1gb.bz2?download
3. emerge sync
3. emerge -uDva perl (or world)
Actual Results:  
The dev-lang/perl does not emerge to 5.8.4. See details.

Expected Results:  
The emerge should have completed with the test either in ok or failed. The
dev-lang/perl package should have either installed or not installed.

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1,
2.4.26-co-0.6.1)
=================================================================
System uname: 2.4.26-co-0.6.1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO
http://ftp.gentoo.or.kr/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://pepper/gentoo-portage"
USE="X apache2 apm avi berkdb canna cjk crypt emacs emacs-w3 encode esd
foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif
mpeg ncurses nls odbc oggvorbis oss pam pcre pdflib perl php png postgres python
qt quicktime readline ruby samba sdl slang spell ssl svga tcpd truetype unicode
x86 xml2 xmms xv zlib"
Comment 1 piyokun 2004-09-03 15:30:13 UTC
According to search results "Perl" in "Cooperative Linux" mailing list at Sourceforge (http://sourceforge.net/search/index.php?type_of_search=mlists&group_id=98788&forum_id=40587) this bug is a result of a deficiency of Colinux 0.61. It has something to do with the resolution of high performance timers and/or the failure of the make tests for Time::Hires. The current workarounds are:

1. Upgrade to a snapshot: 20040710 (However I have not tested this suggestion)
2. emerge inject perl-5.8.4
3. Edit the ebuild to not run the "emake test". 
4. While experiencing the phenomenon of the no-progress compile, use "top" to check the process "perl" that should be taking 99% CPU time. Kill (kill -s TERM) that process and the emerge should finish.

Also there is an entry for this bug in the Colinux project: "[ 967876 ] perl 5.8.4 make test fails on gentoo" (http://sourceforge.net/tracker/index.php?func=detail&aid=967876&group_id=98788&atid=622063)
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-08-13 17:06:32 UTC
this is a colinux bug, not a gentoo bug