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]
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments
/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
Details

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]
/var/tmp/portage/media-sound/rgain-1.2.1-r1/temp/build.log

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

python2.7 setup.py 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"
....
DEPEND=">=dev-python/docutils-0.9" 

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