Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58060 - Heartbeat build fails with parallel make (make -j2)
Summary: Heartbeat build fails with parallel make (make -j2)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-23 06:39 UTC by Estienne Swart
Modified: 2010-09-10 18:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Estienne Swart 2004-07-23 06:39:24 UTC
This problem occurs whenever I attempt to emerge the current (1.2.2) heartbeat ebuild. I got the following compiler errors:

/bin/sh ../../../libtool --mode=link gcc -O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer -fno-strict-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror -ggdb3 -O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer -fno-strict-aliasing  -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror -ggdb3   -o crc.la -rpath /usr/lib/heartbeat/plugins/HBauth -export-dynamic -module -avoid-version crc.lo  -lc -luuid -luuid -lrt -ldl
gcc -shared  .libs/crc.o  -lc -luuid -lrt -ldl  -march=i686 -march=i686 -Wl,-soname -Wl,crc.so -o .libs/crc.so
ar cru .libs/crc.a  crc.o
ranlib .libs/crc.a
creating crc.la
(cd .libs && rm -f crc.la && ln -s ../crc.la crc.la)
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/heartbeat-1.2.2/work/heartbeat-1.2.2/lib/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/heartbeat-1.2.2/work/heartbeat-1.2.2/lib'
make: *** [all-recursive] Error 1

!!! ERROR: sys-cluster/heartbeat-1.2.2 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)

and assumed that there might be a problem with parallel make processes. Removing the "-jX" option resulted in a clean compile. 

I'm really not sure what the problem with this specific packages is - parallel making has worked just fine with the other ones installed.

Reproducible: Always
Steps to Reproduce:
1. MAKEOPTS="-j2" (in make.globals or make.conf)
2. emerge heartbeat
3.

Actual Results:  
bin/sh ../../../libtool --mode=link gcc -O3 -march=i686 -funroll-loops -pipe
-fomit-frame-pointer -fno-strict-aliasing  -Wall -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wwrite-strings
-Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute
-Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Werror -ggdb3
-O3 -march=i686 -funroll-loops -pipe -fomit-frame-pointer -fno-strict-aliasing 
-Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast
-Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security
-Wformat-nonliteral -Wno-long-long -Werror -ggdb3   -o crc.la -rpath
/usr/lib/heartbeat/plugins/HBauth -export-dynamic -module -avoid-version crc.lo
 -lc -luuid -luuid -lrt -ldl
gcc -shared  .libs/crc.o  -lc -luuid -lrt -ldl  -march=i686 -march=i686
-Wl,-soname -Wl,crc.so -o .libs/crc.so
ar cru .libs/crc.a  crc.o
ranlib .libs/crc.a
creating crc.la
(cd .libs && rm -f crc.la && ln -s ../crc.la crc.la)
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/var/tmp/portage/heartbeat-1.2.2/work/heartbeat-1.2.2/lib/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/var/tmp/portage/heartbeat-1.2.2/work/heartbeat-1.2.2/lib'
make: *** [all-recursive] Error 1

!!! ERROR: sys-cluster/heartbeat-1.2.2 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)

Expected Results:  
A proper install.
Comment 1 Michael Imhof (RETIRED) gentoo-dev 2004-08-25 08:12:47 UTC
Fixed this one. will now always compile with -j1.