Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 758401 - sys-cluster/crmsh-4.1.0::gentoo doesn't support python3.8
Summary: sys-cluster/crmsh-4.1.0::gentoo doesn't support python3.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-04 14:06 UTC by Dan Goodliffe
Modified: 2021-02-08 09:26 UTC (History)
2 users (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 Dan Goodliffe 2020-12-04 14:06:35 UTC
!!! Problem resolving dependencies for sys-cluster/crmsh

!!! The ebuild selected to satisfy "crmsh" has unmet requirements.
- sys-cluster/crmsh-4.1.0::gentoo USE="" PYTHON_TARGETS="-python3_6 -python3_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python3_6 python_targets_python3_7 )


Reproducible: Always

Steps to Reproduce:
1. emerge -pv crmsh
Actual Results:  
Failure to meet USE requirements for modern python.

Expected Results:  
Install for python 3.7 or above.


Portage 3.0.11 (python 3.8.6-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r3, 5.9.11 x86_64)
=================================================================
System uname: Linux-5.9.11-x86_64-Intel-R-_Core-TM-_i7-6700_CPU_@_3.40GHz-with-glibc2.2.5
KiB Mem:    32770308 total,   1884336 free
KiB Swap:    2097148 total,   1962328 free
Timestamp of repository gentoo: Fri, 04 Dec 2020 10:05:34 +0000
Head commit of repository gentoo: da91face2b9f89126d69ec533aa0c46abb11da41

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.1 [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            8.4.0-r1::gentoo, 10.2.0-r3::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-git-pull-extra-opts: --depth 1000

Octal
    location: /home/dang/work/portage
    masters: gentoo

RandomLAN
    location: /home/randomdan/dev/portage
    masters: gentoo

jm-overlay
    location: /var/lib/layman/jm-overlay
    masters: gentoo
    priority: 50

spring
    location: /var/lib/layman/spring
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE linux-fw-redistributable no-source-code vim.org MSttfEULA free-noncomm CC-Sampling-Plus-1.0 PUEL FESTIVAL mysql_fdw"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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"
CXXFLAGS="-O3 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
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 ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install 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://portage.randomdan.homeip.net/ http://mirrorsearch.randomdan.homeip.net/ http://distfiles.gentoo.org/"
LANG="en_GB.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -O3 -march=native -pipe"
LINGUAS="en en_GB"
MAKEOPTS="-j6 -l8"
PKGDIR="/usr/portage/packages"
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="/tmp"
USE="X a52 acl acpi activities alsa amd64 apng autoshutdown autoupdate bash-completion berkdb branding bzip2 c++0x cairo caps cdda cddb cdr clang cli cryptsetup cscope css curl custom-cflags custom-optimization cxx dbus declarative device-mapper dot dri dts dv dvb dvd dvdr emboss encode exif fam ffmpeg firmware flac fontconfig frei0r fuse gallium gcrypt gdbm gif git glib gnome-keyring gnutls gold gpm graphviz grub gtk gui hpn http2 hwaccel iconv icu imagemagick inspector introspection ipv6 ithreads javascript jemalloc jit jpeg jpeg2k json jumbo-build kipi kwallet lame lcms ldap libglvnd libkms libnotify libtirpc lightning llvm lm-sensors lvm lzma lzo mad man markdown minizip mng mp3 mp4 mpeg mpm-prefork mtp mysql ncurses network network-cron nls nohourlyupdate nptl nscd nuv odbc offensive offload ogg openexr opengl openmp pam pango pch pcre pcre-jit pcre16 pcre32 pdf perl plasma plymouth png policykit postgres postproc ppds python qml qt5 readline rtmp savedconfig seccomp secure-delete silc smp sndfile spell split-usr sqlite ssd ssh ssl startup-notification svg symlink syslog system-boost system-cairo system-cmark system-crontab system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-jsoncpp system-libevent system-libmspack system-libs system-libvpx system-libyaml system-llvm system-lua system-qemu system-seabios system-sqlite system-uulib system-wide systemd taglib tcpd threads thumbnail tiff truetype udev udisks unicode upower usb user-session uuid vim-pager vim-syntax vlc vorbis widevine widgets winbind wxwidgets x264 xattr xcb xinerama xml xmp xv xvfb xvid zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="macro actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias proxy proxy_http cache_socache cache_disk remoteip" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt 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" INPUT_DEVICES="evdev joystick" KERNEL="linux" L10N="en en-GB" 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-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="intel radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kim B. Sindalsen 2020-12-04 18:15:31 UTC
Seems like you need to add python3_7 to your PYTHON_TARGETS if you want to install it?

You currently have python2_7 and python3_8.
Comment 2 Dan Goodliffe 2020-12-04 18:22:51 UTC
Apologies, meant to say 3.8! The profile default was changed in commit a9845b9cd3f74ee6a7ef7de70a282ec246c492f1
Comment 3 Ernst Herzberg 2021-02-02 15:39:24 UTC
# eix -e crmsh
[I] sys-cluster/crmsh
     Available versions:  (~)3.0.3 (~)4.1.0 {PYTHON_TARGETS="python3_7"}
     Installed versions:  4.1.0(16:01:54 02/02/21)(PYTHON_TARGETS="python3_7")
     Homepage:            https://crmsh.github.io/
     Description:         Pacemaker command line interface for management and configuration

# head -n1 $(which crm)
#!/usr/lib/python-exec/python3.8/python

There is something out of sync ;-)
Comment 4 Dan Goodliffe 2021-02-02 15:44:19 UTC
Agreed! I'd actually forgotten about this having pinned python targets back to 3.7 for this package... buuuuut....


firebrand ~ $ emerge -pvO crmsh

These are the packages that would be merged, in order:

[ebuild   R    ] sys-cluster/crmsh-4.1.0::gentoo  PYTHON_TARGETS="python3_7" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

firebrand ~ $ qlist crmsh | grep python | head
/usr/lib/python3.8/site-packages/crmsh/__init__.py
/usr/lib/python3.8/site-packages/crmsh/bootstrap.py
/usr/lib/python3.8/site-packages/crmsh/cache.py
/usr/lib/python3.8/site-packages/crmsh/cibconfig.py
/usr/lib/python3.8/site-packages/crmsh/cibstatus.py
<snip>

firebrand ~ $ qlist crmsh | grep python3.7 | wc -l
0
Comment 5 Ernst Herzberg 2021-02-02 16:01:14 UTC
Agreed! buuuuut but then why i must explicit set PYTHON_TARGET to 3_7 and install it? ;-)
Comment 6 Ultrabug gentoo-dev 2021-02-08 09:26:11 UTC
I bumped crmsh-4.2.1 with newer python versions, dropped the older versions of the ebuild