Jump to content
funtoo forums
  • 0
Sign in to follow this  
funloco

emerge -uavDN @world EAPI=7 is not supported

Question

Hi 😍

This is my error message:

# emerge -uavDN @world                      
	These are the packages that would be merged, in order:
	Calculating dependencies \ * ERROR: dev-python/numpy-1.17.0_rc1::python-modules-kit failed (depend phase):
 *   EAPI=7 is not supported
 | *
 * Call stack:
 | *                 ebuild.sh, line 592:  Called source '/var/git/meta-repo/kits/python-modules-kit/dev-python/numpy/numpy-1.17.0_rc1.ebuild'
 - *   numpy-1.17.0_rc1.ebuild, line  11:  Called inherit 'distutils-r1' 'flag-o-matic' 'fortran-2' 'multiprocessing' 'toolchain-funcs'
 *                 ebuild.sh, line 293:  Called __qa_source '/var/git/meta-repo/kits/core-kit/eclass/fortran-2.eclass'
 *                 ebuild.sh, line  80:  Called source '/var/git/meta-repo/kits/core-kit/eclass/fortran-2.eclass'
 *          fortran-2.eclass, line  34:  Called die
 * The specific snippet of code:
 - *    *) die "EAPI=${EAPI} is not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=dev-python/numpy-1.17.0_rc1::python-modules-kit'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/numpy-1.17.0_rc1::python-modules-kit'`.
 * Working directory: '/usr/lib64/python3.6/site-packages'
 * S: '/var/tmp/portage/dev-python/numpy-1.17.0_rc1/work/numpy-1.17.0_rc1'
 / * ERROR: dev-python/numpy-1.16.1::python-modules-kit failed (depend phase):
 *   EAPI=7 is not supported
 *
 * Call stack:
 / *             ebuild.sh, line 592:  Called source '/var/git/meta-repo/kits/python-modules-kit/dev-python/numpy/numpy-1.16.1.ebuild'
 *   numpy-1.16.1.ebuild, line  11:  Called inherit 'distutils-r1' 'flag-o-matic' 'fortran-2' 'multiprocessing' 'toolchain-funcs'
 *             ebuild.sh, line 293:  Called __qa_source '/var/git/meta-repo/kits/core-kit/eclass/fortran-2.eclass'
 *             ebuild.sh, line  80:  Called source '/var/git/meta-repo/kits/core-kit/eclass/fortran-2.eclass'
 *      fortran-2.eclass, line  34:  Called die
 * The specific snippet of code:
 | *    *) die "EAPI=${EAPI} is not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=dev-python/numpy-1.16.1::python-modules-kit'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/numpy-1.16.1::python-modules-kit'`.
 * Working directory: '/usr/lib64/python3.6/site-packages'
 * S: '/var/tmp/portage/dev-python/numpy-1.16.1/work/numpy-1.16.1'
... done!
	Total: 0 packages, Size of downloads: 0 KiB
	Nothing to merge; quitting.


Numpy is supposed to use EAPI 7.

In fact it(emerge --uavDN world) ends, I just want to know how to get rid of that error.

This after I changed python because I could not install cinnamon.

# eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7
  [3]   python3.5 (fallback)

I managed to install it(cinnamon) by adding to /etc/portage/make.conf:

PYTHON_TARGETS="python2_7 python3_6"
PYTHON_SINGLE_TARGET="python3_6"

and /etc/portage/package.use

gnome-extra/cinnamon PYTHON_TARGETS: python3_5

Any other combination resulted in things like:

!!! The ebuild selected to satisfy "x" has unmet requirements.
....
python_targets_python3_5

This is my emerge --info:

# emerge --info
Portage 2.3.68 (python 3.6.8-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-7.4.1, glibc-2.27-r6, 4.9.168_p1-debian-sources-lts x86_64)
=================================================================
System uname: Linux-4.9.168_p1-debian-sources-lts-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.2.2
KiB Mem:     6112056 total,   3066612 free
KiB Swap:    4194300 total,   4194300 free
sh bash 4.4_p18
ld GNU ld (Gentoo 2.31.1 p3) 2.31.1
ccache version 3.5 [enabled]
app-shells/bash:          4.4_p18::core-kit
dev-java/java-config:     2.2.0-r4::java-kit
dev-lang/perl:            5.26.2-r1::perl-kit
dev-lang/python:          2.7.15::python-kit, 3.5.7::python-kit, 3.6.8::python-kit
dev-util/ccache:          3.5-r1::core-kit
dev-util/cmake:           3.12.3::core-kit
sys-apps/baselayout:      2.2.2::core-kit
sys-apps/openrc:          0.41.2::core-kit
sys-apps/sandbox:         2.13::core-kit
sys-devel/autoconf:       2.13::core-kit, 2.69-r4::core-kit
sys-devel/automake:       1.11.6-r3::core-kit, 1.15.1-r2::core-kit, 1.16.1-r1::core-kit
sys-devel/binutils:       2.31.1-r1::core-kit
sys-devel/gcc:            7.4.1-r6::core-kit
sys-devel/gcc-config:     2.0::core-kit
sys-devel/libtool:        2.4.6-r5::core-kit
sys-devel/make:           4.2.1-r4::core-kit
sys-kernel/linux-headers: 4.14::core-kit (virtual/os-headers)
sys-libs/glibc:           2.27-r6::core-kit
Repositories:
	nokit
    location: /var/git/meta-repo/kits/nokit
    masters: core-kit
    priority: -500
	core-gl-kit
    location: /var/git/meta-repo/kits/core-gl-kit
    masters: core-kit
    priority: 1
	core-hw-kit
    location: /var/git/meta-repo/kits/core-hw-kit
    masters: core-kit
    priority: 1
	core-kit
    location: /var/git/meta-repo/kits/core-kit
    priority: 1
    aliases: gentoo
	core-server-kit
    location: /var/git/meta-repo/kits/core-server-kit
    masters: core-kit
    priority: 1
	core-ui-kit
    location: /var/git/meta-repo/kits/core-ui-kit
    masters: core-kit
    priority: 1
	desktop-kit
    location: /var/git/meta-repo/kits/desktop-kit
    masters: core-kit
    priority: 1
	dev-kit
    location: /var/git/meta-repo/kits/dev-kit
    masters: core-kit
    priority: 1
	editors-kit
    location: /var/git/meta-repo/kits/editors-kit
    masters: core-kit
    priority: 1
	games-kit
    location: /var/git/meta-repo/kits/games-kit
    masters: core-kit
    priority: 1
	gnome-kit
    location: /var/git/meta-repo/kits/gnome-kit
    masters: core-kit
    priority: 1
	haskell-kit
    location: /var/git/meta-repo/kits/haskell-kit
    masters: core-kit
    priority: 1
	java-kit
    location: /var/git/meta-repo/kits/java-kit
    masters: core-kit
    priority: 1
	kde-kit
    location: /var/git/meta-repo/kits/kde-kit
    masters: core-kit
    priority: 1
	lang-kit
    location: /var/git/meta-repo/kits/lang-kit
    masters: core-kit
    priority: 1
	lisp-scheme-kit
    location: /var/git/meta-repo/kits/lisp-scheme-kit
    masters: core-kit
    priority: 1
	llvm-kit
    location: /var/git/meta-repo/kits/llvm-kit
    masters: core-kit
    priority: 1
	media-kit
    location: /var/git/meta-repo/kits/media-kit
    masters: core-kit
    priority: 1
	ml-lang-kit
    location: /var/git/meta-repo/kits/ml-lang-kit
    masters: core-kit
    priority: 1
	net-kit
    location: /var/git/meta-repo/kits/net-kit
    masters: core-kit
    priority: 1
	perl-kit
    location: /var/git/meta-repo/kits/perl-kit
    masters: core-kit
    priority: 1
	python-kit
    location: /var/git/meta-repo/kits/python-kit
    masters: core-kit
    priority: 1
	python-modules-kit
    location: /var/git/meta-repo/kits/python-modules-kit
    masters: core-kit
    priority: 1
	ruby-kit
    location: /var/git/meta-repo/kits/ruby-kit
    masters: core-kit
    priority: 1
	rust-kit
    location: /var/git/meta-repo/kits/rust-kit
    masters: core-kit
    priority: 1
	science-kit
    location: /var/git/meta-repo/kits/science-kit
    masters: core-kit
    priority: 1
	security-kit
    location: /var/git/meta-repo/kits/security-kit
    masters: core-kit
    priority: 1
	text-kit
    location: /var/git/meta-repo/kits/text-kit
    masters: core-kit
    priority: 1
	xfce-kit
    location: /var/git/meta-repo/kits/xfce-kit
    masters: core-kit
    priority: 1
	xorg-kit
    location: /var/git/meta-repo/kits/xorg-kit
    masters: core-kit
    priority: 1
	ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/portage/distfiles"
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 pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mtune=generic -O2 -pipe"
GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl alsa amd64 apng berkdb bluray browser-integration bzip2 cdda cddb cdio cdr colord cracklib crypt cups curl cxx dbus declarative display-manager dnssd dri dts dvd dvdr dvdread eds egl elogind encode evo exif faac faad ffmpeg flac gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle handbook ico iconv icu ieee1394 introspection ios ipod ipv6 jpeg jpeg2k kde kipi lame legacy-systray libass libguess libmpeg2 libnotify mad matroska mjpeg mmx mmxext modules mp3 mpeg mtp mudflap nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp openrc-force pam pcre pdf phonon plasma png policykit postproc pppd pulseaudio python qml qt5 quicktime readline resolvconf sdl sdl1 semantic-desktop sndfile sse sse2 ssl svg taglib tcpd theora tiff tracker truetype twolame udev unicode v4l vorbis vpx wallpapers wav wavpack wayland webp widgets win32codecs wmf wxwidgets x264 x265 xattr xcomposite xinerama xml xscreensaver xvid zeroconf zlib" ABI_X86="64" 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" CPU_FLAGS_X86="mmx mmxext sse sse2" 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-64 pc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd ati" 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, ENV_UNSET, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
# epro
	=== Enabled Profiles: ===
	        arch: x86-64bit
       build: current
     subarch: generic_64
      flavor: desktop
     mix-ins: kde-plasma-5
     mix-ins: cinnamon
	
=== Python kit: ===
	      branch: 3.7-release
	=== All inherited flavor from desktop flavor: ===
	                     workstation (from desktop flavor)
                            core (from workstation flavor)
                         minimal (from core flavor)
	=== All inherited mix-ins from desktop flavor: ===
	                               X (from workstation flavor)
                           audio (from workstation flavor)
                             dvd (from workstation flavor)
                           media (from workstation flavor)
      mediadevice-audio-consumer (from media mix-in)
                mediadevice-base (from mediadevice-audio-consumer mix-in)
      mediadevice-video-consumer (from media mix-in)
                mediadevice-base (from mediadevice-video-consumer mix-in)
        mediaformat-audio-common (from media mix-in)
          mediaformat-gfx-common (from media mix-in)
        mediaformat-video-common (from media mix-in)
                  console-extras (from workstation flavor)
                           print (from desktop flavor)
	=== All inherited flavor from kde-plasma-5 mix-ins: ===
	                         desktop (from gnome-kit:gnome mix-in)
                     workstation (from desktop flavor)
                            core (from workstation flavor)
                         minimal (from core flavor)
	=== All inherited mix-ins from kde-plasma-5 mix-ins: ===
	                         wayland (from kde-plasma-5 mix-in)
                           gnome (from kde-plasma-5 mix-in)
                 gnome-kit:gnome (from gnome mix-in)
                               X (from workstation flavor)
                           audio (from workstation flavor)
                             dvd (from workstation flavor)
                           media (from workstation flavor)
      mediadevice-audio-consumer (from media mix-in)
                mediadevice-base (from mediadevice-audio-consumer mix-in)
      mediadevice-video-consumer (from media mix-in)
                mediadevice-base (from mediadevice-video-consumer mix-in)
        mediaformat-audio-common (from media mix-in)
          mediaformat-gfx-common (from media mix-in)
        mediaformat-video-common (from media mix-in)
                  console-extras (from workstation flavor)
                           print (from desktop flavor)
	=== All inherited flavor from cinnamon mix-ins: ===
	                         desktop (from gnome-kit:gnome mix-in)
                     workstation (from desktop flavor)
                            core (from workstation flavor)
                         minimal (from core flavor)
	=== All inherited mix-ins from cinnamon mix-ins: ===
	                           gnome (from cinnamon mix-in)
                 gnome-kit:gnome (from gnome mix-in)
                               X (from workstation flavor)
                           audio (from workstation flavor)
                             dvd (from workstation flavor)
                           media (from workstation flavor)
      mediadevice-audio-consumer (from media mix-in)
                mediadevice-base (from mediadevice-audio-consumer mix-in)
      mediadevice-video-consumer (from media mix-in)
                mediadevice-base (from mediadevice-video-consumer mix-in)
        mediaformat-audio-common (from media mix-in)
          mediaformat-gfx-common (from media mix-in)
        mediaformat-video-common (from media mix-in)
                  console-extras (from workstation flavor)
                           print (from desktop flavor)

https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS

I was reading this and I do not have /etc/portage/profile/eapi.

How can I resolve this situation?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I have no problem emerging dev-python/numpy-1.17.0_rc1 on any of my systems. It is quite happy with EAPI 7.

And for cinnamon. That really needs either python 3.4 or 3.5, as you can see in the output:

Quote

e5d76ef69e8d ~ # emerge -pv cinnamon

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

Calculating dependencies -Unable to unshare: EPERM
 |

!!! Problem resolving dependencies for gnome-extra/cinnamon
... done!

!!! The ebuild selected to satisfy "cinnamon" has unmet requirements.
- gnome-extra/cinnamon-3.6.6-r2::gnome-kit USE="networkmanager nls" PYTHON_TARGETS="python2_7 -python3_4 -python3_5"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python3_4 python_targets_python3_5 )

  The above constraints are a subset of the following complete expression:
    any-of ( python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 ) any-of ( python_targets_python2_7 ) any-of ( python_targets_python3_4 python_targets_python3_5 )

So your solution for that was correct. It seems that this version of cinnamon also seems to work with python 3.6 but as this version of cinnamon is rather dated, it might make more sense to upgrade to a newer version.

And if you get errors while doing a world upgrade lile "emerge -uavDN @world" it is always helpful to isolate the problem by just trying to emerge the problematic package by itself. In your case that would mean to just try to emerge numpy by itself first.

Share this post


Link to post
Share on other sites
  • 0

@jhan

1.3-release branch of /var/git/meta-repo/kits/core-kit/eclass/fortran-2.eclass  has no support EAPI-7

https://code.funtoo.org/bitbucket/projects/AUTO/repos/core-kit/browse/eclass/fortran-2.eclass#33

You have core-kit set to 1.4-release  on your system to not see the error?

https://code.funtoo.org/bitbucket/projects/AUTO/repos/core-kit/browse/eclass/fortran-2.eclass?at=refs%2Fheads%2F1.4-release#34

@funloco

I request task fix to bugs.funtoo.org

Update core-kit/1.3-release fortran-2.eclass to support EAPI-7

https://bugs.funtoo.org/browse/FL-6538

 

 

Share this post


Link to post
Share on other sites
  • 0

If you hit EAPI errors like this, be sure to report bugs to bugs.funtoo.org and be sure to include the release of Funtoo you're using and what you tried to emerge that died and we'll get them fixed! 🙂

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...