Emerging glusterfs-3.0.0 is failing with: !!! newbin: extras/glusterfs-volgen does not exist * * ERROR: sys-cluster/glusterfs-3.0.0 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3176: Called die * The specific snippet of code: * newbin extras/glusterfs-volgen glusterfs-volgen || die "Failed to install bins"; * The die message: * Failed to install bins * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-cluster/glusterfs-3.0.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/glusterfs-3.0.0/temp/environment'. * * QA Notice: file does not exist: * * newbin: extras/glusterfs-volgen does not exist The problem is this line here in the Ebuild: newbin extras/glusterfs-volgen glusterfs-volgen || die "Failed to install bins" The volgen binary is in extras/volgen/. This patch fixes the issue: --- glusterfs-3.0.0.ebuild 2009-12-14 10:42:57.000000000 +0100 +++ glusterfs-3.0.0.ebuild.fixed 2010-01-08 03:07:59.286568988 +0100 @@ -61,7 +61,7 @@ fi if use extras ; then - newbin extras/glusterfs-volgen glusterfs-volgen || die "Failed to install bins" + newbin extras/volgen/glusterfs-volgen glusterfs-volgen || die "Failed to install bins" newbin extras/backend-xattr-sanitize.sh glusterfs-backend-xattr-sanitize || die "Failed to install bins" newbin extras/migrate-unify-to-distribute.sh glusterfs-migrate-unify-to-distribute || die "Failed to install bins" fi btw: Should the use flag extras not have an dependency to Python since glusterfs-volgen is written in Python? Reproducible: Always
The fix works. Python is already a dependency of portage so I don't think it needs to be mentioned in individual ebuilds.
Using commit message: ------------------------------------------------------------------------------ [sys-cluster/glusterfs] Fix bug #300122 (Portage version: 2.2_rc62/cvs/Linux x86_64) ------------------------------------------------------------------------------ /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.0.0.ebuild,v <-- glusterfs-3.0.0.ebuild new revision: 1.2; previous revision: 1.1 /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/ChangeLog,v <-- ChangeLog new revision: 1.8; previous revision: 1.7 >>> Creating Manifest for /home/alexxy/gentoo-x86/sys-cluster/glusterfs