Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
When compiling with GCC 4.1.1, the compile fails: gcc -DHAVE_CONFIG_H -I. -I. -I../../linux-ha -I../../include -I../../include -I../../include -I../../linux-ha -I../../linux-ha -I../../libltdl -I../../libltdl -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/libxml2 -march=nocona -O2 -pipe -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 -DALIGNFUNC= -DMSGHDR_TYPE=msghdr -march=nocona -O2 -pipe -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 -MT base64.lo -MD -MP -MF .deps/base64.Tpo -c base64.c -fPIC -DPIC -o .libs/base64.o cc1: warnings being treated as errors base64.c: In function ‘base64_to_binary’: base64.c:195: warning: pointer targets in assignment differ in signedness gmake[2]: *** [base64.lo] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/heartbeat-1.2.3-r2/work/heartbeat-1.2.3/lib/clplumbing' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/heartbeat-1.2.3-r2/work/heartbeat-1.2.3/lib' make: *** [all-recursive] Error 1 !!! ERROR: sys-cluster/heartbeat-1.2.3-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile heartbeat-1.2.3-r2.ebuild, line 43: Called die !!! compile problem !!! If you need support, post the topmost build error, and the call stack if relevant. GCC 3.4.6 doesn't have this problem.
please use heartbeat-1.2.5.
Same problem with 1.2.5: if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/libxml2 -march=nocona -O2 -pipe -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 -DST_TEXTDOMAIN='"stonith"' -DSTONITH_MODULES='""' -DLOCALEDIR='"/usr/share/locale"' -march=nocona -O2 -pipe -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 -MT drac3_hash.lo -MD -MP -MF ".deps/drac3_hash.Tpo" -c -o drac3_hash.lo drac3_hash.c; \ then mv -f ".deps/drac3_hash.Tpo" ".deps/drac3_hash.Plo"; else rm -f ".deps/drac3_hash.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../../../linux-ha -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I/usr/include/libxml2 -march=nocona -O2 -pipe -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 -DST_TEXTDOMAIN=\"stonith\" -DSTONITH_MODULES=\"\" -DLOCALEDIR=\"/usr/share/locale\" -march=nocona -O2 -pipe -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 -MT drac3_hash.lo -MD -MP -MF .deps/drac3_hash.Tpo -c drac3_hash.c -fPIC -DPIC -o .libs/drac3_hash.o cc1: warnings being treated as errors drac3_hash.c: In function ‘drac3AuthHash’: drac3_hash.c:77: warning: value computed is not used drac3_hash.c:100: warning: value computed is not used gmake[3]: *** [drac3_hash.lo] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/heartbeat-1.2.5/work/heartbeat-1.2.5/lib/plugins/stonith' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/heartbeat-1.2.5/work/heartbeat-1.2.5/lib/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/heartbeat-1.2.5/work/heartbeat-1.2.5/lib' make: *** [all-recursive] Error 1 !!! ERROR: sys-cluster/heartbeat-1.2.5 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile heartbeat-1.2.5.ebuild, line 36: Called die
it works fine for me, could you attach your emerge --info?
Created an attachment (id=97578) [edit] emerge --info output emerge --info attached
please try heartbeat-1.2.5-r1
Thanks, 1.2.5-r1 works.
ok, closing.