<?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>45200</bug_id>
          
          <creation_ts>2004-03-20 02:47 0000</creation_ts>
          <short_desc>error with heartbeat 1.2.0 ebuild</short_desc>
          <delta_ts>2004-03-25 04:54:49 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>Ebuilds</component>
          <version>1.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>martin.bene@icomedias.com</reporter>
          <assigned_to>hp-cluster@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>martin.bene@icomedias.com</who>
            <bug_when>2004-03-20 02:48:00 0000</bug_when>
            <thetext>screen output from 
ACCEPT_KEYWORDS=&quot;~x86&quot; emerge heartbeat:

configure: running /bin/sh &apos;./configure&apos; --prefix=/usr  &apos;--prefix=/usr&apos; &apos;--sysconfdir=/etc&apos; &apos;--localstatedir=/var&apos; &apos;--with-group-name=cluster&apos; &apos;--with-group-id=65&apos; &apos;--with-ccmuser-name=cluster&apos; &apos;--with-ccmuser-id=65&apos; &apos;CC=gcc&apos; &apos;CFLAGS=-O2 -mcpu=i686 -fomit-frame-pointer&apos; --enable-ltdl-convenience --cache-file=/dev/null --srcdir=.
configure: warning: CC=gcc: invalid host type
configure: warning: CFLAGS=-O2 -mcpu=i686 -fomit-frame-pointer: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh &apos;./configure&apos; failed for libltdl

!!! ERROR: sys-cluster/heartbeat-1.2.0 failed.
!!! Function src_compile, Line 50, Exitcode 1
!!! (no error message)

Problem is triggered by 

    libtoolize --ltdl --force --copy

in makefile fixup when running stable (not ~x86) versions of 
autoconf (sys-devel/autoconf-2.58-r1)
automake (sys-devel/automake-1.7.7)
libtoolize (sys-devel/libtool-1.4.3-r4)

Fix: Heartbeat 1.2.0 needs either an explicit dependancy for libtool &gt;= sys-devel/libtool-1.5.2-r5 or the fixup makefile needs to avoid regeneration the configs.

Using all stable packets + the following makefile fixup works for me:

fix_makefiles() {
    einfo &quot;fixing up the Makefiles&quot;
    sed -i -e &apos;s:mkdir -p $(ckptvarlibdir):mkdir -p $(DESTDIR)$(ckptvarlibdir):&apos; ${S}/telecom/checkpointd/Makefile* || die &quot;failed to sed Makefiles&quot;
}</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tantive@gentoo.org</who>
            <bug_when>2004-03-25 04:54:49 0000</bug_when>
            <thetext>okay, as heartbeat-1.2.0 is masked ~x86 i decided to add the dependency you mentioned.

Closing this bug now.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>