Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 660778

Summary: dev-python/tornado-4.5.3: Fails to compile while loading intersphinx inventory from https://docs.python.org/3.5/objects.inv
Product: Gentoo Linux Reporter: Jaak Ristioja <jaak>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: arthurzam, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Jaak Ristioja 2018-07-09 10:47:02 UTC
Probably caused by FEATURES="network-sandbox"?

make: Entering directory '/var/tmp/portage/www-servers/tornado-4.5.3/work/tornado-4.5.3/docs'
sphinx-build -b html -n -W -d build/doctrees . build/html
Running Sphinx v1.6.5
making output directory...
loading pickled environment... not yet created
loading intersphinx inventory from https://docs.python.org/3.5/objects.inv...

Warning, treated as error:
intersphinx inventory 'https://docs.python.org/3.5/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3.5/objects.inv (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82c23de630>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
make: *** [Makefile:10: sphinx] Error 1

[ebuild     U  ] www-servers/tornado-4.5.3::gentoo [4.4.2-r1::gentoo] USE="doc -examples {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"

Portage 2.3.40 (python 3.5.5-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-7.3.0, glibc-2.26-r7, 4.18-rc4 x86_64)
=================================================================
System uname: Linux-4.18-rc4-x86_64-Intel-R-_Core-TM-_i7-4920MQ_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:    16298848 total,   6775268 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 09 Jul 2018 00:45:01 +0000

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.8::gentoo, 3.5.5-r1::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.11.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r4::gentoo, 6.4.0-r2::gentoo, 7.3.0-r3::gentoo, 8.1.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native -ggdb"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY 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="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en et et_EE"
MAKEOPTS="-j12"
ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" KERNEL="linux" L10N="en et et-EE" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" USERLAND="GNU"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jaak Ristioja 2018-07-09 10:49:32 UTC
Created attachment 538896 [details]
build.log
Comment 2 Emil Medve 2019-01-25 19:13:32 UTC
(In reply to Jaak Ristioja from comment #0)
> Probably caused by FEATURES="network-sandbox"?

Yup, (temporarily) disabling network-sandbox lets the build finish successfully

> make: Entering directory
> '/var/tmp/portage/www-servers/tornado-4.5.3/work/tornado-4.5.3/docs'

Seeing the same issue with v5.1
Comment 3 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 07:22:17 UTC
Looks to be fixed in current versions in tree (6.2)