Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542850 - sys-block/fio: fix glusterfs/numa/rbd/rdma USE flag handling with arches
Summary: sys-block/fio: fix glusterfs/numa/rbd/rdma USE flag handling with arches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on: 611280
Blocks:
  Show dependency tree
 
Reported: 2015-03-10 20:36 UTC by SpanKY
Modified: 2017-08-19 16:22 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 SpanKY gentoo-dev 2015-03-10 20:36:27 UTC
the fio ebuild currently has:
    glusterfs? ( !arm? ( sys-cluster/glusterfs ) )
    numa? ( !arm? ( sys-process/numactl ) )
    rbd? ( !arm? ( !ppc? ( sys-cluster/ceph ) ) )
    rdma? ( !ppc? ( !ppc64? ( !ia64? ( !arm? (
        sys-infiniband/librdmacm ) ) ) ) )

there should be no !$ARCH? flags in there.  any flag that is not usable on an arch should be in use.mask or package.use.mask in the profile.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-03-11 06:02:17 UTC
removed
Comment 2 SpanKY gentoo-dev 2017-03-01 05:49:14 UTC
deleting the dep string doesn't really fix the issue -- fio still uses rdma libs and will link against them when found

i've filed bug 611280 to get these packages keyworded so we can add back to the fio ebuild:
--- a/sys-block/fio/fio-2.16.ebuild
+++ b/sys-block/fio/fio-2.16.ebuild
@@ -25,6 +25,10 @@ LIB_DEPEND="aio? ( dev-libs/libaio[static-libs(+)] )
    gtk? ( dev-libs/glib:2[static-libs(+)] )
    numa? ( sys-process/numactl[static-libs(+)] )
    rbd? ( sys-cluster/ceph[static-libs(+)] )
+   rdma? (
+       sys-fabric/libibverbs[static-libs(+)]
+       sys-fabric/librdmacm[static-libs(+)]
+   )
    zlib? ( sys-libs/zlib[static-libs(+)] )"
 RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
    gtk? ( x11-libs/gtk+:2 )"
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2017-08-19 16:22:47 UTC
Restored USE=rdma guard as: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c122b8ced574a7847d1e88e21742fda5282a9e

Thank you!