Created attachment 701226 [details] build.log build.log attached.
strange. I shall look into this later
I'm also hit by this issue. Here is the relevant bit of config.log: configure:5170: gcc -c -g -O2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/gmime-2.6 -D_LARGEFILE64_SOURCE -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/local/include/zdb -I/usr/include/zdb conftest.c >&5 In file included from conftest.c:31: /usr/include/zdb/ResultSet.h:185:1: error: unknown type name 'bool' 185 | bool ResultSet_next(T R); | ^~~~ /usr/include/zdb/ResultSet.h:29:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? 28 | #include <time.h> 29 | /usr/include/zdb/ResultSet.h:203:1: error: unknown type name 'bool' 203 | bool ResultSet_isnull(T R, int columnIndex); | ^~~~ /usr/include/zdb/ResultSet.h:203:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? In file included from conftest.c:33: /usr/include/zdb/Connection.h:160:1: error: unknown type name 'bool' 160 | bool Connection_ping(T C); | ^~~~ /usr/include/zdb/Connection.h:1:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? 1 | /* /usr/include/zdb/Connection.h:316:1: error: unknown type name 'bool' 316 | bool Connection_isSupported(const char *url); | ^~~~ /usr/include/zdb/Connection.h:316:1: note: 'bool' is defined in header '<stdbool.h>'; did you forget to '#include <stdbool.h>'? Indeed, when manually editing the configure script to include <stdbool.h>, configuration succeeds.
The same problem popped up for me around a month ago with dbmail-3.2.3-r5. Strangely enough, the same package had been installed before on the same machine without any problems. I have a faint suspicion that it could have something to do with gcc and include files that are or are not included by default, depending on the version of gcc and/or portage configuration. In case you need a "clean" workaround for this (thanks, Bram, for the hint with stdbool.h): 1. Create a file /etc/portage/env/dbmail-cflags with the following contents: CFLAGS="${CFLAGS} -include stdbool.h" 2. Put the following line into /etc/portage/package.env: net-mail/dbmail dbmail-cflags It solves the problem.
which gcc version did you use when this happened? it works here with both gcc 13 and 14