Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231054 - dev-lang/ruby-1.8.6_p230 fails to build in x86
Summary: dev-lang/ruby-1.8.6_p230 fails to build in x86
Status: RESOLVED DUPLICATE of bug 230111
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-07 13:46 UTC by Paulo J. Matos
Modified: 2008-07-07 16:24 UTC (History)
2 users (show)

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


Attachments
build log (build.log,23.23 KB, text/plain)
2008-07-07 13:46 UTC, Paulo J. Matos
Details
environment (environment,121.79 KB, text/plain)
2008-07-07 13:47 UTC, Paulo J. Matos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo J. Matos 2008-07-07 13:46:07 UTC
This bug doesn't seem related to 230481. Ruby is not compiling resulting in:
i686-pc-linux-gnu-ar rcu libruby18-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o  dmyext.o
i686-pc-linux-gnu-gcc -march=nocona -O2 -pipe -fno-strict-aliasing  -fPIC  -DRUBY_EXPORT -D_GNU_SOURCE=1  -L.  -rdynamic -Wl,-export-dynamic   main.o  libruby18-static.a -lpthread -ldl -lcrypt -lm   -o miniruby
libruby18-static.a(parse.o): In function `ruby_yyerror':
parse.c:(.text+0x2d17): undefined reference to `re_mbc_startpos'
parse.c:(.text+0x2d5d): undefined reference to `re_mbc_startpos'
collect2: ld returned 1 exit status
make: *** [miniruby] Error 1
 *
 * ERROR: dev-lang/ruby-1.8.6_p230 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3108:  Called die
 * The specific snippet of code:
 *       emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
 *  The die message:
 *   emake 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-lang/ruby-1.8.6_p230/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-1.8.6_p230/temp/environment'.

Reproducible: Always




Portage 2.2_rc1 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r3-mactelpatches-macbook-core2duo i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r3-mactelpatches-macbook-core2duo-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Mon, 07 Jul 2008 08:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r9, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 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:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="i686-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/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="R X acl acpi alsa amarok aspnet aspnet2 audiofile berkdb bluetooth bzip2 cairo calendar caps cddb chicken cjk cli clisp cracklib crypt cups cxx dbus dia djvu dri emacs enblend encode exif firefox flac fortran gd gdbm glitz gmp gpm graphviz gstreamer gtk gtkhtml guile gzip-el hal iconv ieee1394 imlib inkjar ipv6 irda isdnlog jabber java jpeg kde kig-scripting laptop latex ldap lua madwifi midi mmx mono moonlight mozsha1 mp3 mp4 mplayer mudflap musicbrainz mysql mzscheme ncurses networking networkmanager nls nptl nptlonly nsplugin ntp ocaml ogg openal opengl openmp openvpn pam paste64 pcre pdf perl php pike plasma plotutils plugins png posix postscript povray ppds pppd pptp preview-latex python qt3 qt4 readline reflection ruby samba sdl session sift smp solver speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 subversion svg svga tcl tcpd tetex theora threads tidy tiff tk toolbar toolkit-scroll-bars truetype unicode usb v4l v4l2 vorbis wifi win32codecs wma wmf wmp wxwindows x86 xcf xcomposite xft xine xml xmlreader xmlrpc xmlwriter xorg xpm xrandr xscreensaver yaz zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1    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 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Paulo J. Matos 2008-07-07 13:46:50 UTC
Created attachment 159801 [details]
build log
Comment 2 Paulo J. Matos 2008-07-07 13:47:07 UTC
Created attachment 159803 [details]
environment
Comment 3 David Sveningsson 2008-07-07 14:40:50 UTC
Present in ~amd64 too after glibc-2.8 upgrade.

Portage 2.2_rc1 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Mon, 07 Jul 2008 01:02:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 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:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -msse3"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=athlon64 -Os -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks installsources parallel-fetch preserve-libs sandbox sfperms splitstrip strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp.port80.se/gentoo/ "
LC_ALL="sv_SE.utf8"
LDFLAGS=""
LINGUAS="sv SE sv_SE en"
MAKEOPTS="-j2"
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"
SYNC="rsync://192.168.42.254/gentoo-portage"
USE="3dnow X aalib acl alsa amd64 bash-completion berkdb bzip2 cjk cli cracklib crypt cups dbus debug dri emacs exif ffmpeg firefox fortran gdbm gif glitz gpm gtk iconv ipv6 isdnlog java5 java6 jpeg jpeg2k latex lcms midi mmx mmxext mp3 mplayer mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam paste64 pcre perl png pppd python readline reflection session spell spl sse sse2 ssl startup-notification svg tcpd threads tiff truetype unicode wmf xml xorg xpm xv zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 auth_digest ident imagemap log_forensic" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="sv SE sv_SE en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 David Sveningsson 2008-07-07 15:06:42 UTC
dev-lang/ruby-1.8.7 works but is masked.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-07-07 16:24:06 UTC

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