>>> Compiling source in /var/tmp/portage/app-text/ronn-ng-0.9.1-r1/work ... * Running compile phase for ruby26 ... * Running compile phase for ruby27 ... * Running compile phase for all ... fatal: the 'nokogiri' library is required (gem install nokogiri) * ERROR: app-text/ronn-ng-0.9.1-r1::gentoo failed (compile phase): * (no error message) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220313-090006 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang/llvm (if any): clang version 13.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.1 Python 3.9.10 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.59.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit a4ce86c4c99a27996cfd00a7d296f9ed35433ab6 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Mar 14 19:04:53 2022 +0000 2022-03-14 19:04:52 UTC emerge -qpvO app-text/ronn-ng [ebuild N ] app-text/ronn-ng-0.9.1-r1 USE="-doc -test" RUBY_TARGETS="ruby26 ruby27"
Created attachment 767068 [details] emerge-info.txt
Created attachment 767069 [details] app-text:ronn-ng-0.9.1-r1:20220314-192909.log
Created attachment 767070 [details] emerge-history.txt
Created attachment 767071 [details] environment
Created attachment 767072 [details] etc.portage.tar.bz2
*** Bug 903980 has been marked as a duplicate of this bug. ***
Created attachment 859680 [details, diff] use-RUBY.patch The attached patch works for me. I think the issue is that rake isn't necessarily using a Ruby with nokogiri installed for it and then it tries to use ronn with a similar issue. The patch has an issue wrt repeatedly building the docs unnecessarily, but we could make it skip if it's done one successful build / check for something in man/*.
*** Bug 866320 has been marked as a duplicate of this bug. ***
(In reply to Sam James from comment #7) > Created attachment 859680 [details, diff] [details, diff] > use-RUBY.patch > > The attached patch works for me. I think the issue is that rake isn't > necessarily using a Ruby with nokogiri installed for it and then it tries to > use ronn with a similar issue. > > The patch has an issue wrt repeatedly building the docs unnecessarily, but > we could make it skip if it's done one successful build / check for > something in man/*. actually, I don't think we need to do the man page build at all. The man pages are built within the gem which we use right now (not gh).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa780303ae90c6268e4b42026b2acb1ff7db9c99 commit aa780303ae90c6268e4b42026b2acb1ff7db9c99 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-07 14:19:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-07 14:25:25 +0000 app-text/ronn-ng: enable ruby31, enable ruby32; drop unnecessary man page build - Enable ruby31, enable ruby32 This only takes one patch and it's just for tests to work with newer psych. Fedora is just using that same patch too, no others. - Drop unnecessary man page build. They're included in the gem, so we don't need to build it again (which causes a problem when invoking rake directly/calling unwrapped ronn, as e.g. nokogiri isn't necessarily installed for it anymore.) Closes: https://bugs.gentoo.org/835156 Closes: https://bugs.gentoo.org/898414 Signed-off-by: Sam James <sam@gentoo.org> .../files/ronn-ng-0.9.1-psych-4-tests.patch | 40 ++++++++++++++ app-text/ronn-ng/ronn-ng-0.9.1-r3.ebuild | 62 ++++++++++++++++++++++ 2 files changed, 102 insertions(+)