Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575096 - app-editors/vim-7.4.1229: REQUIRED_USE flag constraints are unsatisfied (too many python3 targets enabled)
Summary: app-editors/vim-7.4.1229: REQUIRED_USE flag constraints are unsatisfied (too ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal minor
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-18 19:01 UTC by Jacob Godserv
Modified: 2017-06-21 08:12 UTC (History)
0 users

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 Jacob Godserv 2016-02-18 19:01:50 UTC
Currently it seems Gentoo Prefix Linux amd64 has Python 3.4 and 3.5 targetted. vim wants only one python selected.

Reproducible: Always

Steps to Reproduce:
1. Ensure make.conf is clean of PYTHON_* config
2. emerge -pv vim


Expected Results:  
vim should just merge with a simple profile setup.

Portage 2.2.20-prefix (python 2.7.10-final-0, prefix/linux/amd64, gcc-4.8.5, unavailable, 2.6.32-358.el6.x86_64 x86_64)
=================================================================
System uname: Linux-2.6.32-358.el6.x86_64-x86_64-Intel-R-_Xeon-R-_CPU_E5-2690_0_@_2.90GHz-with-centos-6.4-Final
KiB Mem:     8062532 total,   1522212 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo_prefix: Mon, 15 Feb 2016 19:03:15 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.3) 2.24
app-shells/bash:          4.3_p39::gentoo_prefix
dev-java/java-config:     2.2.0::gentoo_prefix
dev-lang/perl:            5.22.1::gentoo_prefix
dev-lang/python:          2.7.10::gentoo_prefix, 3.4.3-r5::local, 3.5.1::local
dev-util/cmake:           3.4.3::gentoo_prefix
dev-util/pkgconfig:       0.29::gentoo_prefix
sys-devel/autoconf:       2.69::gentoo_prefix
sys-devel/automake:       1.14.1::gentoo_prefix, 1.15::gentoo_prefix
sys-devel/binutils:       2.24-r2::gentoo_prefix
sys-devel/gcc:            4.8.5::gentoo_prefix
sys-devel/gcc-config:     1.8-r1::gentoo_prefix
sys-devel/libtool:        2.4.6-r1::gentoo_prefix
sys-devel/make:           4.1-r1::gentoo_prefix
sys-kernel/linux-headers: 4.4::gentoo_prefix (virtual/os-headers)
Repositories:

gentoo_prefix
    location: /home/javaJake/prefix/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync8.prefix.bitzolder.nl/gentoo-portage-prefix
    priority: -1000
    aliases: gentoo

local
    location: /home/javaJake/prefix/usr/local/portage
    masters: gentoo_prefix
    priority: 0

ACCEPT_KEYWORDS="~amd64-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -O2 -pipe"
DISTDIR="/home/javaJake/prefix/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs case-insensitive-fs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j6 -l3"
PKGDIR="/home/javaJake/prefix/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/javaJake/prefix/"
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"
PORTAGE_TMPDIR="/home/javaJake/prefix/var/tmp"
USE="amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules ncurses nls nptl openmp pcre prefix prefix-guest readline seccomp session ssl tcpd unicode xattr zlib" 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="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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa dummy v4l" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jacob Godserv 2016-02-18 19:02:41 UTC
!!! The ebuild selected to satisfy "app-editors/vim" has unmet requirements.
- app-editors/vim-7.4.1229::gentoo_prefix USE="nls (prefix) (prefix-guest) python -X (-acl) -cscope -debug (-gpm) -lua (-luajit) -minimal -perl (-racket) -ruby (-selinux) -tcl -vim-pager" PYTHON_TARGETS="python2_7 python3_4 python3_5 -python3_3"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( at-most-one-of ( python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 ) )

  The above constraints are a subset of the following complete expression:
    luajit? ( lua ) python? ( any-of ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 ) at-most-one-of ( python_targets_python2_7 ) at-most-one-of ( python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 ) )
Comment 2 Fabian Groffen gentoo-dev 2016-02-27 18:03:16 UTC
I think this could be caused by bug #574822
Comment 3 Michael Haubenwallner (RETIRED) gentoo-dev 2017-04-03 10:31:58 UTC
Nope.
Problem is that in profiles/prefix/make.defaults we *add* python3_5 to PYTHON_TARGETS, so we have both python3_4 and python3_5 there (in addition to python2_7), while app-editors/vim allows for just one single python2 and one single python3 target.

But I'm unsure what best to do here:
Probably p.use.mask python_targets_python3_4 for vim?
Comment 4 Fabian Groffen gentoo-dev 2017-04-03 10:57:18 UTC
I think that python3.4 needed to be set in the time we didn't have python3.5 yet.  Since we do have 3.5 now, perhaps we can just rid ourselves of the override instead?
Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2017-04-03 11:29:20 UTC
base/make.defaults still has PYTHON_TARGETS="python2_7 python3_4"

Do we want this for prefix/make.defaults:?
-PYTHON_TARGETS="${PYTHON_TARGETS} python3_5"
+PYTHON_TARGETS="-python3_4 python3_5"
Comment 6 Fabian Groffen gentoo-dev 2017-04-03 12:03:19 UTC
I think that actually makes sense
Comment 8 Fabian Groffen gentoo-dev 2017-06-21 08:12:08 UTC
for the record, I think this solves it in a better way:

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

(the PYTHON_SINGLE_TARGET bit is also important)