Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519698 - sys-apps/systemd-215-r3 USE=python - there are no ebuilds to satisfy dev-python/lxml[...,
Summary: sys-apps/systemd-215-r3 USE=python - there are no ebuilds to satisfy dev-pyth...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 10:01 UTC by Attila Tóth
Modified: 2015-09-07 18:21 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 Attila Tóth 2014-08-12 10:01:37 UTC
Slight changes were introduced in sys-apps/systemd-215-r3 recently without incrementing -rX. Python 3.4 was added to the python compat list. Systemd with USE=python depends on dev-python/lxml, which doesn't currently cope with python 3.4. Therefore portage complains about unsatisfied python requirements.

Here is emerge output while trying to upgrade the system:
--- output starts here ---
These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-python/lxml[python_targets_python2_7(-)?,python_targets_python3_2(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_single_target_python2_7(+)?,python_single_target_python3_2(+)?,python_single_target_python3_3(+)?,python_single_target_python3_4(+)?]".
(dependency required by "sys-apps/systemd-215-r3" [ebuild])
(dependency required by "x11-misc/colord-1.2.1-r1[systemd]" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
--- output ends here ---

Reproducible: Always




If I remove 3.4 from the python compat list, systemd can be upgraded and it no longer blocks the whole upgrade process. Another alternative is to disable the python USE flag...
Comment 1 Attila Tóth 2014-08-12 10:02:52 UTC
Or wait until dev-python/lxml will handle python 3.4 as well and add 3.4 to the compat list only after that.
Comment 2 Graham Murray 2014-08-12 10:57:38 UTC
dev-python/lxml does support python3_4.

eix lxml
[I] dev-python/lxml
     Available versions:  3.3.5{tbz2} {beautifulsoup3 doc examples +threads PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4"}
     Installed versions:  3.3.5{tbz2}(08:59:02 25/04/14)(threads -beautifulsoup3 -doc -examples PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4 -python2_6")
     Homepage:            http://lxml.de/ http://pypi.python.org/pypi/lxml/
     Description:         A Pythonic binding for the libxml2 and libxslt libraries
Comment 3 Attila Tóth 2014-08-12 16:56:19 UTC
(In reply to Graham Murray from comment #2)
> dev-python/lxml does support python3_4.
> 
> eix lxml
> [I] dev-python/lxml
>      Available versions:  3.3.5{tbz2} {beautifulsoup3 doc examples +threads
> PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4"}
>      Installed versions:  3.3.5{tbz2}(08:59:02 25/04/14)(threads
> -beautifulsoup3 -doc -examples PYTHON_TARGETS="python2_7 python3_2 python3_3
> python3_4 -python2_6")
>      Homepage:            http://lxml.de/ http://pypi.python.org/pypi/lxml/
>      Description:         A Pythonic binding for the libxml2 and libxslt
> libraries

Yet, systemd can be only emerged after removing 3.4 from the python compatibility list.
Here is what I get for "emerge -vp lxml":
--- output starts here ---
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/lxml-3.3.5  USE="beautifulsoup3 threads -doc -examples" PYTHON_TARGETS="python2_7 python3_2 python3_3 (-python3_4)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
--- output ends here ---
I haven't changed any python settings. All versions (2.7, 3.2, 3.3, 3.4) of python are installed and working. I have all these enabled in make.conf. I haven't changed anything in make.conf. Just synced the package tree. Maybe some eclass changes triggered that, I don't know. It's not clear why there are brackets around 3.4. In the mean time it seems to work for other ebuilds. That is all I can say.

emerge --info
Portage 2.2.11-r1 (python 2.7.8-final-0, hardened/linux/amd64/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.15.8-hardened x86_64)
=================================================================
System uname: Linux-3.15.8-hardened-x86_64-Intel-R-_Xeon-R-_CPU_E5620_@_2.40GHz-with-gentoo-2.2
KiB Mem:    16277736 total,   9166700 free
KiB Swap:   26105620 total,  26105620 free
Timestamp of tree: Tue, 12 Aug 2014 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.2.5-r6, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.4, 4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: dwokfur_local dwokfur_public gentoo hardened-dev anarchy science mate-overlay bitcoin
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/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="-O2 -march=corei7 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fsn.hu/pub/linux/distributions/gentoo/ http://gentoo.inode.at/"
LANG="hu_HU.utf8"
LC_ALL="hu_HU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-4"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/atoth/public_html/overlay /usr/portage /var/lib/layman/hardened-development /var/lib/layman/anarchy /var/lib/layman/science /var/lib/layman/mate /var/lib/layman/bitcoin"
USE="3dnow 3dnowext 64bit 7zip GNU R X X509 Xaw3d a52 aac aalib acl acpi action_modeswitch adobe-cff aiglx aio aisleriot alaw alsa amd64 amr aotuv apache2 apng applet archive ares asf asn1 atahpt atmo audio audiofile automount avcodec avformat avs bash-completion bazaar bcmath bdf beautifulsoup3 berkdb bind binfilter bitbang_spi bitmap-fonts bittorrent blas bluetooth bogofilter bonobo boost branding browserplugin bugzilla buspirate_spi bzip2 bzr cacert cairo calendar canvas caps cblas-external cdaudio cdda cddax cddb cdio cdparanoia cdr cdrom celt cgi chardet charmap checkpath cheese chromaprint city clamdtop clang cli client clutter color colord command-not-found contentcache context contrib convert-mozilla-cookies corefonts coverage cracklib cramfs crashreporter crypt cryptsetup crywrap css ctype cue cups curl curlwrappers cvs cxx datahub dba dbm dbus dcmtk ddate dediprog designer deskbar detex devhelp device-mapper dga dhcp dia dicom dii dirac disassembler discard-path divx divx4linux djbfft djvu dlloader dmi dns dnsrbl doc-pdf dot downloads-monitor dri dri3 drkaiser dselect dtmf dts dv dvbpsi dvd dvdnav dvdr dvdread dvi dvi2tty dvipdfm eap-sim ecap edd eds egl eigen elf elfutils emerald enca enchant encode enscript epiphany epoll epspdf equalizer evo exif expat extensions extra extraengine extrafilters extras faac faad fallback fam fame fat fax fbosd fdformat fdk ffmpeg fftw filecaps fileinfo filter-aaaa finger firefox firefox-bookmarks firmware firmware-loader flac flash flashback flatfile flickr floppy fltk follow-xff fontconfig fontforge foomaticdb force-cgi-redirect fortran fpx ftdi ftp g3dvl g722 g729 gadu gajim galago gallium gbm gconf gd gdb gdbm gdk-pixbuf gdl gdm gdu geany gedit geoip geoloc gftp gif gimp gimpprint ginac git gksu glade glamor glchess gles gles1 gles2 glibc gme gmedia gmp gnet gnome gnome-keyring gnome-online-accounts gnome-screensaver gnumeric gnuplot gnutls gold gopher gpac gpg gphoto2 gpm graph graphics graphicsmagick graphviz groupwise gs gsf gsl gsm gstreamer gtalk gtk gtk2 gtk3 gtkhtml gudev gui guile h224 h281 h323 hardened hash hdf hdf5 hdfview hid2hci highlight hpcups hpijs html http hub hwdb icap-client icedtea7 iconv icu id3 id3tag idle idn iec61883 iksemel ilbc imagemagick imaging imap imlib inherit-graph inifile inkjar inode int-quality internal intl introspection iodbc ipc iplayer iplsrc iptc ipv6 irc irda ivr jabber jadetex java java-internal java6 javascript jbootstrap jce jemalloc jingle jpeg jpeg2k jpgraph jrtplib json justify kate kdrive keymap kpathsea l10n ladspa lame lapack latex latex3 lcms ldb ldns lensfun libass libburn libcaca libcanberra libffi libgda libkms libnl libnotify libopts libplot libsamplerate libsecret libssh2 libtar libtiger libv4l2 libvisual lightning live llvm llvm-shared-libs lm_sensors lock logging logitech-mouse loop-aes lto lua lxde lyx lzma lzo lzw m17n-lib mad map math mathml matio matroska mbim mbox mcal mclib md5sum mdev meanwhile mediawiki memlimit mercurial metapost mhash midi mikmod milter mime miner-fs ming mjpeg mktemp mmap mmx mmxext mng mod mode-owner modemmanager modules motif mozbranding mozcalendar mp2 mp3 mp4 mpeg mpeg1 mpeg2 mplayer mta mtp mudflap multinetwork musepack mxit mysql mysqli mysqlnd natspec nautilus ncat ncurses ndiff nemesi netifrc netlink network networking networkmanager new-login nic3com nicintel nicintel_spi nicnatsemi nicrealtek nifti nls nmap-update nntp nokia nopop3d nping nptl nsplugin nss nss-pem ntfs ntfsdecrypt numpy nut nuv oav obex ocr odbc odk office ofx ogg oggvorbis ogm ogp_spi oidentd oil onaccess opcache openal opencore-amr openct opencv opendbx openexr opengl openipmi openmax openmp openpty openssl openvg optimisememory optreg opus oqgraph orbit osmesa otr overload pam pam_chroot pam_ssh pam_timestamp pango passwd passwdqc paste64 pasteafter patented pax_kernel pbxt pccts pci pcmcia pcntl pcre pcsc-lite pda pdf pdo pear perl phar php pic pidgin playlist plotutils plugin-autowep plugin-btscan plugin-dot15d4 plugin-ptw plugin-spectools plugins png pnm policykit pony_spi posix postproc postscript ppds prefixaq prevent-removal projectm pstricks ptpax publishers pulseaudio pvr python python2 qhull qt3support quicktime quota quotas r600-llvm-compiler rar rc5 rcs rdp readline realmedia reencrypt reflection reiserfs remoteosd rendering replytolist reports review rle rrl rss rtc rtf rtmp ruby19 ruby20 ruby21 rule_generator samba sasl satamv satasii sbc sbsms scanner scenarios schroedinger science scp screen script scripting scripttools sdl sdl-sound sdlgfx seccomp secure secure-delete seed sendmail sendto sensord serprog servletapi session sftp sftplogging shared shared-dricore shared-glapi shm short-touchpad-timeout showlistmodes showtabbar sid sidebar sieve silc sip sipe sipim skins slang smbsharemodes smime smp sms smtp sndfile soap socialweb sockets sound soundex soundtouch sourceview sox spamassassin sparse speex spell spoof sqlite3 srt srtp sse sse2 sse2check sse3 sse4_1 ssh ssl ssp sspall ssse3 startup-notification static-analyzer stats stun subtitles subversion sudoku suhosin svg svnserve swat switcher swscale sysgccxml syslog system-cairo system-icu system-jpeg system-sqlite systemd systemd-units systray sysvipc szip t1lib taglib tagwriting tcl tcltk tcpd telepathy templates terminal tetex tex4ht texi2html tga themes theora thin threads threadsafe thunar thunderbird tidy tiff tilepath timidity tk tlen tls-heartbeat tokenizer toolame toolbar tools topicisnuhost totem tracker transcode trayicon tremor truetype truetype-fonts trust tts tty-helpers twolame type1-fonts type3 udev udis86 udisks ulaw umfpack underscores unicode unlock-notify update-alternatives upower usb userlocales usermod utils uuid v4l v4l2 vaapi vala valgrind vcd vcdinfo vcdx vdpau verify-file video views virus-scan vista visualization vlc vlm vnc voice volpack vorbis vpx vtk vxml wav wavplay webcam webgl webkit webm webp webrtc-aec wifi wiki wildcards wimax winscp wma wma-fixed wmf wmp wps wxwidgets wxwindows x264 xa xattr xblas xcap xcb xchat xchatdccserver xcos xdm-auth xetex xforms xine xkb xlib-xcb xmedcon xml xml2 xmlreader xmlrpc xmlwriter xmp xnest xorg xpm xps xscreensaver xsl xslt xtpax xulrunner xv xvfb xvid xvmc yahoo zeitgeist zip zlib zvbi" ABI_X86="64" ALSA_CARDS="cmipci" 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 dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest authz_dbm version filter ident charset_lite asis dbd authn_dbd imagemap cgid substitute access_compat authn_core authz_core cache_disk slotmem_shm socache_shmcb unixd ratelimit remoteip cern_meta reqtimeout" APACHE2_MPMS="worker" 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" CURL_SSL="nss" ELIBC="glibc" 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" GRUB_PLATFORMS="pc emu" INPUT_DEVICES="keyboard mouse acecad evdev roccat_kone roccat_koneplus roccat_konepure roccat_konextd roccat_kovaplus roccat_pyra roccat_savu roccat_konepureoptical" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" LINGUAS="hu en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21" SANE_BACKENDS="epson epson2 gt68xx ma1509 mustek mustek_usb mustek_usb2 plustek snapscan umax pnm" USERLAND="GNU" VIDEO_CARDS="radeon v4l modesetting r200 ast" 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"
USE_PYTHON="2.7 3.2 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-08-12 20:24:39 UTC
I think that 3.4 support was added to lxml in-place without bumping the revision. You may try upgrading your system with --changed-use, or just rebuilding lxml.
Comment 5 Mike Gilbert gentoo-dev 2014-08-12 21:11:58 UTC
The python_targets_python3_4 use flag is stable-masked, but you appear to be running a (mostly) stable system.

Do you have sys-apps/systemd in /etc/portage/package.{accept_,}keywords?

If so, there are basically three solutions for you:

1. Add dev-python/lxml to package.keywords as well.
2. Unmask the python_targets_python3_4 use flag.
3. Remove python3_4 from PYTHON_TARGETS.
Comment 6 Attila Tóth 2014-08-13 08:55:15 UTC
(In reply to Michał Górny from comment #4)
> I think that 3.4 support was added to lxml in-place without bumping the
> revision. You may try upgrading your system with --changed-use, or just
> rebuilding lxml.

I'll resync - that must update lxml, which should solve the problem. Probably the last sync happened before the lxml in-place changes hit the tree, but after the systemd in-place changes were already there. It's not easy to track these in-place changes...

Thanks:
Dw.
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-10-30 09:09:15 UTC
Ping. Is this solved?
Comment 8 Pacho Ramos gentoo-dev 2015-09-07 18:21:40 UTC
python support is disabled in systemd ebuild and lxml version in stable has python 3.4 support