screen output from
ACCEPT_KEYWORDS="~x86" emerge heartbeat:
configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--with-group-name=cluster' '--with-group-id=65' '--with-ccmuser-name=cluster' '--with-ccmuser-id=65' 'CC=gcc' 'CFLAGS=-O2 -mcpu=i686 -fomit-frame-pointer' --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 './configure' 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 >= 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 "fixing up the Makefiles"
sed -i -e 's:mkdir -p $(ckptvarlibdir):mkdir -p $(DESTDIR)$(ckptvarlibdir):' ${S}/telecom/checkpointd/Makefile* || die "failed to sed Makefiles"
}