Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696064 - media-sound/rgain-1.2.1-r1 should depend on dev-python/docutils[python2_7]
Summary: media-sound/rgain-1.2.1-r1 should depend on dev-python/docutils[python2_7]
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2019-10-02 16:34 UTC by jan vereecke
Modified: 2019-10-02 16:39 UTC (History)
0 users

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

/var/tmp/portage/media-sound/rgain-1.2.1-r1/temp/build.log (file_696064.txt,8.25 KB, text/plain)
2019-10-02 16:34 UTC, jan vereecke

Note You need to log in before you can comment on or make changes to this bug.
Description jan vereecke 2019-10-02 16:34:06 UTC
Created attachment 591604 [details]

building rgain without docutils for python2_7 results in an error. Early in the build, it says:

python2.7 build
You do not have docutils, the manpages won't be generated.

However, in spite of that, the ebuild attempts to install man files and fails:

Writing /var/tmp/portage/media-sound/rgain-1.2.1-r1/image/_python2.7/usr/lib64/python2.7/site-packages/rgain-1.2.1-py2.7.egg-info
 * python2_7: running distutils-r1_run_phase distutils-r1_python_install_all
doman: 'build/man/*' is probably not a man page; skipping
 * ERROR: media-sound/rgain-1.2.1-r1::gentoo failed (install phase):
 *   doman failed

The ebuild should be changed from 
IUSE="flac mp3 vorbis wavpack"

IUSE="flac mp3 vorbis wavpack doc"
DEPEND="doc ? >=dev-python/docutils-0.9[$PYTHON_USEDEP]"