Hi Rafał
Yes, I've got all the packages in the dependencies list in my "rpm -qa" output. I'm running gcc 4.8.3 with -v output as below: [root@Auto-Failover-Test-Arbiter pacemaker]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-amazon-linux/4.8.3/lto-wrapper Target: x86_64-amazon-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,fortran,ada,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-x86_64-amazon-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.3-20140911/obj-x86_64-amazon-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-amazon-linux Thread model: posix gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) Thanks, Jim On 2016-05-06 12:01, Rafał Sanocki wrote: > Hi, > I guess you got: > automake > autoconf > libtool-ltdl-devel > libuuid-devel > pkgconfig > python (or python-devel if that's preferred as a build dependency) > glib2-devel > libxml2-devel > libxslt-devel > bzip2-devel > gnutls-devel > pam-devel > libqb-devel > > show us gcc -v > > Rafal > > W dniu 2016-05-06 o 12:51, Jim Rippon pisze: > >> Hi guys >> >> I'm new to the list so apologies if I'm way off base, but I wonder if >> someone can help me please? >> >> I'm looking to build private RPMs for pacemaker and any dependencies for >> Amazon Linux because I have as yet been unable to get the CentOS binaries to >> install successfully. >> >> I've got libqb and libqb-devel RPMs built successfully (also not available >> in amazon linux repos) and installed on my build instance, but I am getting >> errors when making pacemaker from tag Pacemaker-1.1.14 >> >> I am doing the following: >> >> git checkout --force Pacemaker-1.1.14 >> git clean -fdx >> ./autogen.sh >> ./configure # with options suggested by autogen.sh >> make >> >> I then receive the following errors from lib/common and the make fails: >> >> In file included from ../../include/crm_internal.h:33:0, >> from ipc.c:19: >> ipc.c: In function 'crm_ipcs_flush_events': >> ../../include/crm/common/logging.h:140:23: error: format '%d' expects >> argument of type 'int', but argument 10 has type 'ssize_t' [-Werror=format=] >> static struct qb_log_callsite *trace_cs = NULL; \ >> ^ >> ../../include/crm/common/logging.h:254:37: note: in expansion of macro >> 'do_crm_log_unlikely' >> # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , >> ##args) >> ^ >> ipc.c:497:13: note: in expansion of macro 'crm_trace' >> crm_trace("Event %d to %p[%d] (%d compressed bytes) sent", >> ^ >> ../../include/crm/common/logging.h:140:23: error: format '%d' expects >> argument of type 'int', but argument 10 has type 'ssize_t' [-Werror=format=] >> static struct qb_log_callsite *trace_cs = NULL; \ >> ^ >> ../../include/crm/common/logging.h:254:37: note: in expansion of macro >> 'do_crm_log_unlikely' >> # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , >> ##args) >> ^ >> ipc.c:500:13: note: in expansion of macro 'crm_trace' >> crm_trace("Event %d to %p[%d] (%d bytes) sent: %.120s", >> ^ >> ../../include/crm/common/logging.h:140:23: error: format '%s' expects >> argument of type 'char *', but argument 11 has type 'void *' >> [-Werror=format=] >> static struct qb_log_callsite *trace_cs = NULL; \ >> ^ >> ../../include/crm/common/logging.h:254:37: note: in expansion of macro >> 'do_crm_log_unlikely' >> # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , >> ##args) >> ^ >> ipc.c:500:13: note: in expansion of macro 'crm_trace' >> crm_trace("Event %d to %p[%d] (%d bytes) sent: %.120s", >> ^ >> ../../include/crm/common/logging.h:140:23: error: format '%d' expects >> argument of type 'int', but argument 12 has type 'ssize_t' [-Werror=format=] >> static struct qb_log_callsite *trace_cs = NULL; \ >> ^ >> ../../include/crm/common/logging.h:254:37: note: in expansion of macro >> 'do_crm_log_unlikely' >> # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , >> ##args) >> ^ >> ipc.c:512:9: note: in expansion of macro 'crm_trace' >> crm_trace("Sent %d events (%d remaining) for %p[%d]: %s (%d)", >> ^ >> ipc.c: In function 'crm_ipcs_sendv': >> ../../include/crm/common/logging.h:140:23: error: format '%d' expects >> argument of type 'int', but argument 8 has type 'ssize_t' [-Werror=format=] >> static struct qb_log_callsite *trace_cs = NULL; \ >> ^ >> ../../include/crm/common/logging.h:254:37: note: in expansion of macro >> 'do_crm_log_unlikely' >> # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , >> ##args) >> ^ >> ipc.c:661:13: note: in expansion of macro 'crm_trace' >> crm_trace("Response %d sent, %d bytes to %p[%d]", header->qb.id, rc, >> c->ipcs, c->pid); >> ^ >> ipc.c: In function 'crm_ipc_close': >> ../../include/crm/common/logging.h:140:23: error: format '%p' expects a >> matching 'void *' argument [-Werror=format=] >> static struct qb_log_callsite *trace_cs = NULL; \ >> ^ >> ../../include/crm/common/logging.h:254:37: note: in expansion of macro >> 'do_crm_log_unlikely' >> # define crm_trace(fmt, args...) do_crm_log_unlikely(LOG_TRACE, fmt , >> ##args) >> ^ >> ipc.c:831:9: note: in expansion of macro 'crm_trace' >> crm_trace("Disconnecting %s IPC connection %p (%p.%p)", client->name, >> client, client->ipc); >> ^ >> cc1: all warnings being treated as errors >> >> Any help appreciated >> >> Jim >> >> _______________________________________________ >> Users mailing list: [email protected] >> http://clusterlabs.org/mailman/listinfo/users [1] >> >> Project Home: http://www.clusterlabs.org [2] >> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf [3] >> Bugs: http://bugs.clusterlabs.org [4] > > _______________________________________________ > Users mailing list: [email protected] > http://clusterlabs.org/mailman/listinfo/users [1] > > Project Home: http://www.clusterlabs.org [2] > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf [3] > Bugs: http://bugs.clusterlabs.org [4] Links: ------ [1] http://clusterlabs.org/mailman/listinfo/users [2] http://www.clusterlabs.org [3] http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf [4] http://bugs.clusterlabs.org
_______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
