Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903980 - app-text/ronn-ng fails to rebuild from 27 to 30
Summary: app-text/ronn-ng fails to rebuild from 27 to 30
Status: RESOLVED DUPLICATE of bug 835156
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2023-04-07 13:42 UTC by CaptainBlood
Modified: 2023-04-07 14:03 UTC (History)
1 user (show)

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


Attachments
use-RUBY.patch (file_903980.txt,785 bytes, patch)
2023-04-07 14:01 UTC, Sam James
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2023-04-07 13:42:25 UTC
>>> Emerging (6 of 6) app-text/ronn-ng-0.9.1-r2::gentoo
 * ronn-ng-0.9.1.gem BLAKE2B SHA512 size ;-) ...                         [ ok ]
>>> Unpacking source...
 * Running unpack phase for all
 * Unpacking .gem file...
 * Uncompressing metadata
 * Unpacking data.tar.gz
>>> Source unpacked in /var/tmp/portage/app-text/ronn-ng-0.9.1-r2/work
>>> Preparing source in /var/tmp/portage/app-text/ronn-ng-0.9.1-r2/work ...
 * Running prepare phase for all
 * Running prepare phase for all
 * Running source copy phase for ruby30
 * Running prepare phase for ruby30
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-text/ronn-ng-0.9.1-r2/work ...
 * Running configure phase for ruby30
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-text/ronn-ng-0.9.1-r2/work ...
 * Running compile phase for ruby30
 * Running compile phase for all
fatal: the 'nokogiri' library is required (gem install nokogiri)
 * ERROR: app-text/ronn-ng-0.9.1-r2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 2312:  Called ruby-ng_src_compile
 *   environment, line 1902:  Called _ruby_invoke_environment 'all' 'all_ruby_compile'
 *   environment, line  720:  Called all_ruby_compile
 *   environment, line  827:  Called die
 * The specific snippet of code:
 *       PATH="${S}/bin:${PATH}" rake man || die
 * 
 * If you need support, post the output of `emerge --info '=app-text/ronn-ng-0.9.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/ronn-ng-0.9.1-r2::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-text:ronn-ng-0.9.1-r2:20230407-124303.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/ronn-ng-0.9.1-r2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/ronn-ng-0.9.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/ronn-ng-0.9.1-r2/work/all/ronn-ng-0.9.1'
 * S: '/var/tmp/portage/app-text/ronn-ng-0.9.1-r2/work/all/ronn-ng-0.9.1'

eix nokogiri
     Installed versions:  1.14.2-r1^t(22:08:06 06/04/2023)(-doc -test RUBY_TARGETS="ruby30 -ruby27 -ruby31 -ruby32")


Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-07 13:51:35 UTC
It might be using rake from whatever ruby is (presumably still 2.7).
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-07 14:01:21 UTC
Created attachment 859679 [details, diff]
use-RUBY.patch

The attached patch works for me, although it's not ideal as it'll build the man pages thrice, but it's very cheap to do.

(${RUBY} isn't defined in all_ruby_compile, it seems.)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-07 14:01:39 UTC
(In reply to Sam James from comment #2)
> Created attachment 859679 [details, diff] [details, diff]
> use-RUBY.patch
> 
> The attached patch works for me, although it's not ideal as it'll build the
> man pages thrice, but it's very cheap to do.
> 
> (${RUBY} isn't defined in all_ruby_compile, it seems.)

We could make it skip if there's something in man/ or whatever.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-07 14:03:58 UTC

*** This bug has been marked as a duplicate of bug 835156 ***