Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905006 - dev-vcs/subversion-1.14.2-r1: has_version: Invalid atom: virtual/rubygems[ruby_targets_ruby3.0(-)]
Summary: dev-vcs/subversion-1.14.2-r1: has_version: Invalid atom: virtual/rubygems[rub...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-25 11:42 UTC by Henning Schild
Modified: 2023-04-25 11:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henning Schild 2023-04-25 11:42:11 UTC
The ebuild seems to be invalid due to some change. I would guess it might be related to a recent sys-apps/portage.

Reproducible: Always

Steps to Reproduce:
1. USE="-ruby" emerge -av1 dev-vcs/subversion
2. USE="ruby" emerge -av1 dev-vcs/subversion

Actual Results:  
That should fail with 

>>> Emerging (1 of 1) dev-vcs/subversion-1.14.2-r1::gentoo
 * subversion-1.14.2.tar.bz2 BLAKE2B SHA512 size ;-) ...                                     [ ok ]
 * subversion-1.10.0_rc1-patches-1.tar.xz BLAKE2B SHA512 size ;-) ...                        [ ok ]
has_version: Invalid atom: virtual/rubygems[ruby_targets_ruby3.0(-)]
 * ERROR: dev-vcs/subversion-1.14.2-r1::gentoo failed (setup phase):
 *   has_version: invalid atom: virtual/rubygems[ruby_targets_ruby3.0(-)]
 * 
 * Call stack:
 *                     ebuild.sh, line 136:  Called pkg_setup
 *   subversion-1.14.2-r1.ebuild, line 138:  Called has_version 'virtual/rubygems[ruby_targets_ruby3.0(-)]'
 *              phase-helpers.sh, line 996:  Called ___best_version_and_has_version_common 'virtual/rubygems[ruby_targets_ruby3.0(-)]'
 *              phase-helpers.sh, line 977:  Called die
 * The specific snippet of code:
 *   			die "${FUNCNAME[1]}: invalid atom: ${atom}"
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.14.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.14.2-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/home/henning/.gentoo/java-config-2/current-user-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =subversion-1.14.2
 * The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/temp/die.env'.
 * Working directory: '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/empty'
 * S: '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2'

>>> Failed to emerge dev-vcs/subversion-1.14.2-r1, Log file:

>>>  '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/temp/build.log'

 * Messages for package dev-vcs/subversion-1.14.2-r1:

 * ERROR: dev-vcs/subversion-1.14.2-r1::gentoo failed (setup phase):
 *   has_version: invalid atom: virtual/rubygems[ruby_targets_ruby3.0(-)]
 * 
 * Call stack:
 *                     ebuild.sh, line 136:  Called pkg_setup
 *   subversion-1.14.2-r1.ebuild, line 138:  Called has_version 'virtual/rubygems[ruby_targets_ruby3.0(-)]'
 *              phase-helpers.sh, line 996:  Called ___best_version_and_has_version_common 'virtual/rubygems[ruby_targets_ruby3.0(-)]'
 *              phase-helpers.sh, line 977:  Called die
 * The specific snippet of code:
 *   			die "${FUNCNAME[1]}: invalid atom: ${atom}"
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.14.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.14.2-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/temp/die.env'.
 * Working directory: '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/empty'
 * S: '/var/tmp/portage/dev-vcs/subversion-1.14.2-r1/work/subversion-1.14.2'

Expected Results:  
One should be able to install the package with ruby support.

Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-12, glibc-2.36-r7, 6.1.19-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.19-gentoo-x86_64-Intel-R-_Core-TM-_i5-8350U_CPU_@_1.70GHz-with-glibc2.36
KiB Mem:    16264004 total,    265252 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 25 Apr 2023 08:16:58 +0000
Head commit of repository gentoo: 3e727cde8e1e88ad926264943d794e210416e02a

Head commit of repository throttled: a24a88c2325da72d9c1ffbe9caae1b9a83427c27

Head commit of repository tlp: 4ba9fce0927a4bc87a4df54eb352a163a439810e

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p6) 2.39.0
distcc 3.4 x86_64-pc-linux-gnu [enabled]
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo, 3.11.2_p2::gentoo
dev-lang/rust-bin:         1.66.1-r1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r1::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE PUEL RAR OPERA-2014 OPERA-2018"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=skylake -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de en"
MAKEOPTS="-j24 -l12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 avahi avx bluetooth branding btrfs bzip2 cairo calendar cdda cdr cli crypt cryptsetup cscope cups dbus declarative dri dts dvd dvdr elogind encode exif ffmpeg flac fortran gdbm gif gimp gphoto2 gpm gtk gui heif iconv icu ipv6 jpeg jpeg2k kde kerberos kwallet lcms ldap libglvnd libnotify libtirpc lm_sensors mad mmx mmxext mng mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf pkcs11 plasma png policykit ppds pulseaudio qml qt5 rdesktop readline ruby samba sdl seccomp smartcard sound spell split-usr sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subversion svg test-rust threads tiff truetype udev udisks unicode upower usb v4l vim-pager vim-syntax vnc vorbis widgets wifi wxwidgets x264 xattr xcb xft xml xv xvid xvmc zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="de en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm aarch64 ppc ppc64 riscv32 riscv64" QEMU_USER_TARGETS="x86_64 i386 arm aarch64 ppc ppc64 riscv32 riscv64" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-25 11:46:27 UTC
No, I just got the substitution wrong. I'll fix it.
Comment 2 Larry the Git Cow gentoo-dev 2023-04-25 11:48:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a9db84673db6e5a91956b5c7d6c280832c8877

commit 24a9db84673db6e5a91956b5c7d6c280832c8877
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-25 11:47:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-25 11:48:00 +0000

    dev-vcs/subversion: fix rubygems USE
    
    Fixes: 03a57709708195c17c54966634cdfd51acc905b7
    Closes: https://bugs.gentoo.org/905006
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-vcs/subversion/subversion-1.14.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)