* [gentoo-user] dev-ruby/json-1.8.0
@ 2014-06-06 16:48 Stephen Reynolds
2014-06-06 22:47 ` [gentoo-user] dev-ruby/json-1.8.0 walt
0 siblings, 1 reply; 7+ messages in thread
From: Stephen Reynolds @ 2014-06-06 16:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 5684 bytes --]
Hi all
I am trying to emerge dev-ruby/json-1.8.0 and it keeps failing.
I have tried everything I know to fix it, without any success.
Regards
----------------------------------------------------------------------------------------------------
* Package: dev-ruby/json-1.8.0
* Repository: gentoo
* Maintainer: ruby@gentoo.org
* USE: amd64 doc elibc_glibc kernel_linux ruby_targets_ruby19
ruby_targets_ruby20 userland_GNU
* FEATURES: preserve-libs sandbox 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 ruby19 ...
* 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 ruby19 ...
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
cd ext/json/ext/parser
/usr/bin/ruby19 extconf.rb
creating Makefile
gmake
compiling parser.c
linking shared-object json/ext/parser.so
cd -
cp ext/json/ext/parser/parser.so ext/json/ext
cd ext/json/ext/generator
/usr/bin/ruby19 extconf.rb
creating Makefile
gmake
compiling generator.c
linking shared-object json/ext/generator.so
cd -
cp ext/json/ext/generator/generator.so ext/json/ext
* Running compile phase for ruby20 ...
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
cd ext/json/ext/parser
/usr/bin/ruby20 extconf.rb
creating Makefile
gmake
compiling parser.c
linking shared-object json/ext/parser.so
cd -
cp ext/json/ext/parser/parser.so ext/json/ext
cd ext/json/ext/generator
/usr/bin/ruby20 extconf.rb
creating Makefile
gmake
compiling generator.c
linking shared-object json/ext/generator.so
cd -
cp ext/json/ext/generator/generator.so ext/json/ext
* Running compile phase for all ...
GNU Make 3.82
Built for x86_64-pc-linux-gnu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Ragel State Machine Compiler version 6.7 May 2011
Copyright (c) 2001-2009 by Adrian Thurston
Writing version information for 1.8.0
rdoc -o doc -t 'JSON Implementation for Ruby' -m README.rdoc README.rdoc
lib/json.rb lib/json/add/bigdecimal.rb lib/json/add/complex.rb
lib/json/add/core.rb lib/json/add/date.rb lib/json/add/date_time.rb
lib/json/add/exception.rb lib/json/add/ostruct.rb lib/json/add/range.rb
lib/json/add/rational.rb lib/json/add/regexp.rb lib/json/add/struct.rb
lib/json/add/symbol.rb lib/json/add/time.rb lib/json/common.rb
lib/json/ext.rb lib/json/generic_object.rb lib/json/pure.rb
lib/json/pure/generator.rb lib/json/pure/parser.rb lib/json/version.rb
ext/json/ext/parser/parser.c ext/json/ext/generator/generator.c
sh: rdoc: command not found
rake aborted!
Command failed with status (127): [rdoc -o doc -t 'JSON Implementation for
Ru...]
/var/tmp/portage/dev-ruby/json-1.8.0/work/all/json-1.8.0/Rakefile:346:in
`block in <top (required)>'
Tasks: TOP => doc
(See full trace by running task with --trace)
* ERROR: dev-ruby/json-1.8.0::gentoo failed (compile phase):
* failed to (re)build documentation
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 4281: Called ruby-ng_src_compile
* environment, line 3939: Called _ruby_invoke_environment 'all'
'all_ruby_compile'
* environment, line 501: Called all_ruby_compile
* environment, line 585: Called all_fakegem_compile
* environment, line 545: Called die
* The specific snippet of code:
* rake ${RUBY_FAKEGEM_TASK_DOC} || die "failed to
(re)build documentation"
*
* 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=""
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/all/json-1.8.0'
* S: '/var/tmp/portage/dev-ruby/json-1.8.0/work/all/json-1.8.0'
[-- Attachment #2: Type: text/html, Size: 7339 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: dev-ruby/json-1.8.0
2014-06-06 16:48 [gentoo-user] dev-ruby/json-1.8.0 Stephen Reynolds
@ 2014-06-06 22:47 ` walt
2014-06-07 7:56 ` Hans de Graaff
0 siblings, 1 reply; 7+ messages in thread
From: walt @ 2014-06-06 22:47 UTC (permalink / raw
To: gentoo-user
On 06/06/2014 09:48 AM, Stephen Reynolds wrote:
> rdoc -o doc -t 'JSON Implementation for Ruby' -m README.rdoc
<snip>
> ext/json/ext/generator/generator.c sh: rdoc: command not found
You apparently have ruby19 and ruby20 installed, is this right?
Do you have a version of ruby eselected? "eselect ruby show"
I'm using ruby19, so I have:
#ls -l /usr/bin/rdoc
/usr/bin/rdoc -> rdoc19
That symlink to rdoc19 was created by using "eselect ruby set" to
choose between ruby19 and ruby20.
Is all of the above familiar to you? If not, you may need more
help with managing multiple ruby versions. I find it a large PITA
and I could use more help myself :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: dev-ruby/json-1.8.0
2014-06-06 22:47 ` [gentoo-user] dev-ruby/json-1.8.0 walt
@ 2014-06-07 7:56 ` Hans de Graaff
2014-06-08 0:20 ` walt
0 siblings, 1 reply; 7+ messages in thread
From: Hans de Graaff @ 2014-06-07 7:56 UTC (permalink / raw
To: gentoo-user
On Fri, 06 Jun 2014 15:47:38 -0700, walt wrote:
> Is all of the above familiar to you? If not, you may need more help
> with managing multiple ruby versions. I find it a large PITA and I
> could use more help myself :)
Could you explain what bothers you or where you would need help?
Hans
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: dev-ruby/json-1.8.0
2014-06-07 7:56 ` Hans de Graaff
@ 2014-06-08 0:20 ` walt
2014-06-08 8:26 ` Stephen Reynolds
2014-06-08 8:39 ` Hans de Graaff
0 siblings, 2 replies; 7+ messages in thread
From: walt @ 2014-06-08 0:20 UTC (permalink / raw
To: gentoo-user
On 06/07/2014 12:56 AM, Hans de Graaff wrote:
> On Fri, 06 Jun 2014 15:47:38 -0700, walt wrote:
>
>> Is all of the above familiar to you? If not, you may need more help
>> with managing multiple ruby versions. I find it a large PITA and I
>> could use more help myself :)
>
> Could you explain what bothers you or where you would need help?
Hi Hans. The annoying problems occur when updating ruby-related packages.
For example, I (want to) use only ruby19:
#grep RUBY /etc/portage/make.conf
RUBY_TARGETS="ruby19"
In spite of that, portage often insists on installing other versions of
ruby, rdoc, rubygems, and you already know the others.
AFAICT, the other versions of ruby are dragged in by old ruby packages
that were installed before I started using "RUBY_TARGETS" (because I
didn't yet know about RUBY_TARGETS),
I discovered all of this by grepping for ruby in /var/db/pkg but it
took me a long time to get it sorted out, and I don't expect that a
gentoo beginner could do it. (OTOH maybe a gentoo beginner wouldn't
care about installing multiple ruby versions :)
Thanks for taking the time to read gentoo.user and even more thanks
for being a gentoo dev :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: dev-ruby/json-1.8.0
2014-06-08 0:20 ` walt
@ 2014-06-08 8:26 ` Stephen Reynolds
2014-06-08 8:39 ` Hans de Graaff
1 sibling, 0 replies; 7+ messages in thread
From: Stephen Reynolds @ 2014-06-08 8:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]
This is what I have.
stephen #grep RUBY /etc/portage/make.conf
RUBY_TARGETS="ruby20"
stephen # ls -l /usr/bin/rdoc
lrwxrwxrwx 1 root root 6 Jun 6 20:13 /usr/bin/rdoc -> rdoc20
stephen # eselect ruby list
Available Ruby profiles:
[1] ruby19 (with Rubygems)
[2] ruby20 (with Rubygems) *
Regards
On Sun, Jun 8, 2014 at 2:20 AM, walt <w41ter@gmail.com> wrote:
> On 06/07/2014 12:56 AM, Hans de Graaff wrote:
> > On Fri, 06 Jun 2014 15:47:38 -0700, walt wrote:
> >
> >> Is all of the above familiar to you? If not, you may need more help
> >> with managing multiple ruby versions. I find it a large PITA and I
> >> could use more help myself :)
> >
> > Could you explain what bothers you or where you would need help?
>
> Hi Hans. The annoying problems occur when updating ruby-related packages.
>
> For example, I (want to) use only ruby19:
>
> #grep RUBY /etc/portage/make.conf
> RUBY_TARGETS="ruby19"
>
> In spite of that, portage often insists on installing other versions of
> ruby, rdoc, rubygems, and you already know the others.
>
> AFAICT, the other versions of ruby are dragged in by old ruby packages
> that were installed before I started using "RUBY_TARGETS" (because I
> didn't yet know about RUBY_TARGETS),
>
> I discovered all of this by grepping for ruby in /var/db/pkg but it
> took me a long time to get it sorted out, and I don't expect that a
> gentoo beginner could do it. (OTOH maybe a gentoo beginner wouldn't
> care about installing multiple ruby versions :)
>
> Thanks for taking the time to read gentoo.user and even more thanks
> for being a gentoo dev :)
>
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2231 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: dev-ruby/json-1.8.0
2014-06-08 0:20 ` walt
2014-06-08 8:26 ` Stephen Reynolds
@ 2014-06-08 8:39 ` Hans de Graaff
2014-06-08 9:52 ` Stephen Reynolds
1 sibling, 1 reply; 7+ messages in thread
From: Hans de Graaff @ 2014-06-08 8:39 UTC (permalink / raw
To: gentoo-user
On Sat, 07 Jun 2014 17:20:22 -0700, walt wrote:
> On 06/07/2014 12:56 AM, Hans de Graaff wrote:
> For example, I (want to) use only ruby19:
>
> #grep RUBY /etc/portage/make.conf RUBY_TARGETS="ruby19"
Yes, in hindsight I think that should have been the current default since
ruby19 has the best overall coverage for packages. Once ruby20 has caught
up I think we'll move to a default of RUBY_TARGETS="ruby20"
> In spite of that, portage often insists on installing other versions of
> ruby, rdoc, rubygems, and you already know the others.
Partially this was because we tried to solve another issue when ruby20
went stable. I removed those forced use flags for ruby20 last week, so
this should no longer happen. We still need to come up with a good plan
when the same issue will pop up for ruby21.
> AFAICT, the other versions of ruby are dragged in by old ruby packages
> that were installed before I started using "RUBY_TARGETS" (because I
> didn't yet know about RUBY_TARGETS),
Yes, these will still have other ruby targets recorded and thus also
request them for their dependencies. emerge --newuse should be able to
help here.
> I discovered all of this by grepping for ruby in /var/db/pkg but it took
> me a long time to get it sorted out, and I don't expect that a gentoo
> beginner could do it. (OTOH maybe a gentoo beginner wouldn't care about
> installing multiple ruby versions :)
We try to keep the default settings so that someone who doesn't care or
know about ruby should get a good experience. Moving from ruby18 to ruby19
we did some things that could have been handled better (such as not
mentioning that the new ruby must be eselected before making the switch),
so hopefully we've learned from those when we do the next update.
Hans
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: dev-ruby/json-1.8.0
2014-06-08 8:39 ` Hans de Graaff
@ 2014-06-08 9:52 ` Stephen Reynolds
0 siblings, 0 replies; 7+ messages in thread
From: Stephen Reynolds @ 2014-06-08 9:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2260 bytes --]
Okay I am now using ruby19, This have solved my problem.
Thanks
stephen # eselect ruby list
Available Ruby profiles:
[1] ruby19 (with Rubygems) *
[2] ruby20 (with Rubygems)
stephen # ls -l /usr/bin/rdoclrwxrwxrwx 1 root root 6 Jun 8 11:45
/usr/bin/rdoc ->
rdoc19
stephen # grep RUBY /etc/portage/make.conf
RUBY_TARGETS="ruby19"
On Sun, Jun 8, 2014 at 10:39 AM, Hans de Graaff <graaff@gentoo.org> wrote:
> On Sat, 07 Jun 2014 17:20:22 -0700, walt wrote:
>
> > On 06/07/2014 12:56 AM, Hans de Graaff wrote:
>
> > For example, I (want to) use only ruby19:
> >
> > #grep RUBY /etc/portage/make.conf RUBY_TARGETS="ruby19"
>
> Yes, in hindsight I think that should have been the current default since
> ruby19 has the best overall coverage for packages. Once ruby20 has caught
> up I think we'll move to a default of RUBY_TARGETS="ruby20"
>
> > In spite of that, portage often insists on installing other versions of
> > ruby, rdoc, rubygems, and you already know the others.
>
> Partially this was because we tried to solve another issue when ruby20
> went stable. I removed those forced use flags for ruby20 last week, so
> this should no longer happen. We still need to come up with a good plan
> when the same issue will pop up for ruby21.
>
> > AFAICT, the other versions of ruby are dragged in by old ruby packages
> > that were installed before I started using "RUBY_TARGETS" (because I
> > didn't yet know about RUBY_TARGETS),
>
> Yes, these will still have other ruby targets recorded and thus also
> request them for their dependencies. emerge --newuse should be able to
> help here.
>
> > I discovered all of this by grepping for ruby in /var/db/pkg but it took
> > me a long time to get it sorted out, and I don't expect that a gentoo
> > beginner could do it. (OTOH maybe a gentoo beginner wouldn't care about
> > installing multiple ruby versions :)
>
> We try to keep the default settings so that someone who doesn't care or
> know about ruby should get a good experience. Moving from ruby18 to ruby19
> we did some things that could have been handled better (such as not
> mentioning that the new ruby must be eselected before making the switch),
> so hopefully we've learned from those when we do the next update.
>
> Hans
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 3044 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-06-08 9:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 16:48 [gentoo-user] dev-ruby/json-1.8.0 Stephen Reynolds
2014-06-06 22:47 ` [gentoo-user] dev-ruby/json-1.8.0 walt
2014-06-07 7:56 ` Hans de Graaff
2014-06-08 0:20 ` walt
2014-06-08 8:26 ` Stephen Reynolds
2014-06-08 8:39 ` Hans de Graaff
2014-06-08 9:52 ` Stephen Reynolds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox