Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905826 - dev-python/tomli IUSE flag error build failure
Summary: dev-python/tomli IUSE flag error build failure
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-06 15:28 UTC by Corbin
Modified: 2023-05-09 12:48 UTC (History)
2 users (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 Corbin 2023-05-06 15:28:16 UTC
Cannot update my system. 'dev-python/tomli' is failing to build.

Error Message :

 * Messages for package dev-python/tomli-2.0.1-r1:
 * Log file: /var/log/build/dev-python/tomli-2.0.1-r1:20230506-151325.log

 * Package:    dev-python/tomli-2.0.1-r1:0
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_11 userland_GNU
 * FEATURES:   compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * python3_11: running distutils-r1_run_phase python_compile
 * ERROR: dev-python/tomli-2.0.1-r1::gentoo failed (compile phase):
 *   USE Flag 'debug' not in IUSE for dev-python/tomli-2.0.1-r1
 * 
 * Call stack:
 *          ebuild.sh, line  136:  Called src_compile
 *        environment, line 3477:  Called distutils-r1_src_compile
 *        environment, line 1554:  Called _distutils-r1_run_foreach_impl 'python_compile'
 *        environment, line  697:  Called python_foreach_impl 'distutils-r1_run_phase' 'python_compile'
 *        environment, line 3173:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *        environment, line 2666:  Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_compile'
 *        environment, line 2664:  Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_compile'
 *        environment, line 1046:  Called distutils-r1_run_phase 'python_compile'
 *        environment, line 1522:  Called usex 'debug' '-UNDEBUG' '-DNDEBUG'
 *   phase-helpers.sh, line  217:  Called use 'debug'
 *   phase-helpers.sh, line  256:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 * 
 * If you need support, post the output of `emerge --info '=dev-python/tomli-2.0.1-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/tomli-2.0.1-r1::gentoo'`.
 * The complete build log is located at '/var/log/build/dev-python/tomli-2.0.1-r1:20230506-151325.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/tomli-2.0.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/tomli-2.0.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/tomli-2.0.1-r1/work/tomli-2.0.1'
 * S: '/var/tmp/portage/dev-python/tomli-2.0.1-r1/work/tomli-2.0.1'



Info Output :

Darkstar ~ # emerge --info '=dev-python/tomli-2.0.1-r1'
Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.37-r2, 5.15.110-gentoo-AMD-3950X x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.110-gentoo-AMD-3950X-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.37
KiB Mem:    65784420 total,  63460152 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sat, 06 May 2023 11:30:01 +0000
Head commit of repository gentoo: 1935bbd6490c889af278f5c4590bb323cf096ca9
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.1-r1::gentoo
dev-lang/python:           3.10.11::gentoo, 3.11.3::gentoo
dev-lang/rust-bin:         1.68.2-r1::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.47.1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.1::gentoo
sys-devel/gcc:             12.2.1_p20230304::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.1::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r2::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=znver2 -march=znver2 -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-mtune=znver2 -march=znver2 -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-mtune=znver2 -march=znver2 -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup compress-index compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mtune=znver2 -march=znver2 -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en"
MAKEOPTS="-j16"
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 a52 aac aalib acl acpi alsa amd64 audiofile audit bash-completion branding bzip2 cairo caps cdda cddb cdr cli colord cracklib crypt cups curl cvs cxx dbus dga djvu dri dts dvd dvdr elogind encode evdev exif expat fam fbcon ffmpeg fftw flac fontconfig fortran ftp gdbm gif git glut gmp gnome-keyring gnutls gpm gsl gstreamer gtk gui guile gzip iconv icu imap inotify introspection ipv6 jpeg lcms libcaca libglvnd libnotify libsamplerate libtirpc lm-sensors lz4 lzma lzo mad magic man matroska mng modplug modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses nls nptl offensive ogg openal opengl openmp opus pam pango pcre pdf perl png policykit posix ppds qt5 quadmath raw readline sdl seccomp session smp sndfile sockets sound sox spell split-usr sqlite ssl startup-notification static-libs suid svg symlink syslog szip taglib tcpd test-rust theora threads tidy tiff timidity truetype udev udisks unicode upower usb vaapi vdpau verify-sig vorbis vpx vulkan wavpack wayland webp wxwidgets x264 xattr xcb xcomposite xface xft xml xosd xpm xscreensaver xv xvid zip zlib" ABI_X86="32 64" ADA_TARGET="gnat_2021" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" CURL_SSL="gnutls" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, 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

=================================================================
                        Package Settings
=================================================================

dev-python/tomli-2.0.1-r1::gentoo was built with the following:
USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_10 python3_11 -pypy3 -python3_9"
FEATURES="binpkg-docompress cgroup parallel-fetch multilib-strict ebuild-locks ipc-sandbox binpkg-dostrip unmerge-logs news pid-sandbox sandbox preserve-libs splitdebug userpriv network-sandbox distlocks protect-owned usersandbox fixlafiles sfperms assume-digests compress-index unknown-features-warn xattr merge-sync compressdebug split-log userfetch config-protect-if-modified binpkg-multi-instance split-elog unmerge-orphans usersync binpkg-logs buildpkg-live qa-unresolved-soname-deps strict mount-sandbox"
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-05-06 15:40:48 UTC
Do you have DISTUTILS_EXT set in your environment?