Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323413 - sys-cluster/heartbeat-2.0.8: Failed to emerge
Summary: sys-cluster/heartbeat-2.0.8: Failed to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-06-10 12:11 UTC by Dipl.-Ing. Ladstätter Jürgen
Modified: 2010-09-10 18:51 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,897.02 KB, text/plain)
2010-06-11 13:20 UTC, Dipl.-Ing. Ladstätter Jürgen
Details
environment (environment,120.38 KB, text/plain)
2010-06-11 13:21 UTC, Dipl.-Ing. Ladstätter Jürgen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dipl.-Ing. Ladstätter Jürgen 2010-06-10 12:11:39 UTC
the install section is somehow in a loop

/usr/bin/install: will not overwrite just-created `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/image//usr/lib/ocf/resource.d//heartbeat/drbd' with `drbd'
gmake[3]: *** [install-ocfSCRIPTS] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/resources/OCF'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/resources/OCF'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/resources'
make: *** [install-recursive] Error 1
 * ERROR: sys-cluster/heartbeat-2.0.8 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 3270:  Called die
 * The specific snippet of code:
 *       make DESTDIR="${D}" install || die;
 * 
 * If you need support, post the output of 'emerge --info =sys-cluster/heartbeat-2.0.8',
 * the complete build log and the output of 'emerge -pqv =sys-cluster/heartbeat-2.0.8'.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/environment'.
 * S: '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8'


Reproducible: Always

Steps to Reproduce:
1. emerge heartbeat

Actual Results:  
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/image//usr/lib/ocf/resource.d//heartbeat/drbd' with `drbd'
gmake[3]: *** [install-ocfSCRIPTS] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/resources/OCF'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/resources/OCF'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8/resources'
make: *** [install-recursive] Error 1
 * ERROR: sys-cluster/heartbeat-2.0.8 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 3270:  Called die
 * The specific snippet of code:
 *       make DESTDIR="${D}" install || die;
 * 
 * If you need support, post the output of 'emerge --info =sys-cluster/heartbeat-2.0.8',
 * the complete build log and the output of 'emerge -pqv =sys-cluster/heartbeat-2.0.8'.
 * The complete build log is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/temp/environment'.
 * S: '/var/tmp/portage/sys-cluster/heartbeat-2.0.8/work/heartbeat-2.0.8'


Expected Results:  
compilation / install success

emerge --info =sys-cluster/heartbeat-2.0.8
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q8300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 09 Jun 2010 15:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mmmx -msse"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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"
CXXFLAGS="-O2 -pipe -mmmx -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bcmath berkdb big-tables bzip2 bzlib calendar cgi checkpath cjk clamav clamd cli cracklib crypt ctype curl curlwrappers cxx dbx dri exif force-cgi-redirect fortran ftp gd gdbm gpm hardened hash iconv imagemagick imap ipv6 jpeg latin1 libwww maildir mhash mime mmx mode-owner modules mudflap multilib mysql mysqli ncurses nls nptl nptlonly openmp pam pam-mysql pcre pdf pdo perl php png pppd python readline reflection sasl session sharedmem simplexml snmp soap sockets spamd spl sse sse2 ssl subject-rewrite svg symlink sysfs tcpd tokenizer truetype unicode vroot xml xmlreader xmlwriter xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="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" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-11 13:04:03 UTC
Hello Jürgen,

please attch the full build.log and envronemnt files mentioned at the end of the ebuild.

thanks, Michael
Comment 2 Dipl.-Ing. Ladstätter Jürgen 2010-06-11 13:20:57 UTC
Created attachment 234953 [details]
build.log
Comment 3 Dipl.-Ing. Ladstätter Jürgen 2010-06-11 13:21:14 UTC
Created attachment 234955 [details]
environment
Comment 4 Dipl.-Ing. Ladstätter Jürgen 2010-06-11 13:21:33 UTC
hi michael, i uploaded the files
Comment 5 Slipeer 2010-06-29 10:59:12 UTC
(In reply to comment #4)
> hi michael, i uploaded the files
> 

There is error in heartbeat-2.0.8/resources/OCF/Makefile.am file in line 47 and in line 52 there is duplicated declaration.

This is patch to fix problem

--- heartbeat-2.0.8-origin/resources/OCF/Makefile.am    2007-01-12 05:57:08.000000000 +0300
+++ heartbeat-2.0.8/resources/OCF/Makefile.am   2010-06-29 14:40:05.000000000 +0400
@@ -44,7 +44,6 @@ ocf_SCRIPTS        =  ClusterMon      \
                        Dummy           \
                        IPaddr          \
                        IPaddr2         \
-                       drbd            \
                        apache          \
                        AudibleAlarm    \
                        db2             \

Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-30 10:58:54 UTC
Fixed in tree:
+  30 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  heartbeat-2.0.8.ebuild, +files/heartbeat-2.0.8-install_fix.patch:
+  Fix install wrt bug 323413. Thanks to Slipeer <Slipeer@mail.ru> for patch.
+