Package Details: ha-heartbeat 3.0.6-1

Git Clone URL: https://aur.archlinux.org/ha-heartbeat.git (read-only)
Package Base: ha-heartbeat
Description: Daemon that provides cluster infrastructure services to its clients
Upstream URL: http://linux-ha.org/wiki/Heartbeat
Licenses: GPL
Submitter: bastelfreak
Maintainer: bastelfreak
Last Packager: bastelfreak
Votes: 2
Popularity: 0.000011
First Submitted: 2017-03-24 00:10
Last Updated: 2017-03-24 00:10

Latest Comments

sulaweyo commented on 2017-06-14 12:22

Build fails for me on fresh arch setup:

Compiling heartbeat.c: [ERROR]
gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I../linux-ha -I../linux-ha -I../libltdl -I../libltdl -D_FORTIFY_SOURCE=2 -I/usr/include/heartbeat -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-qual -Wcast-align -Wbad-function-cast -Winline -Wmissing-format-attribute -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-long-long -Wno-strict-aliasing -Werror -ggdb3 -funsigned-char -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wwrite-striheartbeat.c: In function 'HBDoMsg_T_REPNODES':
heartbeat.c:2980:3: error: 'memset' used with length equal to number of elements without multiplication by element size [-Werror=memset-elt-size]
memset(nodes, 0, MAXNODE);
^~~~~~
heartbeat.c:3058:3: error: 'memset' used with length equal to number of elements without multiplication by element size [-Werror=memset-elt-size]
memset(delnodes, 0, MAXNODE);
^~~~~~
heartbeat.c: In function 'main':
heartbeat.c:5152:7: error: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 40 [-Werror=format-truncation=]
, "%s", config->facilityname);
^~
In file included from /usr/include/stdio.h:939:0,
from heartbeat.c:197:
/usr/include/bits/stdio2.h:64:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 40
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:768: heartbeat-heartbeat.o] Error 1
make[1]: *** [Makefile:941: all-recursive] Error 1
make: *** [Makefile:581: all-recursive] Error 1