libdbi-drivers can not be built. It fails that dbi/dbi.h can not be found. -I/usr/local/include does not appear to be in the command line: gmake[6]: Entering directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/sqlite3' /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/local/include/dbi -DDBDIR=\"/usr/local/var/lib/libdbi/sqlite3\" -std=gnu99 -O2 -pipe -fno-strict-aliasing -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -c -o dbd_sqlite3.lo dbd_sqlite3.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/local/include/dbi -DDBDIR=\"/usr/local/var/lib/libdbi/sqlite3\" -std=gnu99 -O2 -pipe -fno-strict-aliasing -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -c dbd_sqlite3.c -fPIC -DPIC -o .libs/dbd_sqlite3.o dbd_sqlite3.c:56:10: fatal error: 'dbi/dbi.h' file not found #include <dbi/dbi.h> ^ 1 error generated. gmake[6]: *** [dbd_sqlite3.lo] Error 1 gmake[6]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/sqlite3' gmake[5]: *** [all-recursive] Error 1 gmake[5]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/var/ports/basejail/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0' Fix: Patch the code to include dbi.h only or make sure -I/usr/local/include is in the compiler flags How-To-Repeat: make -C /usr/ports/databases/libdbi-drivers install
it's building fine now: http://portsmon.freebsd.org/portoverview.py?category=databases&portname=libdbi-drivers&wildcard=
It depends on the options. With PGSQL or PGSQL and SQLITE3, it builds fine. (MYSQL was always off in these tests.) With SQLITE3 alone, it fails: libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I/usr/local/include/dbi -DDBDIR=\"/usr/local/var/lib/libdbi/sqlite3\" -std=gnu99 -O2 -pipe -march=corei7 -fno-strict-aliasing -MT dbd_sqlite3.lo -MD -MP -MF .deps/dbd_sqlite3.Tpo -c dbd_sqlite3.c -fPIC -DPIC -o .libs/dbd_sqlite3.o dbd_sqlite3.c:56:10: fatal error: 'dbi/dbi.h' file not found #include <dbi/dbi.h> It's looking in /usr/local/include/dbi for dbi/dbi.h, one level too deep.
maybe try hardcoding CFLAGS+= -I${LOCALBASE} ? There's no maintainer for the port, so a user is going to have to come up with the patch..
This has been fixed. libdbi now installs headers in include/dbi, so they are correctly picked up by libdbi-drivers, even if only SQLITE is selected. Closing this bug report.