Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerging dev-ruby/json failed for ruby2.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Seong-Kook Shin
n00b
n00b


Joined: 28 Jul 2009
Posts: 6

PostPosted: Tue Feb 25, 2014 12:28 am    Post subject: emerging dev-ruby/json failed for ruby2.0 Reply with quote

emerging dev-ruby/json failed.

I have RUBY_TARGETS='ruby20' in /etc/portage/make.conf.

Code:

# cat /var/tmp/portage/dev-ruby/json-1.8.0/temp/build.log
 * Package:    dev-ruby/json-1.8.0
 * Repository: gentoo
 * Maintainer: ruby@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux ruby_targets_ruby20 userland_GNU
 * FEATURES:   ccache preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
 * Running unpack phase for all ...
 * Unpacking .gem file... ...                                                                                                                            [ ok ]
 * Uncompressing metadata ...                                                                                                                            [ ok ]
 * Unpacking data.tar.gz ...                                                                                                                             [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-ruby/json-1.8.0/work
>>> Preparing source in /var/tmp/portage/dev-ruby/json-1.8.0/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby20 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/json-1.8.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/json-1.8.0/work ...
 * Running compile phase for ruby20 ...
/usr/lib64/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- rake (LoadError)
        from /usr/lib64/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
        from /usr/lib64/ruby/gems/2.0.0/gems/rake-0.9.6/bin/rake:35:in `<top (required)>'
        from /usr/bin/rake:8:in `load'
        from /usr/bin/rake:8:in `<main>'
 * ERROR: dev-ruby/json-1.8.0::gentoo failed (compile phase):
 *   extension compile failed
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 4258:  Called ruby-ng_src_compile
 *   environment, line 3914:  Called _ruby_each_implementation 'each_ruby_compile'
 *   environment, line  462:  Called _ruby_invoke_environment 'ruby20' 'each_ruby_compile'
 *   environment, line  514:  Called each_ruby_compile
 *   environment, line  799:  Called die
 * The specific snippet of code:
 *           ${RUBY} -S rake compile || die "extension compile failed";
 *
 * If you need support, post the output of `emerge --info '=dev-ruby/json-1.8.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-ruby/json-1.8.0::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =json-1.8.0
 * The complete build log is located at '/var/tmp/portage/dev-ruby/json-1.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/json-1.8.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ruby/json-1.8.0/work/ruby20/json-1.8.0'
 * S: '/var/tmp/portage/dev-ruby/json-1.8.0/work/ruby20/json-1.8.0'


Code:

# emerge --info '=dev-ruby/json-1.8.0::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.6.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32916052 total,    280748 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of tree: Mon, 24 Feb 2014 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE google-chrome AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-o"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.lecl.net/pub/gentoo/ ftp://ftp.lecl.net/pub/gentoo/ http://ftp.daum.net/gentoo/"
LANG="ko_KR.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeo"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dga dri dts dvd dvdr emac"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPN



Code:

# emerge --info =dev-ruby/json-1.8.0
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.6.11-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.6.11-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32916052 total,    302348 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of tree: Mon, 24 Feb 2014 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE google-chrome AdobeFlash-11.x"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-o"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.lecl.net/pub/gentoo/ ftp://ftp.lecl.net/pub/gentoo/ http://ftp.daum.net/gentoo/"
LANG="ko_KR.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeo"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dga dri dts dvd dvdr emac"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPN



Any help?

Thank you,
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat Apr 05, 2014 12:00 pm    Post subject: Reply with quote

Can you file this bug at Gentoo Bugzilla? Read here how to write a bug report, for more in-depth details and troubleshooting steps you can read our Bugzilla HOWTO.
Back to top
View user's profile Send private message
nurachi
Tux's lil' helper
Tux's lil' helper


Joined: 16 May 2008
Posts: 92
Location: Paris

PostPosted: Thu Sep 10, 2015 12:54 pm    Post subject: Reply with quote

TomWij wrote:
Can you file this bug at Gentoo Bugzilla? Read here how to write a bug report, for more in-depth details and troubleshooting steps you can read our Bugzilla HOWTO.

Ticket opened https://bugs.gentoo.org/show_bug.cgi?id=560026
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum