Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177516 - sys-fs/evms-2.5.5-r5 ebuild doesn't build hb2 plugin (for heartbeat v2)
Summary: sys-fs/evms-2.5.5-r5 ebuild doesn't build hb2 plugin (for heartbeat v2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-07 16:40 UTC by Alex Moore
Modified: 2007-08-30 22:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
evms-2.5.5-r6-hb2.patch (evms-2.5.5-r6-hb2.patch,1.07 KB, patch)
2007-08-05 02:54 UTC, Peter Fern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Moore 2007-05-07 16:40:28 UTC
The build procedure for EVMS will compile all plugins by default, provided the system has support for the plugin, with one exception... the "ha" and "hb2" plugins are mutually exclusive: they cannot both be built (the default being only the "ha" plugin). The current ebuild for EVMS provides no way to select the "hb2" plugin instead of "ha".

Could this choice be provided as a USE flag? Ie, which sets the "--disable-ha" configure option if hb2 is desired?

Reproducible: Always

Steps to Reproduce:
1.emerge heartbeat
2.emerge evms

Actual Results:  
no hb2 plugin present in /lib/evms/*/


This is the relevant part of the configure output when emergeing EVMS:

...
configure: checking which EVMS plugins to build:
configure:      building bbr
configure:      building bsd
configure:      building bbr_seg
configure:      building csm
configure:      building disk
configure:      building dos
configure:      building drivelink
configure:      building error
configure:      building ext2
configure:      building fat
configure:      building gpt
configure:      building ha
configure:      not building hb2 ... cannot build both ha and hb2
configure:      building jfs
configure:      building lvm
configure:      building lvm2
configure:      building mac
configure:      building md
configure:      building multipath
configure:      building ntfs
configure:      building ocfs2
configure:      building ogfs
configure:      building reiser
configure:      building replace
configure:      not building rsct ... requires glib library
configure:      not building s390 ... requires asm/vtoc.h
configure:      building snapshot
configure:      building swap
configure:      building xfs
configure: checking which EVMS user interfaces to build:
...
Comment 1 Peter Fern 2007-08-05 02:54:54 UTC
Created attachment 126914 [details, diff]
evms-2.5.5-r6-hb2.patch

Patch against evms-2.5.5-r6 adding a hb2 keyword.

Why on earth they decided to name one module ha and one hb2 I don't know, but anyhoo.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2007-08-30 22:02:31 UTC
Fixed in CVS.
I added the USE flags hb and hb2 to be able to disable the support for heartbeat-1/-2 even if it's installed.
Added the correct dependencies for both of them...