Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70805 - Can't emerge dev-lang/cm3-5.2.6
Summary: Can't emerge dev-lang/cm3-5.2.6
Status: RESOLVED DUPLICATE of bug 81798
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-11 08:25 UTC by Sebastian Bergmann (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
patch for the cm3-bin ebuild (cm3-bin-5.2.7_pre20050331.ebuild.diff,723 bytes, patch)
2005-03-31 07:07 UTC, Stefan Sperling
Details | Diff
patch for the cm3 ebuild (cm3-5.2.7_pre20050331.ebuild.diff,1.06 KB, patch)
2005-03-31 07:09 UTC, Stefan Sperling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bergmann (RETIRED) gentoo-dev 2004-11-11 08:25:25 UTC
Merging dev-lang/cm3-5.2.6 fails.

Reproducible: Always
Steps to Reproduce:
1. emerge cvsup

Actual Results:  
wopr-mobile ~ # emerge cvsup
Calculating dependencies ...done!
>>> emerge (1 of 2) dev-lang/cm3-5.2.6 to /
>>> md5 src_uri ;-) cm3-src-all-5.2.6.tgz
>>> Unpacking source...
>>> Unpacking cm3-src-all-5.2.6.tgz to /var/tmp/portage/cm3-5.2.6/work
 * Replacing obsolete head/tail with POSIX compliant ones
>>> Source unpacked.
tcltk
/var/tmp/portage/cm3-5.2.6/work/scripts/pkgmap.sh -c "cm3 -build -override
-DROOT='/var/tmp/portage/cm3-5.2.6/work' " m3gc-simple m3gc-enhanced m3core
libm3 m3middle m3linker m3front m3quake m3cc cm3 m3scanner m3tools m3cgcat
m3cggen m3bundle bitvector digraph parseparams realgeometry set slisp
sortedtableextras table-list tempfiles
=== package /var/tmp/portage/cm3-5.2.6/work/m3-libs/m3gc-simple ===
 +++ cm3 -build -override -DROOT='/var/tmp/portage/cm3-5.2.6/work'  +++


***
*** runtime error:
***    An enumeration or subrange value was out of range.
***    file "../src/runtime/common/RTCollector.m3", line 2504
***

/bin/sh: line 1: 10915 Aborted                 cm3 -build -override
-DROOT='/var/tmp/portage/cm3-5.2.6/work'
 *** execution of  failed ***

!!! ERROR: dev-lang/cm3-5.2.6 failed.
!!! Function src_compile, Line 58, Exitcode 1
!!! building do-cm3-core
!!! If you need support, post the topmost build error, NOT this status message.


wopr-mobile ~ # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.6
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -mno-sse2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -mno-sse2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bitmap-fonts cdr crypt cscope cups dvd dvdr eds
encode esd evo f77 fam flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 hal
howl imagemagick imlib java jpeg junit libg++ libwww mad mikmod mmx mono motif
mozilla moznocompose moznoirc moznomail mpeg ncurses nls nptl oggvorbis opengl
oss pam pdflib perl png ppds python quicktime readline samba sdl slang spell sse
ssl svg svga tcltk tcpd theora tiff truetype userlocales x86 xml2 xmms xprint xv
zlib"
Comment 1 SpanKY gentoo-dev 2004-11-11 12:03:43 UTC
try building cm with just CLFAGS="-pipe" ?
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2004-11-11 12:57:06 UTC
wopr-mobile ~ # CFLAGS="-pipe" emerge dev-lang/cm3
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-lang/cm3-5.2.6 to /
>>> md5 src_uri ;-) cm3-src-all-5.2.6.tgz
>>> Unpacking source...
>>> Unpacking cm3-src-all-5.2.6.tgz to /var/tmp/portage/cm3-5.2.6/work
 * Replacing obsolete head/tail with POSIX compliant ones
>>> Source unpacked.
tcltk
/var/tmp/portage/cm3-5.2.6/work/scripts/pkgmap.sh -c "cm3 -build -override -DROOT='/var/tmp/portage/cm3-5.2.6/work' " m3gc-simple m3gc-enhanced m3core libm3 m3middle m3linker m3front m3quake m3cc cm3 m3scanner m3tools m3cgcat m3cggen m3bundle bitvector digraph parseparams realgeometry set slisp sortedtableextras table-list tempfiles
=== package /var/tmp/portage/cm3-5.2.6/work/m3-libs/m3gc-simple ===
 +++ cm3 -build -override -DROOT='/var/tmp/portage/cm3-5.2.6/work'  +++


***
*** runtime error:
***    An enumeration or subrange value was out of range.
***    file "../src/runtime/common/RTCollector.m3", line 2504
***

/bin/sh: line 1: 10882 Aborted                 cm3 -build -override -DROOT='/var/tmp/portage/cm3-5.2.6/work'
 *** execution of  failed ***

!!! ERROR: dev-lang/cm3-5.2.6 failed.
!!! Function src_compile, Line 58, Exitcode 1
!!! building do-cm3-core
!!! If you need support, post the topmost build error, NOT this status message.
Comment 4 Stefan Sperling 2005-03-30 02:47:30 UTC
known issue of course :)
slippy keyboard...
Comment 5 Stefan Sperling 2005-03-30 02:52:35 UTC
Apparently a workaround is to run cm3 without memory protection,
using the @M3novm option:

$ cm3 @M3novm ...
Comment 6 Stefan Sperling 2005-03-31 07:07:43 UTC
Created attachment 54928 [details, diff]
patch for the cm3-bin ebuild

A new version of cm3 has been released today which fixes the problem.
You can use the ebuild patch above to upgrade.
So far this is x86 only though...
Comment 7 Stefan Sperling 2005-03-31 07:09:15 UTC
Created attachment 54929 [details, diff]
patch for the cm3 ebuild 

This goes hand in hand with the above patch for cm3-bin.
Comment 8 SpanKY gentoo-dev 2005-04-01 20:11:35 UTC

*** This bug has been marked as a duplicate of 81798 ***