From what I can tell, spice-gtk tries to generate documentation at install-time, which includes a call to gtkdoc-fixxref. This fails because I'm transitioning from python 3.10 to python 3.11 at the moment, and pygments has already been rebuilt (against exclusively python 3.11), while gtk-doc has not yet been rebuilt (so it's exclusively built against python 3.10). I propose creating a conditional dependency gtk-doc through the USE flag already implemented in numerous other packages. With USE="gtk-doc", the documentation gets built in line with the current behavior, with an explicit dependency on dev-util/gtk-doc to make sure gtk-doc's dependencies are satisfied before spice-gtk gets built. With USE="-gtk-doc", the documentation isn't built and the gtk-doc dependency is omitted. Reproducible: Always $ emerge --info Portage 3.0.44 (python 3.11.3-final-0, default/linux/amd64/17.1/desktop, gcc-12, glibc-2.36-r8, 6.1.9-gentoo x86_64) ================================================================= System uname: Linux-6.1.9-gentoo-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-glibc2.36 KiB Mem: 32815672 total, 12820300 free KiB Swap: 33558524 total, 31757948 free Timestamp of repository gentoo: Sun, 21 May 2023 02:45:01 +0000 Head commit of repository gentoo: e8a8f34562f4bf9ba7081c535c7f3466ae143d22 Head commit of repository haskell: f124fde040358178ce7c0e07b8cfc9ac199b0e84 Timestamp of repository steam-overlay: Sat, 13 May 2023 11:46:52 +0000 Head commit of repository steam-overlay: bf7d62bb64bab869d28122d6afe6ee081f542bb3 sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.39 p6) 2.39.0 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-r2::gentoo dev-lang/python: 3.10.9-r1::gentoo, 3.11.3::gentoo dev-lang/rust: 1.66.1::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.46::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.39-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/gcc: 12.2.1_p20230428-r1::gentoo sys-devel/gcc-config: 2.10::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/llvm: 15.0.7::gentoo sys-devel/make: 4.4.1::gentoo sys-kernel/linux-headers: 6.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r8::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync11.us.gentoo.org/gentoo-portage/ priority: -1000 volatile: True sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo volatile: True local location: /usr/local/portage masters: gentoo volatile: True steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo volatile: True crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 10 volatile: True ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE NVIDIA-r2 AVASYS linux-fw-redistributable JSON Atmel NVIDIA-r1 ipw2100-fw LSI-tw_cli bh-luxi shmux qlogic-fibre-channel-firmware OPL CC-BY-2.5 CC-BY-2.0 CC-BY-3.0 GPL-3 GPL-1 CC-BY-SA-4.0 GPL-3+ Arphic Free-Art-1.2 GPL-2 CC-BY-SA-2.0 FDL-1.1+ FDL-1.1 FDL-1.3 GPL-1+ FDL-1.2+ CC-BY-SA-3.0 OFL-1.1 GPL-2+ IPAfont CC-BY-4.0 OFL Free-Art-1.3 CC-BY-SA-2.5 FDL-1.3+ FDL-1.2 BitstreamVera man-pages-posix-2013 CC-SA-1.0 LDP-1 MaxMind2 Texinfo-manual CC-PD mplus-fonts quake1-textures wxWinFDL-3 myspell-en_CA-KevinAtkinson CC-BY-SA-1.0 vlgothic BAEKMUK man-pages UbuntuFontLicense-1.0 LDP-1a ZLIB APL-1.0 MirOS MIT-0 QPL-1.0 OSL-2.1 0BSD AGPL-3+ Ms-PL Watcom-1.0 APSL-2 CPAL-1.0 wxWinLL-3 MPL-1.0 LGPL-3 Artistic-2 GPL-3 CPL-1.0 EPL-1.0 ZPL LPPL-1.3c Boost-1.0 GPL-3+ PHP-3.01 Ms-RL CDDL ISC EUPL-1.2 ECL-2.0 LGPL-2.1+ Apache-1.1 UoI-NCSA HPND POSTGRESQL GPL-2 AFL-3.0 IBM MPL-2.0 GPL-1+ BSD EPL-2.0 LGPL-2+ nethack AGPL-3 Artistic EUPL-1.1 OFL-1.1 Apache-2.0 CNRI GPL-2+ NOSA IPAfont W3C LGPL-3+ Unicode-DFS-2016 PSF-2 BSD-2 PHP-3 Sleepycat MIT MPL-1.1 LGPL-2.1 the-Click-license regexp-UofT Sendmail Allegro libpng2 AOM bufexplorer.vim w3m XC Flashpix BZIP2 par BSD-with-disclosure RtMidi totd minpack gd xbatt TextMate-bundle BSD-2-with-patent freetts rc AMPAS ElementTree URT icu Time-Format gsm CDDL-1.1 flexmock NCSA-HDF dom4j Sympow-BSD alternate docbook lsof HTML-Tidy JDOM Sendmail-Open-Source Snd Info-ZIP Princeton coldspringharbor sdlsasteroids CAOSL Openwall Xdebug scanlogd BEER-WARE Ispell UCAR-Unidata sash TeX Khronos-CLHPP mpich2 MIT-with-advertising inner-net RSA Mini-XML VTK pngcrush NPSL-0.95 ngrep Crypt-IDEA Emacs otter photopc iASL symlinks feh TeX-other-free xtrs File-MMagic LIBGLOSS psutils NCSA-AMD tm-align FastCGI libmng openafs-krb5-a perforce AIFFWriter.m netcat CMake JasPer2.0 ipadic buddy FLTK trio tcltk repoze BSD-1 libpng LambdaMOO Interbase-1.0 Old-MIT PCRE imagemagick IDPL Time-modules CPL-0.5 Toyoda LLGPL-2.1 xboing pngnq NEWLIB rdisc tablelist curl FVWM DUMB-0.9.3 wm2 rwpng SSLeay ZSH torque-2.5 libtiff PHP-2.02 CRACKLIB FLEX JOVE BSD-with-attribution tcp_wrappers_license ErlPL-1.1 SMAIL boehm-gc mm CDDL-Schily DES LPPL-1.3 matplotlib FraunhoferFDK gnuplot QPL-1.0 OSL-2.1 tanuki-community GPL-2-with-MySQL-FLOSS-exception ZLIB GPL-2-with-exceptions WTFPL-2 LGPL-2 GPL-2-with-classpath-exception Clarified-Artistic AGPL-3+ LGPL-3 Artistic-2 GPL-3 unicode public-domain CeCILL-2 FTL metapackage SGI-B-2.0 LGPL-3-with-linking-exception LGPL-2-with-linking-exception Boost-1.0 GPL-1 ZPL GPL-3+ GPL-2+-with-eCos-exception-2 Transmission-OpenSSL-exception GPL-3-with-font-exception ISC gcc-runtime-library-exception-3.1 libstdc++ Unlicense ECL-2.0 LGPL-2.1+ UoI-NCSA Ruby-BSD wxWinLL-3.1 HPND GPL-2+-with-Pyinstaller-Bootloader-exception GPL-3+-with-autoconf-exception GPL-2 LGPL-2.1-with-linking-exception MPL-2.0 qwt GPL-1+ BSD FSFAP Ruby GPL-3+-with-font-exception LGPL-2+ UPX-exception AGPL-3 Apache-2.0-with-LLVM-exceptions vim Apache-2.0 Clear-BSD GPL-3-with-openssl-exception GPL-2+ W3C libgcc LGPL-3+ IJG OPENLDAP PSF-2 CC0-1.0 BSD-2 Nokia-Qt-LGPL-Exception-1.1 PSF-2.4 GPL-2+-with-openssl-exception Sleepycat GPL-2-with-linking-exception PYTHON MIT GPL-2-with-font-exception LGPL-2.1 CeCILL-C Ms-PL APSL-2 CPAL-1.0 BSD-4 MPL-1.0 NPL-1.1 CPL-1.0 EPL-1.0 LPPL-1.2 PHP-3.01 Ms-RL CDDL CeCILL-B EUPL-1.2 Apache-1.1 AFL-3.0 IBM AFL-2.1 OSL-1.1 EPL-2.0 OSL-2.0 EUPL-1.1 CNRI Zend-2.0 Apache-1.0 openssl MPL-1.1 MicroChip-SDCC intel-ucode freedist ISSL unRAR Amazon no-source-code ipw2200-fw Mellanox-AS-IS ipw3945 bonnie Broadcom" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/share/gnupg/qualified.txt /var/lib/unifi" 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=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write=n" 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=native -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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="-march=native -O2 -pipe" GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/ https://mirror.leaseweb.com/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" MAKEOPTS="-j18" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gui iconv icu ipv6 jack jpeg lcms libnotify libtirpc logrotate mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit readline sdl seccomp sound spell split-usr sqlite ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vdpau vorbis x264 xattr xcb xetex xft xinerama xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel" 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" 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="evdev libinput roccat_kova2016" KERNEL="linux" 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" VIDEO_CARDS="nvidia" 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, 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
Created attachment 862144 [details] build.log
Rebuilding gtk-doc resolved the issue for me.
Another note: depclean now wants to remove gtk-doc, since I have nothing installed anymore which depends upon it. I think I formerly had a dependency through libappindicator, but that is being depcleaned away too.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a798fcc2e2ce381ab5bcf73c075f013be635d980 commit a798fcc2e2ce381ab5bcf73c075f013be635d980 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2023-06-04 00:39:15 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2023-06-04 01:27:41 +0000 net-misc/spice-gtk: add missing gtk-doc bdep, fix internal python shebang Closes: https://bugs.gentoo.org/893804 Closes: https://bugs.gentoo.org/906904 Signed-off-by: John Helmert III <ajak@gentoo.org> net-misc/spice-gtk/spice-gtk-0.42.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26f87db2f9784ed22a74cf1cc16f3ee13d1b212f commit 26f87db2f9784ed22a74cf1cc16f3ee13d1b212f Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-04 04:00:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-04 04:00:26 +0000 net-misc/spice-gtk: make gtk-doc conditional; sync live Bug: https://bugs.gentoo.org/906904 Signed-off-by: Sam James <sam@gentoo.org> ...gtk-0.42-r1.ebuild => spice-gtk-0.42-r2.ebuild} | 22 +++++++++------ net-misc/spice-gtk/spice-gtk-9999.ebuild | 33 ++++++++++++++-------- 2 files changed, 34 insertions(+), 21 deletions(-)