Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255254 - dev-lang/ruby-1.8.6_p287-r4 compile error: shellwords.rb:30:in `shellwords': Argument must be a string (ArgumentError)
Summary: dev-lang/ruby-1.8.6_p287-r4 compile error: shellwords.rb:30:in `shellwords': ...
Status: RESOLVED DUPLICATE of bug 234877
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-17 11:51 UTC by Roman Karshiev
Modified: 2009-01-17 15:59 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 Roman Karshiev 2009-01-17 11:51:08 UTC
Error while compiling stable ruby version.

Reproducible: Always

Steps to Reproduce:
emerge -av1 dev-lang/ruby
Actual Results:  
...
gcc -O2 -march=pentium4 -pipe -s -fno-strict-aliasing  -fPIC  -DRUBY_EXPORT -D_GNU_SOURCE=1  -L. -Wl,-O1 -rdynamic -Wl,-export-dynamic -Wl,-O1  main.o  libruby18-static.a -lpthread -ldl -lcrypt -lm   -o miniruby
rbconfig.rb updated
gcc -shared -Wl,-soname,libruby18.so.1.8 -Wl,-O1  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 -lpthread -ldl -lcrypt -lm   -o libruby18.so.1.8.6
/var/tmp/portage/dev-lang/ruby-1.8.6_p287-r4/work/ruby-1.8.6-p287/lib/shellwords.rb:30:in `shellwords': Argument must be a string (ArgumentError)
        from /var/tmp/portage/dev-lang/ruby-1.8.6_p287-r4/work/ruby-1.8.6-p287/lib/mkmf.rb:25
        from ./ext/extmk.rb:37:in `require'
        from ./ext/extmk.rb:37
make: *** [all] Ошибка 1
 * 
 * ERROR: dev-lang/ruby-1.8.6_p287-r4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3120:  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_p287-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-1.8.6_p287-r4/temp/environment'.



# emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0/server, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r9 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r9-i686-Intel-R-_XEON-TM-_CPU_1.80GHz-with-glibc2.0
Timestamp of tree: Sat, 17 Jan 2009 02:05:01 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -s"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://mirror.bytemark.co.uk/gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j1"
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.gentoo.org/gentoo-portage"
USE="aac acl admin apache2 authdaemond bash-completion bcmath berkdb bzip2 c3p0 cdda cgi cli contentcache cracklib crypt ctype curl dba dvb encode enscript examples exif fastcgi flash fontconfig force-cgi-redirect ftp gd gdbm gif gifencode gmp gpm graphviz httpd iconv idn imagemagick imap imlib isdnlog jabber java java5 javascript jpeg jpeg2k jpgraph jython ldap lighttpd live log4j lua maildir mailwrapper memcache memlimit mhash midi mmap mmx mod_irc mod_muc modcache modlocalizer modperl mp3 mpeg mudflap mysql ncurses nls nntp nptl nptlonly odbc ogg openmp pam pango pcntl pcre pdf pear perl php png portage posix postgres pppd pthreads python readline reflection rhino ruby sasl screen sensord session sharedmem shout silvercity slang snmp spell spl sqlite sqlite3 sse sse2 ssl stream subversion svg sysfs tcpd tetex threads tiff truetype unicode unzip utf8 vhosts vim-syntax virus-scan vorbis web webdav wmf x86 xattr xinetd xml xml2 xmlrpc xsl zip zlib zsh-completion" 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 mmap_emul 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 proxy rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="itk" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-01-17 15:59:29 UTC
This issue was already reported, I'll fix the summary there so that you can find it more easily.. :/

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