Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652660 - www-apache/passenger-5.1.12 fails to build: /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:280:in `find_spec_for_exe': can't find gem rake ([">= 0.a"]) with executable rake (Gem::GemNotFoundException)
Summary: www-apache/passenger-5.1.12 fails to build: /usr/lib64/ruby/site_ruby/2.2.0/r...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-06 07:06 UTC by shaulyn
Modified: 2018-06-13 04:53 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.txt,6.89 KB, text/plain)
2018-04-09 05:42 UTC, shaulyn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shaulyn 2018-04-06 07:06:49 UTC
when I install the package the error occurs.

* Package:    www-apache/passenger-5.1.12
 * Repository: gentoo
 * Maintainer: graaff@gentoo.org ruby@gentoo.org
 * USE:        abi_x86_64 amd64 apache2 elibc_glibc kernel_linux ruby_targets_ruby22 ruby_targets_ruby23 userland_GNU
 * FEATURES:   preserve-libs sandbox usersandbox
>>> Unpacking source...
>>> Unpacking passenger-5.1.12.tar.gz to /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work/all
>>> Source unpacked in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work
>>> Preparing source in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work ...
 * Running prepare phase for all ...
 * Running prepare phase for all ...
 * Applying passenger-5.1.11-gentoo.patch ...
 [ ok ]
 * Applying passenger-5.1.1-isnan.patch ...
 [ ok ]
 * Running source copy phase for ruby22 ...
 * Running source copy phase for ruby23 ...
>>> Source prepared.
>>> Configuring source in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work ...
>>> Source configured.
>>> Compiling source in /var/calculate/tmp/portage/www-apache/passenger-5.1.12/work ...
 * Running compile phase for ruby22 ...
/usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:280:in `find_spec_for_exe': can't find gem rake ([">= 0.a"]) with executable rake (Gem::GemNotFoundException)
        from /usr/lib64/ruby/site_ruby/2.2.0/rubygems.rb:299:in `activate_bin_path'
        from /usr/local/bin/rake:23:in `<main>'
 * ERROR: www-apache/passenger-5.1.12::gentoo failed (compile phase):
 *   rake failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 4820:  Called ruby-ng_src_compile
 *   environment, line 4605:  Called _ruby_each_implementation 'each_ruby_compile'
 *   environment, line  517:  Called _ruby_invoke_environment 'ruby22' 'each_ruby_compile'
 *   environment, line  642:  Called each_ruby_compile
 *   environment, line  998:  Called die
 * The specific snippet of code:
 *       V=1 EXTRA_LDFLAGS="${LDFLAGS}" APXS2="${APXS}" HTTPD="${APACHE_BIN}" FS_LIBDIR='/usr/'$(get_libdir) USE_VENDORED_LIBUV="no" LIBUV_LIBS="-luv" ${RUBY} -S rake native_support || die "rake failed"
 *
 * If you need support, post the output of `emerge --info '=www-apache/passenger-5.1.12::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-apache/passenger-5.1.12::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 =passenger-5.1.12
 * The complete build log is located at '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/temp/environment'.
 * Working directory: '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/work/ruby22/passenger-5.1.12'
 * S: '/var/calculate/tmp/portage/www-apache/passenger-5.1.12/work/ruby22/passenger-5.1.12'
Comment 1 shaulyn 2018-04-06 07:08:43 UTC
while in the system is set =rake-12.0.0
Comment 2 Tomáš Mózes 2018-04-06 10:06:27 UTC
Please attach the output of $(emerge --info).
Comment 3 shaulyn 2018-04-09 05:42:50 UTC
Created attachment 526894 [details]
emerge --info
Comment 4 shaulyn 2018-04-09 11:02:39 UTC
there was a new version 5.2.2 compilation with this version was successful
Comment 5 Hans de Graaff gentoo-dev Security 2018-06-13 04:53:47 UTC
dev-ruby/rake is a built-time dependency so this should be present. Perhaps an issue with the eselected ruby not matching RUBY_TARGETS?

Please re-open if this still happens.