Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
python is blocking python-exec
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 202

PostPosted: Tue Apr 18, 2017 4:37 pm    Post subject: python is blocking python-exec Reply with quote

When I emerge python, the existing versions block the new version of python-exec,

Code:
[ebuild  NS    ] dev-lang/python-3.4.5:3.4/3.4m::gentoo [2.7.10-r1:2.7::gentoo, 3.3.5-r1:3.3::gentoo] USE="ncurses readline sqlite ssl (threads) xml -build -examples -gdbm -hardened -ipv6 (-libressl) -tk -wininst" 14,189 KiB
[ebuild     U  ] dev-lang/python-exec-2.4.4:2::gentoo [2.0.1-r1:2::gentoo] PYTHON_TARGETS="(jython2_7) (pypy) (pypy3) (python2_7) (python3_4) (python3_5) (python3_6%*) (-jython2_5%*) (-python3_3%*)" 85 KiB
[ebuild     U  ] app-eselect/eselect-python-20160516::gentoo [20111108::gentoo] 46 KiB
[blocks b      ] <app-eselect/eselect-python-20160206 ("<app-eselect/eselect-python-20160206" is blocking dev-lang/python-exec-2.4.4)
[blocks B      ] <dev-lang/python-3.3.5-r4:3.3 ("<dev-lang/python-3.3.5-r4:3.3" is blocking dev-lang/python-exec-2.4.4)
[blocks B      ] <dev-lang/python-2.7.10-r4:2.7 ("<dev-lang/python-2.7.10-r4:2.7" is blocking dev-lang/python-exec-2.4.4)


Do I want python 3.4.5?

Even if I mask that, however, the blocking still occurs. Normally, I would just unmerge the blocking entry and then remerge it after emerging the progam that is being blocked, but if I did that, I would be left without any python for portage to use. Do I even want the new python-exec?

If I block the new python-exec, it still shows up in emerge and it says the following

Code:
The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by dev-python/six-1.10.0::gentoo
# required by dev-python/packaging-16.6::gentoo
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask:
=dev-lang/python-exec-2.4.4



emerge --info
Code:
Portage 2.3.2 (python 2.7.10-final-0, funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-4.9.3, glibc-2.20-r2, 3.19.3-1~exp1 i686)
=================================================================
System uname: Linux-3.19.3-1~exp1-i686-Intel-R-_Xeon-R-_CPU_E5-1650_v2_@_3.50GHz-with-gentoo-2.2.1
KiB Mem:     2068956 total,    968392 free
KiB Swap:    4194300 total,   4190616 free
sh bash 4.3_p48
ld GNU ld (Funtoo 2.25) 2.25.0
app-shells/bash:          4.3_p48::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r1::gentoo
dev-util/cmake:           3.7.2::gentoo
sys-apps/baselayout:      2.2.1::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r2::gentoo
sys-devel/gcc:            4.9.3-r1::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/funtoo/ports-2012.git
    priority: -1000

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mtune=generic -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -mtune=generic -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac alsa apng bluray bzip2 cdda cddb cdio cdr cracklib cups cxx dbus dri dts dvd dvdr dvdread encode exif faac faad ffmpeg flac gif gpm ico iconv icu ieee1394 ios ipod jpeg jpeg2k lame libass libguess libmpeg2 lm_sensors mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap ncurses nls nptl nsplugin ogg opengl openmp pam pcre pdf png postproc pppd quicktime readline resolvconf sndfile sse sse2 ssl svg taglib theora tiff truetype twolame udev unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 x86 xattr xml xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 pc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel vmware" XFCE_PLUGINS="brightness clock trash" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31269
Location: here

PostPosted: Tue Apr 18, 2017 4:47 pm    Post subject: Reply with quote

Similar problem here
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 202

PostPosted: Tue Apr 18, 2017 6:06 pm    Post subject: Reply with quote

I tried unmerging python-3.3.5-r1 and eselect-python-20111108. Then I tried to emerge dev-lang/python-2.7.13. This results in

Code:
[ebuild     U ~] dev-lang/python-2.7.13:2.7::gentoo [2.7.10-r1:2.7::gentoo] USE="ncurses readline sqlite ssl (threads) (wide-unicode) xml (-berkdb) -build -doc -examples -gdbm -hardened -ipv6 -libressl% -tk -wininst" 12,216 KiB
[ebuild     U  ] dev-lang/python-exec-2.4.4:2::gentoo [2.0.1-r1:2::gentoo] PYTHON_TARGETS="(jython2_7) (pypy) (pypy3) (python2_7) (python3_4) (python3_5) (python3_6%*) (-jython2_5%*) (-python3_3%*)" 85 KiB
[ebuild  N     ] app-eselect/eselect-python-20160516::gentoo  46 KiB

Total: 3 packages (2 upgrades, 1 new), Size of downloads: 12,347 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/python-exec:2

  (dev-lang/python-exec-2.4.4:2/2::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-lang/python-exec-2.4.2 required by (app-eselect/eselect-python-20160516:0/0::gentoo, ebuild scheduled for merge)
    ^^                     ^^^^^                                                                                             
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4669
Location: Germany

PostPosted: Tue Apr 18, 2017 6:23 pm    Post subject: Reply with quote

mauricev wrote:
emerge --info:
Portage 2.3.2 (python 2.7.10-final-0, funtoo/1.0/linux-gnu/arch/x86-32bit, gcc-4.9.3, glibc-2.20-r2, 3.19.3-1~exp1 i686)
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3"

Huh, this is a very long no updated funtoo ..

Suggestion:
Remove your PYTHON_TARGETS and PYTHON_SINGLE_TARGET Entry's from your make.conf,
and try a
Code:
emerge -avuDN @world --with-bdeps=y --backtrack=300
Back to top
View user's profile Send private message
mauricev
Apprentice
Apprentice


Joined: 22 Mar 2004
Posts: 202

PostPosted: Tue Apr 18, 2017 7:12 pm    Post subject: Reply with quote

I seem to have fixed it by force emerging (--no-deps) both python-3.4.6 and python-exec-2.4.4. The only thing left was a reference to python3.3 in /etc/python-exec/python-exec.conf. Finally, I updated 2.7 python to python-2.7.13 with the ~x86 keyword since the 2.7.10 version was apparently incompatible with the new python-exec.

Quote:
Remove your PYTHON_TARGETS and PYTHON_SINGLE_TARGET Entry's from your make.conf


What do these do actually? Do we really need them if you are telling me to remove them?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Apr 18, 2017 7:47 pm    Post subject: Reply with quote

mauricev wrote:
Do we really need them if you are telling me to remove them?

Gentoo users don't need them, and Gentoo does not set them.

Have you tried taking your support questions to the right website for your distro?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum