Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716852 - x11-terms/kitty-9999 missing build dependency on dev-python/importlib_resources
Summary: x11-terms/kitty-9999 missing build dependency on dev-python/importlib_resources
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Pablo Orduna
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-09 20:47 UTC by Zach Kaylor
Modified: 2020-04-13 08:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Logs (info.tar.gz,9.34 KB, application/gzip)
2020-04-09 20:47 UTC, Zach Kaylor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zach Kaylor 2020-04-09 20:47:44 UTC
Created attachment 631688 [details]
Logs

x11-terms/kitty-9999 fails to build because of a missing python module.
Emerging dev-python/importlib_resources fixes the issue.


Output of `emerge --info '=x11-terms/kitty-9999'`, output of `emerge -pqv '=x11-terms/kitty-9999'`, and contents of build.log attached.
Comment 1 Zach Kaylor 2020-04-09 20:53:18 UTC
$ emerge --info 'x11-terms/kitty-9999'


Portage 2.3.89 (python 3.6.10-final-0, default/linux/arm64/17.0, gcc-9.2.0, glibc-2.29-r7, 5.6.0-MANJARO-ARM+ aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.6.0-MANJARO-ARM+-aarch64-with-gentoo-2.6
KiB Mem:     3886192 total,   2545800 free
KiB Swap:   12582908 total,  12582908 free
Timestamp of repository gentoo: Thu, 09 Apr 2020 07:00:01 +0000
Head commit of repository gentoo: cd322a03f7fff6a4dc98b1410ffe2a1f9933be72
Head commit of repository pinebookpro-overlay: 5d23676ba34bdba3824c049b6e8d140efaeb92a1

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

pinebookpro-overlay
    location: /var/db/repos/pinebookpro-overlay
    sync-type: git
    sync-uri: https://github.com/Jannik2099/pinebookpro-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O3 -pipe -march=armv8-a+crc+crypto -mcpu=cortex-a72.cortex-a53"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -march=armv8-a+crc+crypto -mcpu=cortex-a72.cortex-a53"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --autounmask --jobs 6 --load-average 5"
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="-O3 -pipe -march=armv8-a+crc+crypto -mcpu=cortex-a72.cortex-a53"
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 qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=armv8-a+crc+crypto -mcpu=cortex-a72.cortex-a53"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6 -l10"
PKGDIR="/var/cache/binpkgs"
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="acl alsa arm64 berkdb bzip2 cli crypt dri fortran gdbm gles2 gles2-only iconv ipv6 libtirpc lto ncurses nls nptl openmp pam pcre pgo png readline seccomp split-usr ssl tcpd unicode xattr zlib" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="fbdev 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Pablo Orduna 2020-04-11 15:31:11 UTC
Thanks for pointing that out, after some time testing with different combinations of options I have finally been able to reproduce the bug.

"dev-python/importlib_resources" is just a backport of a part of the standard python library that is only present in python >= 3.7. As this ebuild only supports python 3.7 and 3.8 it shouldn't be a problem (in theory) since those versions include that module by default.

The problem is that the live branch relies on sphinx to build the documentation and it is not required to have python >= 3.7 support in sphinx so as to merge this ebuild. As a consequence it is possible to merge this ebuild using python 3.7 for the compilation phase and 3.6 or lower for the documentation installation, and that's where the bug appears.

I will make some changes to the ebuild as soon as possible so as to use python >= 3.7 in the whole merge process, which fix this problem.

Thank you very much :)
Comment 3 Zach Kaylor 2020-04-11 20:48:47 UTC
Thanks for the quick response! Time to see if I can't get it to actually run on arm :)
Comment 4 Larry the Git Cow gentoo-dev 2020-04-13 08:31:31 UTC
The bug has been closed via the following commit(s):

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

commit e43f9478ead5ff20a223312de9b520175983d1b4
Author:     end222 <pabloorduna98@gmail.com>
AuthorDate: 2020-04-11 16:13:14 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-04-13 08:31:18 +0000

    x11-terms/kitty: fix and split live ebuild
    
    Signed-off-by: Pablo Orduna <pabloorduna98@gmail.com>
    
    Closes: https://bugs.gentoo.org/716852
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 x11-terms/kitty/kitty-9999.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)