This is more of a "note" than really a bug, but something I noticed: configuring Ruby module Traceback (most recent call last): 3: from <internal:gem_prelude>:2:in `<internal:gem_prelude>' 2: from <internal:gem_prelude>:2:in `require' 1: from /usr/lib64/ruby/2.6.0/rubygems.rb:16:in `<top (required)>' /usr/lib64/ruby/2.6.0/rubygems.rb:16:in `require': cannot load such file -- rubygems/compatibility (LoadError) * ERROR: www-servers/nginx-unit-1.20.0::gentoo failed (configure phase): * Module configuration failed: ruby * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2572: Called die * The specific snippet of code: * ./configure ${flag} || die "Module configuration failed: ${flag}"; The problem comes from ruby having rubygems as PDEPEND, so you can get a merge-order like this: [ebuild N ] dev-lang/ruby-2.6.6-r2:2.6::gentoo USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5 -static-libs -systemtap -tk -xemacs" 11297 KiB [ebuild R ~] www-servers/nginx-unit-1.20.0::gentoo USE="php7-4 ruby* -perl* -php7-2* -php7-3 -python* -ssl" PYTHON_SINGLE_TARGET="-python3_6* -python3_7 -python3_8" 0 KiB [ebuild N ] dev-ruby/rubygems-3.0.3::gentoo USE="-server -test" RUBY_TARGETS="ruby25 ruby26" 883 KiB However I truly believe if you want ruby support for nginx-unit, you most likely have ruby installed already. This is something that can be fixed in the ebuild, but would require inhering some ruby eclass, and I don't know if it's worth it. You decide.
Since I currently have an open pull request https://github.com/gentoo/gentoo/pull/18341 for version 1.21.0 anyway, I have added a dependency on dev-ruby/rubygems there.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbdae05a94643e10dad9eca027780fac620c5bb6 commit bbdae05a94643e10dad9eca027780fac620c5bb6 Author: Ralph Seichter <github@seichter.de> AuthorDate: 2020-11-20 19:11:22 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-11-22 09:11:44 +0000 www-servers/nginx-unit: Bump to version 1.21.0 Upstream feature release 1.21.0. Changes in this release include the introduction of Python 3.9 support, and an added dependency on dev-ruby/rubygems. Closes: https://bugs.gentoo.org/755905 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-servers/nginx-unit/Manifest | 1 + www-servers/nginx-unit/nginx-unit-1.21.0.ebuild | 79 +++++++++++++++++++++++++ 2 files changed, 80 insertions(+)