Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 819324 - Some packages have versions overshadowing the live ebuild versions
Summary: Some packages have versions overshadowing the live ebuild versions
Status: RESOLVED FIXED
Alias: None
Product: Quality Assurance
Classification: Unclassified
Component: Disputes/raising issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-21 18:01 UTC by Mariusz Ceier
Modified: 2021-10-24 02:29 UTC (History)
3 users (show)

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


Attachments
Python script to find wrong versions of ebuilds (fwv.py,1.22 KB, text/x-python)
2021-10-21 18:02 UTC, Mariusz Ceier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Ceier 2021-10-21 18:01:10 UTC
When /etc/portage/package.accept_keywords/dev-util contains e.g.:

    dev-util/spirv-tools **

`emerge dev-util/spirv-tools` selects dev-util/spirv-tools-20210825 instead of dev-util/spirv-tools-9999 to emerge; also after `emerge '=dev-util/spirv-tools-9999'` portage wants to update dev-util/spirv-tools to dev-util/spirv-tools-20210825.

There are 6 packages with this issue:

    CPV: dev-util/spirv-headers-20210817 Version: 20210817 > 9999
    CPV: dev-util/spirv-tools-20210825 Version: 20210825 > 9999
    CPV: media-plugins/x42-plugins-20210714 Version: 20210714 > 9999
    CPV: media-plugins/x42-plugins-20211016 Version: 20211016 > 9999
    CPV: net-irc/limnoria-20210527 Version: 20210527 > 9999
    CPV: net-irc/limnoria-20210617-r1 Version: 20210617 > 9999

Attaching a python script that finds them.


Reproducible: Always

Steps to Reproduce:
1. Add 'dev-util/spirv-tools **' to /etc/portage/package.accept_keywords/dev-util
2. emerge '=dev-util/spirv-tools-9999'
3. emerge -p -u dev-util/spirv-tools

Actual Results:  
In step 3, emerge tries to 'upgrade' spirv-tools to version 20210825 instead of leaving it at version 9999.

Expected Results:  
In step 3, emerge shouldn't try to 'upgrade' spirv-tools to version 20210825; it should leave it at version 9999.

Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.34, 5.15.0-rc6-x86_64+ x86_64)
=================================================================
System uname: Linux-5.15.0-rc6-x86_64+-x86_64-Intel-R-_Core-TM-_i5-6600_CPU_@_3.30GHz-with-glibc2.34
KiB Mem:    32761028 total,  23068924 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 20 Oct 2021 21:51:30 +0000
Head commit of repository gentoo: d7348726162a16256f167ccb67d523253940e41a

Timestamp of repository dlang: Sun, 19 Sep 2021 21:51:49 +0000
Head commit of repository dlang: 28eda9d7ca9aecd415f52e65db02d9af79ac27f0

Timestamp of repository haskell: Sun, 17 Oct 2021 19:36:18 +0000
Head commit of repository haskell: d8df7572846af08be4e3dd2affeb73d56e12014b

Timestamp of repository steam-overlay: Mon, 18 Oct 2021 19:36:40 +0000
Head commit of repository steam-overlay: b284012ea06199d6ae23f3154ce18b18d5f65d93

Timestamp of repository x11: Tue, 14 Sep 2021 18:08:11 +0000
Head commit of repository x11: e3c9960a5a851b08781ee7b6249e67e1af65f65a

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
ccache version 4.4.2 [enabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.6.15::gentoo, 3.7.12_p1::gentoo, 3.8.12_p1::gentoo, 3.9.7_p1::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.55.0::gentoo
dev-util/ccache:          4.4.2::gentoo
dev-util/cmake:           3.21.3::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.34::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git://git.gentoo.org/repo/sync/gentoo.git
    priority: -1000

crossdev
    location: /usr/local/portage/crossdev
    masters: gentoo

dlang
    location: /var/db/repos/dlang
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dlang.git
    masters: gentoo

haskell
    location: /var/db/repos/haskell
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/haskell.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

x11
    location: /var/db/repos/x11
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/x11.git
    masters: gentoo

local
    location: /usr/local/portage/local
    masters: gentoo
    priority: 80

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -g -ggdb -Wvla"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /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/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /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=native -O3 -pipe -g -ggdb -Wvla"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--complete-graph --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance ccache config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j2"
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"
USE="X acl adns alsa amd64 audio avx avx2 bluetooth bzip2 caps clang cli clutter crypt cups dbus dri dri3 drm egl emacs ffmpeg fortran fpm fuse gadu gbm gdbm git glade gles glib gnutls gold gstreamer hardened iconv icu idn inotify ipv6 jack jpeg libdrm libglvnd libtirpc llvm mmx mono mtp multilib multitarget ncurses net45 nls nptl opengl openmp openrc pam pcre perl pgf pipewire pkcs pkcs11 pkcs12 png readline sasl seccomp socks socks4 socks5 sound split-usr sqlite sqlite3 sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification syslog system-sqlite systemd tcpd theora threads truetype udev unicode v4l2 vaapi valgrind vdpau video vim vim-syntax vpx vulkan wayland wifi x265 xattr xcb xft zlib" ABI_X86="64 32" ADA_TARGET="gnat_2019" ALSA_CARDS="ca0132" 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 sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="pl en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX AArch64 ARM RISCV WebAssembly" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_8 python3_7 python3_9" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Mariusz Ceier 2021-10-21 18:02:03 UTC
Created attachment 746064 [details]
Python script to find wrong versions of ebuilds
Comment 2 Larry the Git Cow gentoo-dev 2021-10-23 20:55:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b395f5e37ef7b6532170d3e165cb8eea415c34

commit 89b395f5e37ef7b6532170d3e165cb8eea415c34
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-10-23 20:54:39 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-10-23 20:54:57 +0000

    net-irc/limnoria: rename live ebuild
    
    Rename live ebuild from -9999 to -99999999, as regular eight digit
    versions are being used.
    
    Closes: https://bugs.gentoo.org/819324
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-irc/limnoria/{limnoria-9999.ebuild => limnoria-99999999.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fd45f32dbb6a180505fc529961bd15942a027a9

commit 9fd45f32dbb6a180505fc529961bd15942a027a9
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-10-23 20:53:33 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-10-23 20:54:56 +0000

    media-plugins/x42-plugins: rename live ebuild
    
    Rename live ebuild from -9999 to -99999999, as regular eight digit
    versions are being used.
    
    Bug: https://bugs.gentoo.org/819324
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../x42-plugins/{x42-plugins-9999.ebuild => x42-plugins-99999999.ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

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

commit c73dd84a39b560578d3d83c17ad89f438888199e
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-10-23 20:49:59 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-10-23 20:54:55 +0000

    dev-util/spirv-tools: rename live ebuild
    
    Rename live ebuild from -9999 to -99999999, as regular eight digit
    versions are being used.
    
    Bug: https://bugs.gentoo.org/819324
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../spirv-tools/{spirv-tools-9999.ebuild => spirv-tools-99999999.ebuild}  | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259db65c2b8998bd4bb9f2f1f8f8772d2daab04e

commit 259db65c2b8998bd4bb9f2f1f8f8772d2daab04e
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-10-23 20:48:41 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-10-23 20:54:54 +0000

    dev-util/spirv-headers: rename live ebuild
    
    Rename live ebuild from -9999 to -99999999, as regular eight digit
    versions are being used.
    
    Bug: https://bugs.gentoo.org/819324
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../{spirv-headers-9999.ebuild => spirv-headers-99999999.ebuild}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)