emerge --info '=dev-python/termcolor-2.0.0::gentoo' Portage 3.0.36 (python 3.10.7-final-0, default/linux/amd64/17.1, gcc-12.2.0, glibc-2.35-r8, 5.19.6-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.19.6-gentoo-x86_64-AMD_Ryzen_7_PRO_4750G_with_Radeon_Graphics-with-glibc2.35 KiB Mem: 65244600 total, 57085052 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 11 Sep 2022 22:42:43 +0000 Head commit of repository gentoo: 198075c977f988ecd4dfa4793209aa84ab79a194 Timestamp of repository guru: Sat, 10 Sep 2022 01:40:15 +0000 Head commit of repository guru: b2287ab63f952e01091f7d2577168b29920ef058 Head commit of repository gentoo-zh: 3ec786eacec73e15679ec5a699a3428702da4405 Head commit of repository interlay: 45a00ed27238f4ca2a0eabb1b82cb69342f9e708 sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.0::gentoo dev-lang/python: 3.10.7::gentoo, 3.11.0_rc1_p2::gentoo dev-lang/rust-bin: 1.62.1::gentoo dev-util/cmake: 3.24.1::gentoo dev-util/meson: 0.63.2-r1::gentoo sys-apps/baselayout: 2.8-r2::gentoo sys-apps/openrc: 0.45.2::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r2::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo, 2.39-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.6-r1::gentoo, 15.0.0::gentoo sys-devel/gcc: 12.2.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/lld: 15.0.0::gentoo sys-devel/llvm: 13.0.1::gentoo, 14.0.6-r2::gentoo, 15.0.0::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r8::gentoo sys-libs/libselinux: 3.4::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1 guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo priority: 9 gentoo-zh location: /var/db/repos/gentoo-zh sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo-zh.git masters: gentoo priority: 10 interlay location: /var/db/repos/interlay sync-type: git sync-uri: https://github.com/Linerre/interlay.git masters: gentoo priority: 15 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 2 --with-bdeps y --complete-graph y --quiet-build y --keep-going" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="https://mirrors.sjtug.sjtu.edu.cn/gentoo/ https://mirrors.ustc.edu.cn/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j12 -l12" 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" SHELL="/bin/bash" USE="X acl amd64 bzip2 cli crypt dbus dri elogind fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre pulseaudio readline savedconfig seccomp split-usr ssl unicode wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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 greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-3" LUA_TARGETS="lua5-3 lua5-4" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10 python3_11" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ======================================== emerge -pqv '=dev-python/termcolor-2.0.0::gentoo' [ebuild U ] dev-python/termcolor-2.0.0 [1.1.0-r3] USE="-test%" PYTHON_TARGETS="python3_10 python3_11 -pypy3 -python3_8 -python3_9"
cat /var/tmp/portage/dev-python/termcolor-2.0.0/temp/build.log * Package: dev-python/termcolor-2.0.0:0 * Repository: gentoo * Maintainer: prometheanfire@gentoo.org python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 python_targets_python3_11 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking termcolor-2.0.0.tar.gz to /var/tmp/portage/dev-python/termcolor-2.0.0/work >>> Source unpacked in /var/tmp/portage/dev-python/termcolor-2.0.0/work >>> Preparing source in /var/tmp/portage/dev-python/termcolor-2.0.0/work/termcolor-2.0.0 ... * Build system packages: * dev-python/gpep517 : 9 * dev-python/installer : 0.5.1-r1 * dev-python/hatchling : 1.9.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/termcolor-2.0.0/work/termcolor-2.0.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/termcolor-2.0.0/work/termcolor-2.0.0 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for termcolor-2.0.0 via hatchling.build gpep517 build-wheel --backend hatchling.build --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/termcolor-2.0.0/work/termcolor-2.0.0-python3_10/wheel 2022-09-12 10:41:30,942 gpep517 INFO Building wheel via backend hatchling.build Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1254, in cached self._cached = self.source.get_version_data()['version'] File "/usr/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1300, in source raise UnknownPluginError(f'Unknown version source: {source_name}') hatchling.plugin.exceptions.UnknownPluginError: Unknown version source: vcs During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python-exec/python3.10/gpep517", line 4, in <module> sys.exit(main()) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 322, in main return func(args) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 122, in build_wheel print(build_wheel_impl(args, args.wheel_dir), file=out) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 105, in build_wheel_impl wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) File "/usr/lib/python3.10/site-packages/hatchling/build.py", line 59, in build_wheel return os.path.basename(next(builder.build(wheel_directory, ['standard']))) File "/usr/lib/python3.10/site-packages/hatchling/builders/plugin/interface.py", line 80, in build self.metadata.validate_fields() File "/usr/lib/python3.10/site-packages/hatchling/metadata/core.py", line 191, in validate_fields _ = self.version File "/usr/lib/python3.10/site-packages/hatchling/metadata/core.py", line 85, in version self._set_version() File "/usr/lib/python3.10/site-packages/hatchling/metadata/core.py", line 173, in _set_version version = self.hatch.version.cached File "/usr/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1256, in cached raise type(e)(f'Error getting the version from source `{self.source.PLUGIN_NAME}`: {e}') from None File "/usr/lib/python3.10/site-packages/hatchling/metadata/core.py", line 1300, in source raise UnknownPluginError(f'Unknown version source: {source_name}') hatchling.plugin.exceptions.UnknownPluginError: Unknown version source: vcs * ERROR: dev-python/termcolor-2.0.0::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3327: Called distutils-r1_src_compile * environment, line 1553: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 692: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3019: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2582: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2580: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1019: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1535: Called distutils-r1_python_compile * environment, line 1359: Called distutils_pep517_install '/var/tmp/portage/dev-python/termcolor-2.0.0/work/termcolor-2.0.0-python3_10/install' * environment, line 1858: Called die * The specific snippet of code: * [[ -n ${wheel} ]] || die "No wheel name returned"; * * If you need support, post the output of `emerge --info '=dev-python/termcolor-2.0.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/termcolor-2.0.0::gentoo'`. * The complete build log is located at '/var/log/portage/build/dev-python/termcolor-2.0.0:20220912-024129.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/termcolor-2.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/termcolor-2.0.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/termcolor-2.0.0/work/termcolor-2.0.0' * S: '/var/tmp/portage/dev-python/termcolor-2.0.0/work/termcolor-2.0.0'
was able to reproduce this locally
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b1e89d591825480acaf2e11aa58076b963d69c4 commit 4b1e89d591825480acaf2e11aa58076b963d69c4 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-09-12 06:23:15 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-09-12 06:23:15 +0000 dev-python/termcolor: Add missing hatch-vcs dep Closes: https://bugs.gentoo.org/869794 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/termcolor/termcolor-2.0.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)