Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 784488

Summary: net-mail/dbmail-3.2.3-r3: configure: error: Could not find ZDB library.
Product: Gentoo Linux Reporter: Joonas Niilola <juippis>
Component: Current packagesAssignee: Thomas Raschbacher <lordvan>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Joonas Niilola gentoo-dev 2021-04-20 15:13:58 UTC
Created attachment 701226 [details]
build.log

build.log attached.
Comment 1 Thomas Raschbacher gentoo-dev 2021-05-01 12:30:48 UTC
strange. I shall look into this later
Comment 2 Bram Verweij 2021-12-30 08:35:58 UTC
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.