Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823095 - dev-python/sphinx-4.3.0 failed to emerge (/var/tmp/portage/dev-python/sphinx-4.3.0/work/Sphinx-4.3.0/doc/usage/configuration.rst:2652:undefined label: requests:authentication)
Summary: dev-python/sphinx-4.3.0 failed to emerge (/var/tmp/portage/dev-python/sphinx-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
: 829899 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-11-11 16:37 UTC by Leonid Kopylov
Modified: 2022-01-02 03:46 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,109.96 KB, text/plain)
2021-11-11 16:38 UTC, Leonid Kopylov
Details
Patch to replace the intersphinx reference with an external link (no-intersphinx.patch,714 bytes, patch)
2022-01-02 00:42 UTC, Dirk Sondermann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2021-11-11 16:37:53 UTC
# emerge -pqv '=dev-python/sphinx-4.3.0::gentoo'
[ebuild     U ] dev-python/sphinx-4.3.0 [4.2.0-r1] USE="doc -latex -test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10"

# emerge --info '=dev-python/sphinx-4.3.0::gentoo'
Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-11.2.0, glibc-2.33-r7, 5.15.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-10710U_CPU_@_1.10GHz-with-glibc2.33
KiB Mem:     8148516 total,   5330368 free
KiB Swap:    8388604 total,   8381256 free
Timestamp of repository gentoo: Thu, 11 Nov 2021 16:00:01 +0000
Head commit of repository gentoo: 4bdac2393f3450c821b2e7fea4c7113ba485a71e
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0-r5::gentoo
dev-lang/python:          3.9.8::gentoo, 3.10.0_p1::gentoo, 3.11.0_alpha2::gentoo
dev-lang/rust:            1.56.1::gentoo
dev-util/cmake:           3.21.4::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/sandbox:         2.29::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-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-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome OPERA-2018 PUEL AnyDesk-TOS geekbench TeamViewer microsoft-edge Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
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/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /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 -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
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 -fomit-frame-pointer"
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="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="X a52 aac accessibility acl acpi afp alsa amd64 amqp apidoc archive audit bluetooth bluray branding bzip2 cairo cdda cdr cli colord cracklib crypt cryptsetup cups curl dbus device-mapper dns-over-tls doc dot dri dts dvd dvdr eds emboss encode evo examples exif experimental fido2 flac fontconfig fortran fuse gd gdbm gif gnome gnome-keyring gnome-online-accounts gnuefi go google gphoto2 gpm gstreamer gtk gtk-doc gui homed http iconv icu idn importd introspection ios ipv6 jadetex jpeg json kafka kerberos lapack lcms ldap libglvnd libkms libnotify libsecret libtirpc lz4 lzma mad mdnsresponder-compat mng mongo mongodb mongosh mount mp3 mp4 mpeg mtp multilib mysql mysqli nat nautilus ncurses networkmanager nfs nls nptl nscd offensive ogg opengl openmp openntpd pam pango pcre pcre32 pdf perl pkcs11 png policykit postgres ppds pulseaudio pwquality python qrcode qt5 rabbitmq readline redis repart router samba sasl sdl seccomp sendto spell split-usr ssl startup-notification svg symlink sysprof systemd tcl threads tiff tk tools tpm tracker truetype udev udisks unicode upower usb utils vorbis wayland widgets wininst wxwidgets x264 xa xattr xcb xetex xfs xkb xml xv xvid yaml zeroconf zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2019" 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 stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="intel i965 iris vmware vesa fbdev" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Leonid Kopylov 2021-11-11 16:38:16 UTC
Created attachment 750393 [details]
build.log
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-17 07:06:48 UTC
/var/tmp/portage/dev-python/sphinx-4.3.0/work/Sphinx-4.3.0/doc/usage/configuration.rst:2652:undefined label: requests:authentication
Comment 3 Red 2021-12-12 01:05:39 UTC
I'm also having this problem with =dev-python/sphinx-4.3.1 with USE=doc (no problems with USE=-doc)
Comment 4 Alexandre Ferreira 2021-12-20 14:24:33 UTC
Same here with 4.3.0, 4.3.1 and 4.3.2.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-24 07:00:21 UTC
*** Bug 829899 has been marked as a duplicate of this bug. ***
Comment 6 Dirk Sondermann 2022-01-02 00:42:52 UTC
Created attachment 761043 [details, diff]
Patch to replace the intersphinx reference with an external link

The cause of this bug is completely analogous to that of Bug 728810: There is an intersphinx reference in doc/usage/configuration.rst, but intersphinx is disabled by the ebuild.

The attached patch, which replaces the intersphinx reference with an external link, solves the problem for me. I have tested this patch with sphinx-4.3.1.
Comment 7 Larry the Git Cow gentoo-dev 2022-01-02 03:37:16 UTC
The bug has been closed via the following commit(s):

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

commit 3d5741d2ebc8f7a3ac870001f3b49013065f1140
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-02 03:36:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-02 03:36:53 +0000

    dev-python/sphinx: add USE=doc patch
    
    Closes: https://bugs.gentoo.org/823095
    Thanks-to: Dirk Sondermann <ds-gentoo@dyximaq.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/sphinx/files/sphinx-4.3.2-doc-link.patch | 14 ++++++++++++++
 dev-python/sphinx/sphinx-4.3.2.ebuild               |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-02 03:46:38 UTC
(In reply to Dirk Sondermann from comment #6)
> Created attachment 761043 [details, diff] [details, diff]
> Patch to replace the intersphinx reference with an external link
> 
> The cause of this bug is completely analogous to that of Bug 728810: There
> is an intersphinx reference in doc/usage/configuration.rst, but intersphinx
> is disabled by the ebuild.
> 
> The attached patch, which replaces the intersphinx reference with an
> external link, solves the problem for me. I have tested this patch with
> sphinx-4.3.1.

Thank you.