Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231291 - Error compilling sys-cluster/heartbeat-2.0.7-r2
Summary: Error compilling sys-cluster/heartbeat-2.0.7-r2
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
: 228181 229319 249822 251682 (view as bug list)
Depends on:
Blocks: 263838
  Show dependency tree
 
Reported: 2008-07-09 12:09 UTC by Evgeniy Kliymovich
Modified: 2011-10-18 17:47 UTC (History)
9 users (show)

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


Attachments
heartbeat-2.0.7-r3.ebuild (heartbeat-2.0.7-r3.ebuild,3.54 KB, text/plain)
2008-07-11 13:59 UTC, Evgeniy Kliymovich
Details
heartbeat-2.0.8-r1.ebuild (heartbeat-2.0.8-r1.ebuild,3.59 KB, text/plain)
2008-07-11 14:06 UTC, Evgeniy Kliymovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy Kliymovich 2008-07-09 12:09:35 UTC
A have a problem within compilling heartbeat. 

gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include -I../../inc
lude -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -D_BSD_SOURCE -D__
BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -I/usr/include/glib-2.0 -I/usr/lib/glib-2.
0/include -I/usr/include/libxml2 -O2 -march=prescott -pipe -fomit-frame-pointer -mmmx -ms
se2 -msse3 -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclar
ation-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-func
tion-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonli
teral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -O2 -march=presc
ott -pipe -fomit-frame-pointer -mmmx -msse2 -msse3 -Wall -Wmissing-prototypes -Wmissing-d
eclarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-str
ings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wf
ormat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror
 -ggdb3 -funsigned-char -MT pils.lo -MD -MP -MF .deps/pils.Tpo -c pils.c  -fPIC -DPIC -o
.libs/pils.o
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/heartbe
at-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/heartbe
at-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 2351:  Called die
 * The specific snippet of code:
 *       emake -j 1 || die "compile problem"
 *  The die message:
 *   compile problem



emerge --info

ortage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Tue, 08 Jul 2008 13:03:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.8.5-r3, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mmmx -msse2 -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer -mmmx -msse2 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LC_ALL=""
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.253/gentoo-portage"
USE="acl apache2 bzip2 clamav clamd cli cracklib crypt dhcp dri extensions gdbm iconv isdnlog ldap libclamav midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection spl sse sse2 ssl threads unicode winbind x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I had try to install newer heartbeat-2.0.8, but it has aborted with the same error.
Comment 1 giantoo 2008-07-11 07:06:52 UTC
Please read the fix here: http://forums.gentoo.org/viewtopic-p-5147710.html#5147710
Comment 2 Evgeniy Kliymovich 2008-07-11 13:59:39 UTC
Created attachment 160119 [details]
heartbeat-2.0.7-r3.ebuild

It's updated heartbeat-2.0.7-r3.ebuild
Comment 3 Evgeniy Kliymovich 2008-07-11 14:06:08 UTC
Created attachment 160120 [details]
heartbeat-2.0.8-r1.ebuild

Many thanks for link. It was useful.
Please add these ebuilds to main portage tree soon.
Comment 4 BigBug 2008-09-01 07:39:45 UTC
same for me.
Comment 5 Sascha Lucas 2008-09-27 16:01:55 UTC
just want add me to CC and kindly ask for a fix in the tree.
Comment 6 calculator 2008-11-04 12:46:46 UTC
some bug... heartbeat-2.0.7-r3.ebuild not exits in tree.
maibe push it?
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-15 21:08:23 UTC
*** Bug 228181 has been marked as a duplicate of this bug. ***
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-15 21:08:42 UTC
*** Bug 229319 has been marked as a duplicate of this bug. ***
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-15 21:09:24 UTC
*** Bug 249822 has been marked as a duplicate of this bug. ***
Comment 10 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-15 21:10:12 UTC
*** Bug 251682 has been marked as a duplicate of this bug. ***
Comment 11 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-10-18 17:31:29 UTC
+  18 Oct 2011; Kacper Kowalik <xarthisius@gentoo.org> -heartbeat-1.2.5.ebuild,
+  -heartbeat-1.2.5-r1.ebuild, -heartbeat-2.0.7-r2.ebuild,
+  -files/heartbeat-2.0.7-update-resources-failcount.patch,
+  -heartbeat-2.0.8.ebuild, -files/heartbeat-2.0.8-asneeded.patch,
+  -files/heartbeat-2.0.8-crm-assert.patch,
+  -files/heartbeat-2.0.8-crm-leaks.patch, -files/heartbeat-2.0.8-delay.patch,
+  -files/heartbeat-2.0.8-glibc.patch, -files/heartbeat-2.0.8-install_fix.patch,
+  -heartbeat-3.0.4-r1.ebuild:
+  Drop ancient and unusable versions of heartbeat-{1,2} since we have
+  heartbeat-3 stable