libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../../include -I../../../include -I../../../linux-ha -I../../../linux-ha -I../../../libltdl -I../../../libltdl -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -O2 -pipe -march=native -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast -Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -O2 -pipe -march=native -fgnu89-inline -fstack-protector-all -Wall -Waggregate-return -Wbad-function-cast -Wcast-qual -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat=2 -Wformat-security -Wformat-nonliteral -Winline -Wmissing-prototypes -Wmissing-declarations -Wmissing-format-attribute -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -ansi -D_GNU_SOURCE -DANSI_ONLY -c ipmilan_command.c -fPIC -DPIC -o .libs/ipmilan_command.o ipmilan_command.c:52:1: error: unknown type name ‘selector_t’ selector_t *os_sel; ^ ipmilan_command.c:87:16: error: unknown type name ‘selector_t’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-systemd_abi32+64_20180408-183609 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-5.4.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python3.6 (fallback) [3] python2.7 (fallback) [4] pypy3 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) [2] ruby23 (with Rubygems) * emerge -qpv sys-cluster/cluster-glue [ebuild N ] sys-cluster/cluster-glue-1.0.12 USE="-doc -libnet -static-libs"
Created attachment 527514 [details] emerge-info.txt
Created attachment 527516 [details] emerge-history.txt
Created attachment 527518 [details] environment
Created attachment 527520 [details] etc.portage.tbz2
Created attachment 527522 [details] logs.tbz2
Created attachment 527524 [details] sys-cluster:cluster-glue-1.0.12:20180415-163549.log
Created attachment 527526 [details] temp.tbz2
Created attachment 530288 [details, diff] patch to get selector_t back This is from new OpenIPMI. selector_t renamed to selector_s. To compatibility with both versions - simple add line "#define OPENIPMI_DEFINE_SELECTOR_T" before lines "#include <OpenIPMI/selector.h>". Attaching patch...
PS IMHO alt way to append -DOPENIPMI_DEFINE_SELECTOR_T into CPPFLAGS in ebuild ;)
openipmi now requires users to set OPENIPMI_DEFINE_SELECTOR_T: /usr/include/OpenIPMI/selector.h: /* The main data structure used by the selector. */ struct selector_s; #ifdef OPENIPMI_DEFINE_SELECTOR_T /* * Due to POSIX namespace collisions, we avoid the _t, but * we allow the user to define something that brings it back. */ typedef struct selector_s selector_t; #endif
(In reply to Denis Kaganovich from comment #9) > PS IMHO alt way to append -DOPENIPMI_DEFINE_SELECTOR_T into CPPFLAGS in > ebuild ;) Yes. Also, the ebuild doesn't even know about sys-libs/openipmi.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4450ee57aec67aed3f9c4ee37ed3457488b7a559 commit 4450ee57aec67aed3f9c4ee37ed3457488b7a559 Author: Jeroen Roovers <jer@gentoo.org> AuthorDate: 2018-09-30 13:31:27 +0000 Commit: Jeroen Roovers <jer@gentoo.org> CommitDate: 2018-09-30 13:33:55 +0000 sys-cluster/cluster-glue: Fix implicit openipmi dependency * Depend on sys-libs/openipmi if USE=ipmilan * Fix selector_t compile error with >openipmi-2.0.22 * Drop -fstack-protector-all while we're there Fixes: https://bugs.gentoo.org/653248 Signed-off-by: Jeroen Roovers <jer@gentoo.org> .../cluster-glue/cluster-glue-1.0.12-r1.ebuild | 96 ++++++++++++++++++++++ sys-cluster/cluster-glue/metadata.xml | 1 + 2 files changed, 97 insertions(+)