Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950128 - dev-python/sphinx-8.2.1: emerge failed
Summary: dev-python/sphinx-8.2.1: emerge failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-23 00:12 UTC by Vitaliy Perekhovy
Modified: 2025-02-24 20:18 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,5.82 KB, text/plain)
2025-02-23 00:12 UTC, Vitaliy Perekhovy
Details
sphinx-8.2.1-license-text.patch (sphinx-8.2.1-license-text.patch,410 bytes, patch)
2025-02-23 09:09 UTC, Vitaliy Perekhovy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaliy Perekhovy 2025-02-23 00:12:05 UTC
Emerge failed with the following error message: flit_core.config.ConfigError: license field should be <class 'dict'>, not <class 'str'>
Comment 1 Vitaliy Perekhovy 2025-02-23 00:12:34 UTC
Created attachment 919693 [details]
build.log
Comment 2 Vitaliy Perekhovy 2025-02-23 00:15:18 UTC
Portage 3.0.66.1 (python 3.12.9-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.41, 6.13.4-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.13.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-glibc2.41
KiB Mem:    16284736 total,   8138004 free
KiB Swap:    4194300 total,   4192508 free
Timestamp of repository gentoo: Sat, 22 Feb 2025 23:33:36 +0000
Head commit of repository gentoo: df8f6ed4958bd491a0de173820026686eba9813b

Timestamp of repository bell07: Fri, 21 Feb 2025 07:48:32 +0000
Head commit of repository bell07: 9719e63a05af07becb6706ee626a59f9f2d47397

Timestamp of repository guru: Sat, 22 Feb 2025 22:48:26 +0000
Head commit of repository guru: 476d0a0e74da11f85c3bfa3274ca7ca9c9fbff82

Timestamp of repository supertux88: Sat, 22 Feb 2025 22:18:45 +0000
Head commit of repository supertux88: b30a4f5ce8d42b7481aa6308eb92de8fca1cdbe6

Timestamp of repository tatsh-overlay: Sat, 22 Feb 2025 22:18:41 +0000
Head commit of repository tatsh-overlay: afaab51da23dbe03625c783b28f5f30562d36bf2

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.10.2 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.8.20_p6::gentoo, 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust:             1.83.0-r2::gentoo, 1.84.1-r1::gentoo
dev-util/ccache:           4.10.2-r1::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.56::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.13::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    sync-user: portage:portage
    priority: -1000
    volatile: False
    sync-git-verify-commit-signature: true

bell07
    location: /var/db/repos/bell07
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/bell07.git
    sync-user: portage:portage
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    sync-user: portage:portage
    masters: gentoo
    volatile: False

supertux88
    location: /var/db/repos/supertux88
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/supertux88.git
    masters: gentoo
    volatile: False

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    sync-user: portage:portage
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 1000
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -mabm -maes --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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="-march=haswell -mabm -maes --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O2 -pipe"
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="-march=haswell -mabm -maes --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -mabm -maes --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=6144 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j2 -l2"
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 acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind emacs encode exif flac gdbm gif gles2 gnome-keyring gpm gtk gui iconv icu imagemagick ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf perl png policykit ppds pulseaudio qml qt5 qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff tk truetype udev udisks unicode upower usb vaapi vdpau verify-sig vim-syntax vorbis vulkan wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-32 efi-64 pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AMDGPU BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="aarch64 arm x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu intel radeonsi i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

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

dev-python/sphinx-8.2.0::gentoo was built with the following:
USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_12 -pypy3_11 -python3_11 -python3_13"
Comment 3 Vitaliy Perekhovy 2025-02-23 09:09:45 UTC
Created attachment 919728 [details, diff]
sphinx-8.2.1-license-text.patch
Comment 4 noffsh 2025-02-24 10:01:33 UTC
rather than patching license, flit-core 3.11 should be added to BDEPENDS

see: https://github.com/sphinx-doc/sphinx/commit/c6237f75fce44f3295ead16df4b01e7e97bd09d7
Comment 5 Vitaliy Perekhovy 2025-02-24 11:21:07 UTC
(In reply to noffsh from comment #4)
> rather than patching license, flit-core 3.11 should be added to BDEPENDS
> 
> see:
> https://github.com/sphinx-doc/sphinx/commit/
> c6237f75fce44f3295ead16df4b01e7e97bd09d7

Good point.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-02-24 20:18:42 UTC
Thanks for the report, and for the fix!
Comment 7 Larry the Git Cow gentoo-dev 2025-02-24 20:18:52 UTC
The bug has been closed via the following commit(s):

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

commit 9ed350f196e9d6ebff6880a0c5710870b2266528
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2025-02-24 20:18:28 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2025-02-24 20:18:48 +0000

    dev-python/sphinx: Require flit-core >= 3.11
    
    Closes: https://bugs.gentoo.org/950128
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/sphinx/sphinx-8.2.1.ebuild | 1 +
 1 file changed, 1 insertion(+)