Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346619 - sys-cluster/heartbeat-3.0.3-r2: emerge error
Summary: sys-cluster/heartbeat-3.0.3-r2: emerge error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-24 09:04 UTC by Nicola Pavlov
Modified: 2012-10-10 18:54 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,164.73 KB, text/plain)
2010-11-24 09:17 UTC, Nicola Pavlov
Details
3.0.3-as-needed_old_binutils.patch (3.0.3-as-needed_old_binutils.patch,319 bytes, patch)
2010-12-15 15:49 UTC, Denis Kaganovich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicola Pavlov 2010-11-24 09:04:53 UTC
I am trying to emerge sys-cluster/heartbeat-3.0.3-r2 and I am getting errors.

ERROR: sys-cluster/heartbeat-3.0.3-r2 failed:
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line    54:  Called src_compile
 *   environment, line 10465:  Called base_src_compile
 *   environment, line  6350:  Called base_src_make
 *   environment, line  6388:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";

Reproducible: Always




Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.2, glibc-2.11.2-r3, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Celeron-R-_CPU_2.80GHz-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 23 Nov 2010 11:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.3-r4, 2.5.2-r8, 2.6.5-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       3.4.5, 4.1.2, 4.3.2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ http://gentoo.blueyonder.co.uk"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/local/layman/sunrise /usr/portage/local/layman/voip /usr/portage/local/layman/zugaina"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X509 acl apache2 asterisk async berkdb bzip2 cli cracklib crypt ctype cups curl cxx dahdi dri expat fortran gd gdbm gmp gpm iconv jabber mhash modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl php posix pppd pri python radius readline samba session slang ssl sysfs tcpd unicode x86 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authz_host auth_basic authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_owner authz_user access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Nicola Pavlov 2010-11-24 09:17:15 UTC
Created attachment 255289 [details]
build.log
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-11-24 10:14:50 UTC
You're mixing x86 with ~x86. I cannot reproduce that.
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-11-24 10:16:12 UTC
You're mixing x86 with ~x86. I cannot reproduce that.
Comment 4 Nicola Pavlov 2010-11-24 12:30:41 UTC
(In reply to comment #3)
> You're mixing x86 with ~x86. I cannot reproduce that.
> 

I am afraid I did not understand. What should I do now in order to emerge hearbeat?
Comment 5 Nicola Pavlov 2010-11-24 12:50:32 UTC
I am afraid I did not understand what should I run in order to successfully emerge heartbeart.
Comment 6 Nicola Pavlov 2010-11-25 06:30:25 UTC
(In reply to comment #5)
> I am afraid I did not understand what should I run in order to successfully
> emerge heartbeart.
> 

Since heartbeat fails due to undefined reference to `g_free', etc.

I emerged glib 2.24.2 which is unstable (~x86) but still heartbeat fails to emerge. 
Comment 7 Denis Kaganovich 2010-12-15 15:49:09 UTC
Created attachment 257230 [details, diff]
3.0.3-as-needed_old_binutils.patch

I got same error on one machine only. In my case there are produced by ld 1.19.1, related on position of -Wl,--as-needed on this line. binutils 1.21 not required this patch. (same patch for current heartbeat 3.0.4, other versions of binutils not verifyed)

Oneshot solution:
binuitils-config
or
emerge -1q ">=sys-devel/binutils-2.21" && emerge -Cq "<sys-devel/binutils-2.21"
Comment 8 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-01-12 08:43:06 UTC
(In reply to comment #7)
> Created an attachment (id=257230) [details]
> 3.0.3-as-needed_old_binutils.patch
> 
> I got same error on one machine only. In my case there are produced by ld
> 1.19.1, related on position of -Wl,--as-needed on this line. binutils 1.21 not
> required this patch. (same patch for current heartbeat 3.0.4, other versions of
> binutils not verifyed)

What about stable binutils-2.20.1-r1?
Comment 9 Denis Kaganovich 2011-02-09 14:17:42 UTC
(In reply to comment #8)

> What about stable binutils-2.20.1-r1?

Good, no error.
Comment 10 Pacho Ramos gentoo-dev 2012-10-10 18:54:20 UTC
looks that it compiles in current stable setups