Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617176 - ERROR: app-text/ronn-0.7.3-r3::gentoo failed (compile phase)
Summary: ERROR: app-text/ronn-0.7.3-r3::gentoo failed (compile phase)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-01 10:37 UTC by Samuel Bernardo
Modified: 2017-07-18 20:50 UTC (History)
0 users

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


Attachments
complete build log (ronn-build.log,2.72 KB, text/x-log)
2017-05-01 10:37 UTC, Samuel Bernardo
Details
emerge -pqv ronn (ronn-0.7.3.pqv,420 bytes, text/plain)
2017-05-01 10:39 UTC, Samuel Bernardo
Details
emerge --info ronn (ronn-0.7.3.info,8.30 KB, text/plain)
2017-05-01 10:40 UTC, Samuel Bernardo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2017-05-01 10:37:53 UTC
Created attachment 471390 [details]
complete build log

Info and pqv in the next attachments.
Comment 1 Samuel Bernardo 2017-05-01 10:39:55 UTC
Created attachment 471392 [details]
emerge -pqv ronn

emerge -pqv '=app-text/ronn-0.7.3-r3::gentoo'
Comment 2 Samuel Bernardo 2017-05-01 10:40:56 UTC
Created attachment 471394 [details]
emerge --info ronn

emerge --info '=app-text/ronn-0.7.3-r3::gentoo'
Comment 3 Hans de Graaff gentoo-dev Security 2017-05-01 17:54:02 UTC
Which ruby slot do you have eselected?
Comment 4 Samuel Bernardo 2017-05-01 18:04:27 UTC
(In reply to Hans de Graaff from comment #3)
> Which ruby slot do you have eselected?

I didn't realize that I've a slot incompatible version of gem installed. Thanks Hans de Graaff :)

Additional details below:

# eselect ruby show
Current Ruby version:
  ruby22
Current Rubygems version:
!!! Warning: /usr/bin/gem is a SLOT incompatible version.
  gem


# gem --version
2.6.11


# eix -e ruby
[?] dev-lang/ruby
     Available versions:  
     (1.9)  [m]1.9.3_p551[1] [m]1.9.3_p551-r1[1]
     (2.0)  [m]2.0.0_p598[1] [m]~2.0.0_p643[1] [m]2.0.0_p645{tbz2}[1]
     (2.1)  [m]~2.1.5[1] [m]~2.1.6[1] 2.1.9{tbz2} ~2.1.10
     (2.2)  [m]~2.2.0-r1[1] [m]~2.2.1[1] [m]~2.2.2[1] 2.2.6{tbz2} (~)2.2.7{tbz2} (~)2.2.7-r1{tbz2}
     (2.3)  (~)2.3.3-r1{tbz2} (~)2.3.4{tbz2} (~)2.3.4-r1{tbz2}
     (2.4)  (~)2.4.1{tbz2} (~)2.4.1-r1{tbz2}
       {berkdb debug doc examples gdbm ipv6 jemalloc libressl ncurses +rdoc +readline rubytests socks5 ssl tk xemacs +yaml CPU_FLAGS_X86="sse2"}
     Installed versions:  2.0.0_p648(2.0){tbz2}(01:17:15 AM 06/03/2016)(berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc -examples -rubytests -socks5 -xemacs CPU_FLAGS_X86="sse2") 2.1.9(2.1){tbz2}(06:27:08 AM 04/20/2017)(berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc -examples -rubytests -socks5 -xemacs) 2.2.7-r1(2.2){tbz2}(10:57:53 AM 05/01/2017)(berkdb gdbm ipv6 ncurses rdoc readline ssl tk -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -xemacs) 2.3.4-r1(2.3){tbz2}(10:48:34 AM 05/01/2017)(berkdb gdbm ipv6 ncurses rdoc readline ssl tk -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -xemacs) 2.4.1-r1(2.4){tbz2}(10:51:56 AM 05/01/2017)(berkdb gdbm ipv6 rdoc ssl tk -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -xemacs)
Comment 5 Samuel Bernardo 2017-05-01 18:12:41 UTC
Btw, since I'm installing multiple targets of ruby, is there any way to select the appropriate version of gem, since it provoke conflict with default slot?
Comment 6 Samuel Bernardo 2017-05-01 18:17:57 UTC
(In reply to Samuel Bernardo from comment #4)
> (In reply to Hans de Graaff from comment #3)
> > Which ruby slot do you have eselected?
> 
> I didn't realize that I've a slot incompatible version of gem installed.
> Thanks Hans de Graaff :)
> 
> Additional details below:
> 
> # eselect ruby show
> Current Ruby version:
>   ruby22
> Current Rubygems version:
> !!! Warning: /usr/bin/gem is a SLOT incompatible version.
>   gem
> 
> 
> # gem --version
> 2.6.11
> 
> 
> # eix -e ruby
> [?] dev-lang/ruby
>      Available versions:  
>      (1.9)  [m]1.9.3_p551[1] [m]1.9.3_p551-r1[1]
>      (2.0)  [m]2.0.0_p598[1] [m]~2.0.0_p643[1] [m]2.0.0_p645{tbz2}[1]
>      (2.1)  [m]~2.1.5[1] [m]~2.1.6[1] 2.1.9{tbz2} ~2.1.10
>      (2.2)  [m]~2.2.0-r1[1] [m]~2.2.1[1] [m]~2.2.2[1] 2.2.6{tbz2}
> (~)2.2.7{tbz2} (~)2.2.7-r1{tbz2}
>      (2.3)  (~)2.3.3-r1{tbz2} (~)2.3.4{tbz2} (~)2.3.4-r1{tbz2}
>      (2.4)  (~)2.4.1{tbz2} (~)2.4.1-r1{tbz2}
>        {berkdb debug doc examples gdbm ipv6 jemalloc libressl ncurses +rdoc
> +readline rubytests socks5 ssl tk xemacs +yaml CPU_FLAGS_X86="sse2"}
>      Installed versions:  2.0.0_p648(2.0){tbz2}(01:17:15 AM
> 06/03/2016)(berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc -examples
> -rubytests -socks5 -xemacs CPU_FLAGS_X86="sse2") 2.1.9(2.1){tbz2}(06:27:08
> AM 04/20/2017)(berkdb gdbm ipv6 ncurses rdoc readline ssl -debug -doc
> -examples -rubytests -socks5 -xemacs) 2.2.7-r1(2.2){tbz2}(10:57:53 AM
> 05/01/2017)(berkdb gdbm ipv6 ncurses rdoc readline ssl tk -debug -doc
> -examples -jemalloc -libressl -rubytests -socks5 -xemacs)
> 2.3.4-r1(2.3){tbz2}(10:48:34 AM 05/01/2017)(berkdb gdbm ipv6 ncurses rdoc
> readline ssl tk -debug -doc -examples -jemalloc -libressl -rubytests -socks5
> -xemacs) 2.4.1-r1(2.4){tbz2}(10:51:56 AM 05/01/2017)(berkdb gdbm ipv6 rdoc
> ssl tk -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -xemacs)


This can be also relevant:

# eix -e dev-ruby/rubygems
[I] dev-ruby/rubygems
     Available versions:  2.2.5-r1{tbz2} 2.5.2 (~)2.6.8{tbz2} (~)2.6.9{tbz2} (~)2.6.11{tbz2} {server test ELIBC="FreeBSD" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23 ruby24"}
     Installed versions:  2.6.11{tbz2}(06:35:33 AM 04/20/2017)(-server -test ELIBC="-FreeBSD" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24 -ruby20")
Comment 7 Samuel Bernardo 2017-05-01 18:27:11 UTC
# eix virtual/rubygems
[I] virtual/rubygems
     Available versions:  10 11 (~)12 (~)13 {ELIBC="FreeBSD" RUBY_TARGETS="rbx ruby20 ruby21 ruby22 ruby23 ruby24"}
     Installed versions:  13(06:43:50 AM 04/20/2017)(ELIBC="-FreeBSD" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24 -rbx -ruby20")


To solve the error in ronn install I needed to downgrade virtual/rubygems to 11, but that's not possible because I need to install gitlabhq
Comment 8 Samuel Bernardo 2017-05-06 10:34:32 UTC
It seems that ronn is abandonware, since until 2010 there isn't any new releases.

https://rubygems.org/gems/ronn/versions/0.7.3

Since there is a dependency with gem version below the available for the target ruby24, I suppose that it's missing here a dependency in this ebuild, or it just can't support ruby24.

Please review if is missing the dependency with =virtual/rubygems-11

Cheers
Comment 9 Samuel Bernardo 2017-05-06 10:44:11 UTC
To remove the dependency with ronn and uninstall it, I just remove the use flag doc from the following packages:
> equery d ronn                                                                                  
 * These packages depend on ronn:
dev-ruby/bundler-1.13.7 (doc ? app-text/ronn[ruby_targets_ruby20])
                        (doc ? app-text/ronn[ruby_targets_ruby21])
                        (doc ? app-text/ronn[ruby_targets_ruby22])
                        (doc ? app-text/ronn[ruby_targets_ruby23])
dev-ruby/mustache-1.0.5 (doc ? app-text/ronn[ruby_targets_ruby21])
                        (doc ? app-text/ronn[ruby_targets_ruby22])
                        (doc ? app-text/ronn[ruby_targets_ruby23])
                        (doc ? app-text/ronn[ruby_targets_ruby24])
dev-vcs/git-lfs-2.1.0 (doc ? app-text/ronn)

Maybe software maintainers should find another doc reader in future releases.
Comment 10 Hans de Graaff gentoo-dev Security 2017-07-17 17:58:02 UTC
(In reply to Hans de Graaff from comment #3)
> Which ruby slot do you have eselected?

You never answered this question, and looking some more at the build log it looks like your ruby install is weirdly broken since it mixes different versions of the ruby interpreter and libs. It's not clear to me how that could happen.

My suggestion is to re-emerge the ruby versions you want and use eselect ruby to select the default ruby slot. If the problem persists then please attach a new build log and the output from "eselect ruby list"
Comment 11 Samuel Bernardo 2017-07-18 20:47:22 UTC
(In reply to Hans de Graaff from comment #10)
> (In reply to Hans de Graaff from comment #3)
> > Which ruby slot do you have eselected?
> 
> You never answered this question, and looking some more at the build log it
> looks like your ruby install is weirdly broken since it mixes different
> versions of the ruby interpreter and libs. It's not clear to me how that
> could happen.
> 
> My suggestion is to re-emerge the ruby versions you want and use eselect
> ruby to select the default ruby slot. If the problem persists then please
> attach a new build log and the output from "eselect ruby list"

Hi Hans,

See comment #4 where I mentioned ruby version and gem details. eselect ruby list:
Available Ruby profiles:
  [1]   ruby20
  [2]   ruby21 (with Rubygems)
  [3]   ruby22 (with Rubygems) *
  [4]   ruby23 (with Rubygems)
  [5]   ruby24 (with Rubygems)

I just emerged ronn without any error... Maybe updates released until now corrected the libs inconsistency that gave the reported error.

Anyway ronn seems to be abandonware since it has no new commit since 2010.

Thanks
Comment 12 Samuel Bernardo 2017-07-18 20:50:35 UTC
Correct my last reference to commits: util 2013 it has no new commit

https://github.com/rtomayko/ronn/commits/master