Here is the failure log: * python3_7: running distutils-r1_run_phase distutils-r1_python_compile python3.7 setup.py build -j 3 Traceback (most recent call last): File "setup.py", line 115, in <module> from ipykernel.kernelspec import write_kernel_spec, make_ipkernel_cmd, KERNEL_NAME File "/var/tmp/portage/dev-python/ipykernel-5.1.0/work/ipykernel-5.1.0/ipykernel/__init__.py", line 2, in <module> from .connect import * File "/var/tmp/portage/dev-python/ipykernel-5.1.0/work/ipykernel-5.1.0/ipykernel/connect.py", line 13, in <module> from IPython.core.profiledir import ProfileDir File "/usr/lib/python3.7/site-packages/IPython/__init__.py", line 54, in <module> from .core.application import Application File "/usr/lib/python3.7/site-packages/IPython/core/application.py", line 25, in <module> from IPython.core import release, crashhandler File "/usr/lib/python3.7/site-packages/IPython/core/crashhandler.py", line 27, in <module> from IPython.core import ultratb File "/usr/lib/python3.7/site-packages/IPython/core/ultratb.py", line 119, in <module> from IPython.utils import path as util_path File "/usr/lib/python3.7/site-packages/IPython/utils/path.py", line 17, in <module> from IPython.utils.process import system File "/usr/lib/python3.7/site-packages/IPython/utils/process.py", line 19, in <module> from ._process_posix import system, getoutput, arg_split, check_pid File "/usr/lib/python3.7/site-packages/IPython/utils/_process_posix.py", line 23, in <module> import pexpect File "/usr/lib/python3.7/site-packages/pexpect/__init__.py", line 75, in <module> from .pty_spawn import spawn, spawnu File "/usr/lib/python3.7/site-packages/pexpect/pty_spawn.py", line 14, in <module> from .spawnbase import SpawnBase File "/usr/lib/python3.7/site-packages/pexpect/spawnbase.py", line 224 def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False): ^ SyntaxError: invalid syntax * ERROR: dev-python/ipykernel-5.1.0 failed (compile phase): * (no error message) * * Call stack: * isolated-functions.bash, line 357: called src_compile * environment, line 2346: called distutils-r1_src_compile * environment, line 694: called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 209: called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1890: called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1254: called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1252: called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 412: called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 685: called distutils-r1_python_compile * environment, line 555: called esetup.py 'build' '-j' '3' * environment, line 817: called die * * If you need support, post the topmost build error, and the call stack if relevant. * * Working directory: '/var/tmp/portage/dev-python/ipykernel-5.1.0/work/ipykernel-5.1.0' !!! caught exception building dev-python/ipykernel-5.1.0: failed build operation: compile: Failed building (False/0 return from handler) pmerge: error: failed build operation: compile: Failed building (False/0 return from handler)
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket The logs must be part of the ticket, but not on external websites. We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards.
Created attachment 579682 [details] build log
$ emerge --info dev-python/ipykernel Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop, gcc-8.2.0, glibc-2.29-r2, 4.9.178-gentoow-3 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.9.178-gentoow-3-x86_64-Intel-R-_Core-TM-_i5-4200U_CPU_@_1.60GHz-with-gentoo-2.6 KiB Mem: 8090032 total, 2048372 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 12 Jun 2019 03:00:01 +0000 Head commit of repository gentoo: d397f268e78a07799cd4e5d92e94ee9688954868 Head commit of repository gentoo-mate: 94f5806a69568bfdc668e8eabda77c5726c21421 Head commit of repository mate-de-gentoo: 70c21a99aa2928fed6ea33395d9c59f70c53cc8f Head commit of repository oz123-overlay: 77c6416e60a2288bc8e478f6ee212b8fbf2619b1 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.31.1 p7) 2.31.1 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.28.2-r1::gentoo dev-lang/python: 2.7.16::gentoo, 3.5.5::gentoo, 3.6.5::gentoo, 3.7.3::gentoo dev-util/cmake: 3.14.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r6::gentoo sys-devel/gcc: 8.2.0-r6::gentoo, 8.3.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes gentoo-mate location: /usr/local/gentoo-mate sync-type: git sync-uri: https://anongit.gentoo.org/git/proj/gentoo-mate.git masters: gentoo mate-de-gentoo location: /usr/local/mate-de-gentoo sync-type: git sync-uri: https://github.com/oz123/mate-de-gentoo masters: gentoo oz123-overlay location: /usr/local/gentoo sync-type: git sync-uri: https://github.com/oz123/overlay-gentoo.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 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 sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="https://ftp.uni-erlangen.de/pub/mirrors/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" 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="/var/tmp" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv introspection ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" 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="karbon sheets words" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7" RUBY_TARGETS="ruby24" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="dummy fbdev intel vesa i965" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-python/ipykernel-4.6.1-r2::gentoo was built with the following: USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_7"
I found the problem: ipykernel in this version depends on: >=dev-python/ipython-6 which in turn depends on: dev-python/pexpect But this dependency is broken, because while dev-python/pexpect-4.2.1 causes this build to fail, a newer version of pexpect (dev-python/pexpect-4.6.1) will work. In another awkward way this bug is caused is that dev-python/pexpect-4.2.1 is marked as supporting python3.7, besides the fact that it causes the build error, it simply can't be true because pexpect version 4.2.1 was tagged on n Aug 21, 2016[1] and python3.7 was released almost two years later[2] [1]: https://github.com/pexpect/pexpect/releases/tag/4.2.1 [2]: https://www.python.org/downloads/release/python-370/
*** This bug has been marked as a duplicate of bug 678854 ***