Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247100 - dev-ruby/activesupport-2.1.2 fails on first compile attempt
Summary: dev-ruby/activesupport-2.1.2 fails on first compile attempt
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-16 17:28 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2008-11-17 18:24 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 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-11-16 17:28:57 UTC
>>> Emerging (1 of 6) dev-ruby/activesupport-2.1.2 to /
>>> Downloading 'http://mirror.datapipe.net/gentoo/distfiles/activesupport-2.1.2.gem'
--2008-11-16 12:25:34--  http://mirror.datapipe.net/gentoo/distfiles/activesupport-2.1.2.gem
Resolving mirror.datapipe.net... 64.27.65.115
Connecting to mirror.datapipe.net|64.27.65.115|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 362496 (354K) [application/x-tar]
Saving to: `/usr/portage/distfiles/activesupport-2.1.2.gem'

100%[===============================================================================================>] 362,496      139K/s   in 2.5s    

2008-11-16 12:25:37 (139 KB/s) - `/usr/portage/distfiles/activesupport-2.1.2.gem' saved [362496/362496]

 * checking ebuild checksums ;-) ...                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                             [ ok ]
 * checking activesupport-2.1.2.gem ;-) ...                                                                                        [ ok ]
>>> Unpacking source...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-ruby/activesupport-2.1.2/work ...
>>> Source compiled.
 * The ebuild phase 'compile' has exited unexpectedly. This type of
 * behavior is known to be triggered by things such as failed variable
 * assignments (bug #190128) or bad substitution errors (bug #200313).



running the emerge again worked.
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-11-16 17:30:36 UTC
Portage 2.1.4.5 (default-linux/x86/2007.0, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-gentoo-r8 i686)
=================================================================
System uname: 2.6.23-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Sun, 16 Nov 2008 16:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r14
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/spool/at"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/"
PKGDIR="/usr/portage/packages"
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 /usr/portage/local/layman/voip"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac alsa apache2 audacious bash-completion berkdb bonjour bzip2 caps cgi cli cracklib crypt ctype cups curl emacs encode ethereal expat fastbuild gd gdbm gif gtk hash iconv imap imlib innodb isdnlog jpeg lame live logrotate mad maildir mbox mmx mp3 mudflap ncurses nptl ogg old-linux openmp pam pcre perl png posix pppd python qmail readline reflection ruby sdl server session spell spl sqlite3 sse ssl subversion suexec swig tiff tools truetype unicode vhosts vim-with-x virus-scan vorbis wxwindows x86 xml xml2 xorg xv xvid zaptel zeroconf zlib" ALSA_CARDS="intel8x0" 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="dir log_config mime mime_magic proxy proxy_balancer proxy_http rewrite status autoindex authz_host authn_file alias auth_basic info authz_user" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Hans de Graaff gentoo-dev Security 2008-11-16 17:54:21 UTC
This is a weird problem. Just to rule some possibilities and try to narrow this down:

a) what version of the gems.eclass do you have? The CVS version is on the 3rd line of /usr/portage/eclass/gems.eclass. You should currently have 1.23.

b) does this also happen for other packages? Non-ruby ones?

FWIW, I've seen this myself very occasionally as well, but have not narrowed it down to anything yet.
Comment 3 Zac Medico gentoo-dev 2008-11-16 18:23:16 UTC
(In reply to comment #0)
> >>> Source compiled.
>  * The ebuild phase 'compile' has exited unexpectedly. This type of
>  * behavior is known to be triggered by things such as failed variable
>  * assignments (bug #190128) or bad substitution errors (bug #200313).

This type of error generally means that bash is crashing for some reason. Try rebuilding app-shells/bash and see if that helps.
Comment 4 Zac Medico gentoo-dev 2008-11-16 18:45:43 UTC
Other than bash itself, something like this could happen if you define post_src_compile() and call `exit` in there. Do you have post_src_compile() defined in either /etc/portage/bashrc or somewhere in /etc/portage/env?
Comment 5 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2008-11-17 14:28:50 UTC
gems.eclass:

# $Header: /var/cvsroot/gentoo-x86/eclass/gems.eclass,v 1.23 2008/11/14 13:56:56 graaff Exp $

neither /etc/portage/bashrc nor /etc/portage/env exists.

and the odd thing is that i cannot replicate this problem. running 'emerge -av1 rubygems' again worked just fine. and no other ebuilds have crashed. so i cannot even replicate this issue.
Comment 6 Zac Medico gentoo-dev 2008-11-17 18:24:52 UTC
If it's not reproducible, it seems like it must have been some sort of random corruption in hardware.