Проблема при установке heartbeat [РЕШЕНО]

cc1: warnings being treated as errors
pils.c:245: warning: initialization from incompatible pointer type
pils.c:246: warning: initialization from incompatible pointer type
gmake[2]: *** [pils.lo] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.7-r2/work/heartbeat-2.0.7/lib/pils'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.7-r2/work/heartbeat-2.0.7/lib'
make: *** [all-recursive] Error 1
*
* ERROR: sys-cluster/heartbeat-2.0.7-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2357: Called die
* The specific snippet of code:
* emake -j 1 || die "compile problem"
* The die message:
* compile problem
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.7-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.7-r2/temp/environment'.
*

* Messages for package sys-cluster/heartbeat-2.0.7-r2:

*
* ERROR: sys-cluster/heartbeat-2.0.7-r2 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2357: Called die
* The specific snippet of code:
* emake -j 1 || die "compile problem"
* The die message:
* compile problem
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.7-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.7-r2/temp/environment'.
*
* QA: stop using the bindnow-flags function ... simply drop it from your ebuild

emerge --info
http://rafb.net/p/n8PVOR28.html

Ктонибудь сталкивался?

Вот тоже нечто

Вот тоже нечто подобное
http://bugs.gentoo.org/show_bug.cgi?id=228181

А вот это в точности как у меня
http://lists.community.tummy.com/pipermail/linux-ha/2008-April/032332.html

Пока что нашел только такое решение проблемы

Взято отсюда http://forums.gentoo.org/viewtopic-t-697822.html

nano -w /usr/portage/sys-cluster/heartbeat/heartbeat-2.0.8.ebuild

В секции src_compile ()

Правим это

--enable-lrm \
$(use_enable management mgmt) \
|| die
emake -j 1 || die "compile problem"

На это

--enable-lrm \
--enable-fatal-warnings=NO \
$(use_enable management mgmt) \
|| die
emake -j 1 || die "compile problem"

Далее

ebuild heartbeat-2.0.8.ebuild manifest
emerge '=heartbeat-2.0.8'

И вроде компилируется

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".