[Debian-ha-maintainers] Bug#957656: pacemaker: ftbfs with GCC-10

Matthias Klose doko at debian.org
Fri Apr 17 12:08:15 BST 2020


Package: src:pacemaker
Version: 2.0.3-3
Severity: normal
Tags: sid bullseye
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/pacemaker_2.0.3-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o cibmon.o cibmon.c
/bin/bash ../../libtool --tag=CC   --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror  -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -o cibmon cibmon.o ../../lib/common/libcrmcommon.la ../../lib/cib/libcib.la -lgnutls -lqb -lplumb -lpils -lqb -lqb -ldl -lbz2 -lxslt -luuid -lpam -lrt -ldl  -lglib-2.0 -lxml2
libtool: link: gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o .libs/cibmon cibmon.o  -Wl,--as-needed ../../lib/common/.libs/libcrmcommon.so ../../lib/cib/.libs/libcib.so -lgnutls /usr/lib/libplumb.so /usr/lib/libpils.so -lqb -lbz2 -lxslt -luuid -lpam -lrt -ldl -lglib-2.0 -lxml2
/usr/bin/ld: warning: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libqb.so contains output sections; did you forget -T?
/bin/bash ../../libtool --tag=CC   --tag=CC   --mode=link gcc -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -Wl,-z,relro -pie -Wl,-z,now -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -o pacemaker-based pacemaker_based-pacemaker-based.o pacemaker_based-based_callbacks.o pacemaker_based-based_common.o pacemaker_based-based_io.o pacemaker_based-based_messages.o pacemaker_based-based_notify.o pacemaker_based-based_remote.o ../../lib/cluster/libcrmcluster.la ../../lib/common/libcrmcommon.la ../../lib/cib/libcib.la -lqb -ldl -lcpg -lqb -ldl -lcfg -lqb -ldl -lcmap -lqb -ldl -lquorum -lqb -ldl -lcorosync_common -lqb -ldl -lgnutls -lqb -lplumb -lpils -lqb -lqb -ldl -lbz2 -lxslt -luuid -lpam -lrt -ldl  -lglib-2.0 -lxml2
libtool: link: gcc -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -Wl,-z -Wl,relro -pie -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o .libs/pacemaker-based pacemaker_based-pacemaker-based.o pacemaker_based-based_callbacks.o pacemaker_based-based_common.o pacemaker_based-based_io.o pacemaker_based-based_messages.o pacemaker_based-based_notify.o pacemaker_based-based_remote.o  -Wl,--as-needed ../../lib/cluster/.libs/libcrmcluster.so ../../lib/common/.libs/libcrmcommon.so ../../lib/cib/.libs/libcib.so -lcpg -lcfg -lcmap -lquorum -lcorosync_common -lgnutls /usr/lib/libplumb.so /usr/lib/libpils.so -lqb -lbz2 -lxslt -luuid -lpam -lrt -ldl -lglib-2.0 -lxml2
/usr/bin/ld: warning: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libqb.so contains output sections; did you forget -T?
make[5]: Leaving directory '/<<PKGBUILDDIR>>/daemons/based'
Making all in schedulerd
make[5]: Entering directory '/<<PKGBUILDDIR>>/daemons/schedulerd'
gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -I../../include -I../../libltdl -I../../libltdl -I../.. -I../.. -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_schedulerd-pacemaker-schedulerd.o `test -f 'pacemaker-schedulerd.c' || echo './'`pacemaker-schedulerd.c
/bin/bash ../../libtool --tag=CC   --tag=CC   --mode=link gcc -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -Wl,-z,relro -pie -Wl,-z,now -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -o pacemaker-schedulerd pacemaker_schedulerd-pacemaker-schedulerd.o ../../lib/common/libcrmcommon.la ../../lib/pengine/libpe_status.la ../../lib/pacemaker/libpacemaker.la -lgnutls -lqb -lplumb -lpils -lqb -lqb -ldl -lbz2 -lxslt -luuid -lpam -lrt -ldl  -lglib-2.0 -lxml2
libtool: link: gcc -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -Wl,-z -Wl,relro -pie -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o .libs/pacemaker-schedulerd pacemaker_schedulerd-pacemaker-schedulerd.o  -Wl,--as-needed ../../lib/common/.libs/libcrmcommon.so ../../lib/pengine/.libs/libpe_status.so ../../lib/pacemaker/.libs/libpacemaker.so -lgnutls /usr/lib/libplumb.so /usr/lib/libpils.so -lqb -lbz2 -lxslt -luuid -lpam -lrt -ldl -lglib-2.0 -lxml2
/usr/bin/ld: warning: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libqb.so contains output sections; did you forget -T?
/<<PKGBUILDDIR>>/daemons/schedulerd/pacemaker-schedulerd metadata > pacemaker-schedulerd.xml
/usr/bin/xsltproc --nonet --novalid --stringparam man.name pacemaker-schedulerd \
	 ../../xml/ocf-meta2man.xsl \
	/<<PKGBUILDDIR>>/daemons/schedulerd/pacemaker-schedulerd.xml > /<<PKGBUILDDIR>>/daemons/schedulerd/pacemaker-schedulerd.dbook
/usr/bin/xsltproc /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl /<<PKGBUILDDIR>>/daemons/schedulerd/pacemaker-schedulerd.dbook 
Note: meta source : no *info/productname or alternative            pacemaker-schedulerd
Note: meta source : see http://docbook.sf.net/el/productname       pacemaker-schedulerd
Note: meta source : no refentry/refmeta/refmiscinfo at class=source   pacemaker-schedulerd
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       pacemaker-schedulerd
Note: meta version: no *info/productnumber or alternative          pacemaker-schedulerd
Note: meta version: see http://docbook.sf.net/el/productnumber     pacemaker-schedulerd
Note: meta version: no refentry/refmeta/refmiscinfo at class=version  pacemaker-schedulerd
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       pacemaker-schedulerd
Warn: meta source : using "Pacemaker Configuration" for "source"   pacemaker-schedulerd
Note: meta manual : no titled ancestor of refentry                 pacemaker-schedulerd
Note: meta manual : no refentry/refmeta/refmiscinfo at class=manual   pacemaker-schedulerd
Note: meta manual : see http://docbook.sf.net/el/refmiscinfo       pacemaker-schedulerd
Warn: meta manual : using "Pacemaker Configuration" for "manual"   pacemaker-schedulerd
Warn: AUTHOR sect.: no personblurb|contrib for Andrew Beekhof      pacemaker-schedulerd
Note: AUTHOR sect.: see http://docbook.sf.net/el/contrib           pacemaker-schedulerd
Note: AUTHOR sect.: see http://docbook.sf.net/el/personblurb       pacemaker-schedulerd
Note: Writing pacemaker-schedulerd.7
rm pacemaker-schedulerd.xml pacemaker-schedulerd.dbook
make[5]: Leaving directory '/<<PKGBUILDDIR>>/daemons/schedulerd'
Making all in attrd
make[5]: Entering directory '/<<PKGBUILDDIR>>/daemons/attrd'
gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_attrd-pacemaker-attrd.o `test -f 'pacemaker-attrd.c' || echo './'`pacemaker-attrd.c
gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_attrd-attrd_commands.o `test -f 'attrd_commands.c' || echo './'`attrd_commands.c
gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_attrd-attrd_utils.o `test -f 'attrd_utils.c' || echo './'`attrd_utils.c
gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_attrd-attrd_alerts.o `test -f 'attrd_alerts.c' || echo './'`attrd_alerts.c
gcc -DHAVE_CONFIG_H -I. -I../../include  -I../../include -I../../include -I../../libltdl -I../../libltdl -DPCMK_TIME_EMERGENCY_CGT -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/heartbeat -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -c -o pacemaker_attrd-attrd_elections.o `test -f 'attrd_elections.c' || echo './'`attrd_elections.c
/bin/bash ../../libtool --tag=CC   --tag=CC   --mode=link gcc -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security       -ggdb  -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -Wl,-z,relro -pie -Wl,-z,now -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,defs -Wl,--as-needed -o pacemaker-attrd pacemaker_attrd-pacemaker-attrd.o pacemaker_attrd-attrd_commands.o pacemaker_attrd-attrd_utils.o pacemaker_attrd-attrd_alerts.o pacemaker_attrd-attrd_elections.o ../../lib/cluster/libcrmcluster.la ../../lib/pengine/libpe_rules.la ../../lib/common/libcrmcommon.la ../../lib/cib/libcib.la ../../lib/lrmd/liblrmd.la -lqb -ldl -lcpg -lqb -ldl -lcfg -lqb -ldl -lcmap -lqb -ldl -lquorum -lqb -ldl -lcorosync_common -lqb -ldl -lgnutls -lqb -lplumb -lpils -lqb -lqb -ldl -lbz2 -lxslt -luuid -lpam -lrt -ldl  -lglib-2.0 -lxml2
libtool: link: gcc -fPIE -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -fstack-protector-strong -Werror -Wl,-z -Wl,relro -pie -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,defs -o .libs/pacemaker-attrd pacemaker_attrd-pacemaker-attrd.o pacemaker_attrd-attrd_commands.o pacemaker_attrd-attrd_utils.o pacemaker_attrd-attrd_alerts.o pacemaker_attrd-attrd_elections.o  -Wl,--as-needed ../../lib/cluster/.libs/libcrmcluster.so ../../lib/pengine/.libs/libpe_rules.so ../../lib/common/.libs/libcrmcommon.so ../../lib/cib/.libs/libcib.so ../../lib/lrmd/.libs/liblrmd.so -lcpg -lcfg -lcmap -lquorum -lcorosync_common -lgnutls /usr/lib/libplumb.so /usr/lib/libpils.so -lqb -lbz2 -lxslt -luuid -lpam -lrt -ldl -lglib-2.0 -lxml2
/usr/bin/ld: pacemaker_attrd-attrd_commands.o:./daemons/attrd/pacemaker-attrd.h:110: multiple definition of `attributes'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:110: first defined here
/usr/bin/ld: pacemaker_attrd-attrd_commands.o:./daemons/attrd/pacemaker-attrd.h:109: multiple definition of `attrd_cluster'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:109: first defined here
/usr/bin/ld: pacemaker_attrd-attrd_utils.o:./daemons/attrd/pacemaker-attrd.h:110: multiple definition of `attributes'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:110: first defined here
/usr/bin/ld: pacemaker_attrd-attrd_utils.o:./daemons/attrd/pacemaker-attrd.h:109: multiple definition of `attrd_cluster'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:109: first defined here
/usr/bin/ld: pacemaker_attrd-attrd_alerts.o:./daemons/attrd/pacemaker-attrd.h:110: multiple definition of `attributes'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:110: first defined here
/usr/bin/ld: pacemaker_attrd-attrd_alerts.o:./daemons/attrd/pacemaker-attrd.h:109: multiple definition of `attrd_cluster'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:109: first defined here
/usr/bin/ld: pacemaker_attrd-attrd_elections.o:./daemons/attrd/pacemaker-attrd.h:109: multiple definition of `attrd_cluster'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:109: first defined here
/usr/bin/ld: pacemaker_attrd-attrd_elections.o:./daemons/attrd/pacemaker-attrd.h:110: multiple definition of `attributes'; pacemaker_attrd-pacemaker-attrd.o:./daemons/attrd/pacemaker-attrd.h:110: first defined here
/usr/bin/ld: warning: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libqb.so contains output sections; did you forget -T?
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:648: pacemaker-attrd] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/daemons/attrd'
make[4]: *** [Makefile:497: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/daemons'
make[3]: *** [Makefile:1174: core] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [GNUmakefile:75: build] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j4 returned exit code 2
make[1]: *** [debian/rules:39: override_dh_auto_build-indep] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:21: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Debian-ha-maintainers mailing list