Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300122 - sys-cluster/glusterfs-3.0.0 error when using extras USE flag
Summary: sys-cluster/glusterfs-3.0.0 error when using extras USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-01-08 02:44 UTC by steveb
Modified: 2010-02-05 21:33 UTC (History)
1 user (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 steveb 2010-01-08 02:44:30 UTC
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
Comment 1 Ștefan Talpalaru 2010-02-04 20:21:51 UTC
The fix works. Python is already a dependency of portage so I don't think it needs to be mentioned in individual ebuilds.
Comment 2 Alexey Shvetsov archtester gentoo-dev 2010-02-05 21:33:43 UTC
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