<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>177516</bug_id>
          
          <creation_ts>2007-05-07 16:40 0000</creation_ts>
          <short_desc>sys-fs/evms-2.5.5-r5 ebuild doesn&apos;t build hb2 plugin (for heartbeat v2)</short_desc>
          <delta_ts>2007-08-30 22:02:31 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoobugs@lspeed.org</reporter>
          <assigned_to>dev-zero@gentoo.org</assigned_to>
          <cc>gentoo@obfusc8.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoobugs@lspeed.org</who>
            <bug_when>2007-05-07 16:40:28 0000</bug_when>
            <thetext>The build procedure for EVMS will compile all plugins by default, provided the system has support for the plugin, with one exception... the &quot;ha&quot; and &quot;hb2&quot; plugins are mutually exclusive: they cannot both be built (the default being only the &quot;ha&quot; plugin). The current ebuild for EVMS provides no way to select the &quot;hb2&quot; plugin instead of &quot;ha&quot;.

Could this choice be provided as a USE flag? Ie, which sets the &quot;--disable-ha&quot; 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:
...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@obfusc8.org</who>
            <bug_when>2007-08-05 02:54:54 0000</bug_when>
            <thetext>Created an attachment (id=126914)
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&apos;t know, but anyhoo.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2007-08-30 22:02:31 0000</bug_when>
            <thetext>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&apos;s installed.
Added the correct dependencies for both of them...</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>126914</attachid>
            <date>2007-08-05 02:54 0000</date>
            <desc>evms-2.5.5-r6-hb2.patch</desc>
            <filename>evms-2.5.5-r6-hb2.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGV2bXMtMi41LjUtcjYuZWJ1aWxkCTIwMDctMDctMTYgMDY6MjM6NDMuMDAwMDAwMDAwICsx
MDAwCisrKyBldm1zLTIuNS41LXI2LmVidWlsZAkyMDA3LTA4LTA1IDEyOjUxOjI1Ljg0NzI1MDA4
NyArMTAwMApAQCAtMTQsNyArMTQsNyBAQAogTElDRU5TRT0iR1BMLTIiCiBTTE9UPSIwIgogS0VZ
V09SRFM9In5hbWQ2NCB+aW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