Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507924 - sys-cluster/ceph: make xfs dependency optional
Summary: sys-cluster/ceph: make xfs dependency optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Yixun Lan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-17 17:06 UTC by Dyweni
Modified: 2014-04-17 23:51 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 Dyweni 2014-04-17 17:06:20 UTC
I plan to test ceph on btrfs, not xfs.  Thus, I don't have the xfs programs installed.

Installing ceph errors out because it cannot find the xfs heades.  A use flag 'xfs' to control if '--without-libxfs' is used would be useful here.



Reproducible: Always
Comment 1 Dyweni 2014-04-17 17:16:52 UTC
Something like worked for me:


# diff -Nru /usr/portage/sys-cluster/ceph/ceph-0.78.ebuild q/mnt/usr/local/portage/sys-cluster/ceph/ceph-0.78.ebuild
--- /usr/portage/sys-cluster/ceph/ceph-0.78.ebuild      2014-03-29 17:43:59.000000000 -0500
+++ q/mnt/usr/local/portage/sys-cluster/ceph/ceph-0.78.ebuild   2014-04-17 12:10:52.606455426 -0500
@@ -24,7 +24,7 @@

 LICENSE="LGPL-2.1"
 SLOT="0"
-IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc"
+IUSE="cryptopp debug fuse gtk libatomic +libaio +nss radosgw static-libs tcmalloc libxfs"

 CDEPEND="
        app-arch/snappy
@@ -101,7 +101,8 @@
                $(use_with radosgw) \
                $(use_with gtk gtk2) \
                $(use_enable static-libs static) \
-               $(use_with tcmalloc)
+               $(use_with tcmalloc) \
+               $(use_with libxfs)
 }

 src_install() {
Comment 2 Dyweni 2014-04-17 17:17:10 UTC
Alternatively, please make the xfs programs a dependency.  :)
Comment 3 Yixun Lan archtester gentoo-dev 2014-04-17 23:51:48 UTC
+*ceph-0.79 (17 Apr 2014)
+
+  17 Apr 2014; Yixun Lan <dlan@gentoo.org> -ceph-0.77.ebuild,
+  -ceph-0.78.ebuild, +ceph-0.79.ebuild, ceph-9999.ebuild,
+  +files/ceph-0.79-libzfs.patch, metadata.xml:
+  bump 0.79, fix libxfs dep, bug #507924, thanks @LeeL
+