This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok and Ruby

Tags: None
(comma "," separated)
Newb
Registered Member
Posts
2
Karma
0
OS

Amarok and Ruby

Fri Mar 23, 2012 1:12 pm
I installed recently Funtoo with KDE environment desktop. I tried to install Amarok but since there was no support for ipod, lastfm and mp3tunes, I added them to the USE flags needed. This made ruby to be installed, telling me this :

Code: Select all
The following USE changes are necessary to proceed:
    #required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p125[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.6.4[-test,-doc,ruby_targets_ruby18]
    >=dev-ruby/racc-1.4.7 ruby_targets_ruby19
    #required by virtual/rubygems-4, required by dev-ruby/json-1.6.4[-test,ruby_targets_ruby19], required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p125[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/racc-1.4.7[-test,-doc,ruby_targets_ruby19]
    >=dev-ruby/rubygems-1.8.15 ruby_targets_ruby19
    #required by dev-ruby/json-1.6.4[-test,-doc,ruby_targets_ruby18], required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p125[rdoc], required by dev-ruby/rubygems-1.8.15[ruby_targets_ruby19], required by virtual/rubygems-1, required by dev-ruby/racc-1.4.7
    >=dev-ruby/rake-0.9.2.2 ruby_targets_ruby19
    #required by dev-lang/ruby-1.9.3_p125[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/json-1.6.4[-test,-doc,ruby_targets_ruby18]
    >=dev-ruby/rdoc-3.12 ruby_targets_ruby19
    #required by dev-ruby/rdoc-3.12[ruby_targets_ruby19], required by dev-lang/ruby-1.9.3_p125[rdoc], required by dev-ruby/rake-0.9.2.2[ruby_targets_ruby19], required by dev-ruby/racc-1.4.7[-test,-doc,ruby_targets_ruby19]
    >=dev-ruby/json-1.6.4 ruby_targets_ruby19

    Use --autounmask-write to write changes to config files (honoring CONFIG_PROTECT).


Adding the required packages to package.use and trying afterwards to insall amarok and all dependent packages (35 in total), the installation failed at this point (when already 19 packages were installed) :

Code: Select all
    >>> Failed to emerge dev-lang/ruby-1.9.3_p125

    bin/mkdir: cannot create directory `../../.ext/common/openssl': File exists
    make[2]: *** [../../.ext/common/openssl] Error 1
    make[2]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.9.3_p125/work/ruby-1.9.3-p125/ext/openssl'
    make[1]: *** [ext/openssl/all] Error 2
    make[1]: Leaving directory `/var/tmp/portage/dev-lang/ruby-1.9.3_p125/work/ruby-1.9.3-p125'
    make: *** [build-ext] Error 2
    make: INTERNAL: Exiting with 10 jobserver tokens available; should be 9!
    emake failed
    * ERROR: dev-lang/ruby-1.9.3_p125 failed (compile phase):
    *   emake failed
    *
    * Call stack:
    *     ebuild.sh, line  84:  Called src_compile
    *   environment, line 3005:  Called die
    * The specific snippet of code:
    *       emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
    *
    * If you need support, post the output of 'emerge --info =dev-lang/ruby-1.9.3_p125',
    * the complete build log and the output of 'emerge -pqv =dev-lang/ruby-1.9.3_p125'.
    * The complete build log is located at '/var/tmp/portage/dev-lang/ruby-1.9.3_p125/temp/build.log'.
    * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-1.9.3_p125/temp/environment'.
    * S: '/var/tmp/portage/dev-lang/ruby-1.9.3_p125/work/ruby-1.9.3-p125'


I tried to re-emerge Amarok. This caused 3 remaining packages to be installed. I can start Amarok but I was wondering about the other 13 packages on which amarok depends and which weren't installed.

Is Ruby really necessary to have a working Amarok ?

Last edited by Newb on Fri Mar 23, 2012 1:57 pm, edited 1 time in total.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok and Ruby

Fri Mar 23, 2012 1:22 pm
Not at all, Amarok doesn't use Ruby. Please check your flags, it is not unlikely you added an unnecessary flag for compilation. Else please check with your distribution.

FWIW: you can find the necessary dependencies in the README file here: http://quickgit.kde.org/index.php?p=amarok.git&a=tree


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
Newb
Registered Member
Posts
2
Karma
0
OS

Re: Amarok and Ruby

Sun Mar 25, 2012 5:43 pm
The problem was solved by upgrading to the 3.3.0 kernel (I had the 3.2.11 version).
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok and Ruby

Mon Mar 26, 2012 6:11 am
Newb wrote:The problem was solved by upgrading to the 3.3.0 kernel (I had the 3.2.11 version).


Which is totally unrelated to Amarok. Again: Amarok has no dependency for Ruby at all.

You should really make sure your general installation is OK, the kernel change is certainly not responsible for those strange dependency errors.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Sogou [Bot], Yahoo [Bot]