dev-util/rpmdevtools fails to build because the rpm python module it needs is only installed for python2, so if the active python is python3, it can't run the scripts to build man pages. Also, the checkbashisms script is no longer distributed in version 8.5, so removing it fails. A version bump might be interesting. Here's the diff for the 8.5 ebuild: --- /usr/portage/dev-util/rpmdevtools/rpmdevtools-8.3-r1.ebuild 2013-06-04 19:01:14.000000000 -0300 +++ dev-util/rpmdevtools/rpmdevtools-8.5.ebuild 2015-01-18 11:21:32.099530472 -0200 @@ -28,8 +28,8 @@ RDEPEND="${CDEPEND}" -src_install() { +src_prepare() { default - rm "${ED}/usr/bin/checkbashisms" || die "Failed to remove checkbashisms script" + sed -i 's:#!/usr/bin/python:#!/usr/bin/python2:' rpmdev-rmdevelrpms.py || die } Reproducible: Always
Created attachment 398738 [details] rpmdevtools-8.5.ebuild Here is an ebuild that depends on python-2* and fixes the interpreter to use it. It's also a version bump to 8.5. I will commit this to the tree in a week if there are no objections. Best,
New version is now in the main tree.