Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 552134 - media-libs/mutagen with USE="doc" downloads in src_compile()
Summary: media-libs/mutagen with USE="doc" downloads in src_compile()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 572102
  Show dependency tree
 
Reported: 2015-06-14 21:13 UTC by Matthias Maier
Modified: 2020-10-09 11:37 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 Matthias Maier gentoo-dev 2015-06-14 21:13:49 UTC
mutagen's build system tries to dynamically download the documentation from github in the compile phase:


 * python2_7: running distutils-r1_run_phase python_compile_all
make -j8 -l10 -C docs 
make: Entering directory `/var/tmp/portage/media-libs/mutagen-1.27/work/mutagen-1.27/docs'
wget https://github.com/snide/sphinx_rtd_theme/archive/master.tar.gz
--2015-06-14 23:00:52--  https://github.com/snide/sphinx_rtd_theme/archive/master.tar.gz
Resolving github.com... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘github.com’
make: *** [_rtd_theme] Error 4
make: Leaving directory `/var/tmp/portage/media-libs/mutagen-1.27/work/mutagen-1.27/docs'
 * ERROR: media-libs/mutagen-1.27::gentoo failed (compile phase):
 *   emake failed


This obviously fails with the network-sandbox feature. (Further, it is a bit unfortunate to have content being installed on disc that is technically not signed by a manifest.)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-12-26 17:39:00 UTC
*** Bug 603774 has been marked as a duplicate of this bug. ***
Comment 2 Miroslav Šulc gentoo-dev 2020-10-09 11:37:28 UTC
just tested with 1.45.1 which i'm just bumping and it issues just a warning about a file and successfully generate the docs, so it seems it's not an issue anymore:

 * python3_9: running distutils-r1_run_phase python_compile_all
make -j9 -C docs 
make: Entering directory '/var/tmp/portage/media-libs/mutagen-1.45.1/work/mutagen-1.45.1/docs'
python3 -m sphinx -b html -n . _build
Running Sphinx v3.2.1
making output directory... done
loading intersphinx inventory from https://docs.python.org/3/objects.inv...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ConnectionError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f29254ace80>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 48 source files that are out of date
updating environment: [new config] 48 added, 0 changed, 0 removed
reading sources... [  2%] api/aac
reading sources... [  4%] api/ac3
...