libdbi-drivers-0.9.0 compilation fails (fwd)

From: Peter Ross <Peter.Ross(at)alumni.tu-berlin.de>
Date: Tue, 29 Apr 2014 12:23:52 +1000 (EST)

Hallo,

ich habe an "ports" eine Fehlermeldung für databases/libdbi-drivers
geschrieben, da es keinen "echten" Maintainer zu geben scheint. Vielleicht
komplett ungehört oder sie hat die erste PR zwei Tage später veranlaßt.

Der Include-Pfad scheint falsch zu sein (usr/local/include statt
/usr/local/include/dbi).

Nun ja, in der PR-Database gibt es zwei PRs, die das Gleiche sagen:

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/187902
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/188527

Ich könnte nach FreeBSD 8.4 und 10 noch einen mit FreeBSD 9 hinzufügen;-)

Ich bin ein wenig verblüfft, daß ein so trivial erscheinender Fehler seit
mehr als zwei Wochen offen ist..

Es macht derzeit das automatische Bauen von Icinga unmöglich (ohne
Handarbeit im Makefile) und sicher auch vieles andere - das müßte doch
Heerscharen von frustrierten Nutzern sein, die das Problem haben?

Nebenbei, ist /usr/local/include nicht ein Default beim Bauen oder sollte
es sein? Wir haben kein Linux, wo alles unter /usr/include endet..

Es grüßt
Peter

---------- Forwarded message ----------
Date: Thu, 10 Apr 2014 10:46:36
From: Peter Ross <Peter.Ross(at)alumni.tu-berlin.de>
To: ports(at)freebsd.org
Subject: libdbi-drivers-0.9.0 compilation fails

Hi all,

libdbi-drivers-0.9.0 fails to compile on FreeBSD-9-stable (Revision: 258700, 28
Nov 2013)

See the full output below.

I see

libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include
-I/usr/local/include/dbi -I/usr/local/include/mysql -std=gnu99 -O2 -pipe
-fno-strict-aliasing -MT dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c
dbd_mysql.c -fPIC -DPIC -o .libs/dbd_mysql.o
dbd_mysql.c:50:21: error: dbi/dbi.h: No such file or directory
dbd_mysql.c:51:25: error: dbi/dbi-dev.h: No such file or directory
dbd_mysql.c:52:21: error: dbi/dbd.h: No such file or directory

The files are there, created by libdbi-0.9.0_1

# pkg query %Fp libdbi-0.9.0_1 | grep include
/usr/local/include/dbi/dbd.h
/usr/local/include/dbi/dbi-dev.h
/usr/local/include/dbi/dbi.h

So it compiles if I change "-I/usr/local/include/dbi" by
"-I/usr/local/include".

Regards
Peter

# make
===> Building for libdbi-drivers-0.9.0
gmake all-recursive
gmake[1]: Entering directory
`/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0'
Making all in drivers
gmake[2]: Entering directory
`/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers'
Making all in mysql
gmake[3]: Entering directory
`/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/mysql'
/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.
-I../.. -I../.. -I../../include -I/usr/local/include/dbi
-I/usr/local/include/mysql -std=gnu99 -O2 -pipe -fno-strict-aliasing -MT
dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c -o dbd_mysql.lo dbd_mysql.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include
-I/usr/local/include/dbi -I/usr/local/include/mysql -std=gnu99 -O2 -pipe
-fno-strict-aliasing -MT dbd_mysql.lo -MD -MP -MF .deps/dbd_mysql.Tpo -c
dbd_mysql.c -fPIC -DPIC -o .libs/dbd_mysql.o
dbd_mysql.c:50:21: error: dbi/dbi.h: No such file or directory
dbd_mysql.c:51:25: error: dbi/dbi-dev.h: No such file or directory
dbd_mysql.c:52:21: error: dbi/dbd.h: No such file or directory
dbd_mysql.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'driver_info'
dbd_mysql.c:112: error: expected ')' before '*' token
dbd_mysql.c:113: error: expected ')' before '*' token
dbd_mysql.c:117: warning: type defaults to 'int' in declaration of 'dbi_info_t'
dbd_mysql.c:117: error: expected ';', ',' or ')' before '*' token
dbd_mysql.c:124: error: expected ')' before '*' token
dbd_mysql.c:145: error: expected ')' before '*' token
dbd_mysql.c:158: error: expected ')' before '*' token
dbd_mysql.c:248: error: expected ')' before '*' token
dbd_mysql.c:253: error: expected ')' before '*' token
dbd_mysql.c:268: error: expected ')' before '*' token
dbd_mysql.c:273: error: expected ')' before '*' token
dbd_mysql.c:284: error: expected ')' before '*' token
dbd_mysql.c:289: error: expected ')' before '*' token
dbd_mysql.c:437: error: expected ')' before '*' token
dbd_mysql.c:458: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
dbd_mysql.c:473: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
dbd_mysql.c:495: error: expected ')' before '*' token
dbd_mysql.c:506: error: expected ')' before '*' token
dbd_mysql.c:518: error: expected ')' before '*' token
dbd_mysql.c:537: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
dbd_mysql.c:575: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
dbd_mysql.c:597: error: expected ')' before '*' token
dbd_mysql.c:606: error: expected ')' before '*' token
dbd_mysql.c:615: error: expected ')' before '*' token
dbd_mysql.c:624: error: expected ')' before '*' token
dbd_mysql.c:643: error: expected ')' before '*' token
dbd_mysql.c:662: error: expected ')' before '*' token
dbd_mysql.c:681: error: expected ')' before '*' token
dbd_mysql.c:694: error: expected ')' before '*' token
dbd_mysql.c:707: error: expected ')' before '*' token
dbd_mysql.c:711: error: expected ')' before '*' token
dbd_mysql.c:715: error: expected ')' before '*' token
dbd_mysql.c: In function '_translate_mysql_type':
dbd_mysql.c:734: error: 'DBI_TYPE_INTEGER' undeclared (first use in this
function)
dbd_mysql.c:734: error: (Each undeclared identifier is reported only once
dbd_mysql.c:734: error: for each function it appears in.)
dbd_mysql.c:735: error: 'DBI_INTEGER_SIZE1' undeclared (first use in this
function)
dbd_mysql.c:738: error: 'DBI_INTEGER_UNSIGNED' undeclared (first use in this
function)
dbd_mysql.c:741: error: 'DBI_INTEGER_SIZE2' undeclared (first use in this
function)
dbd_mysql.c:745: error: 'DBI_INTEGER_SIZE3' undeclared (first use in this
function)
dbd_mysql.c:749: error: 'DBI_INTEGER_SIZE4' undeclared (first use in this
function)
dbd_mysql.c:757: error: 'DBI_INTEGER_SIZE8' undeclared (first use in this
function)
dbd_mysql.c:761: error: 'DBI_TYPE_DECIMAL' undeclared (first use in this
function)
dbd_mysql.c:762: error: 'DBI_DECIMAL_SIZE4' undeclared (first use in this
function)
dbd_mysql.c:766: error: 'DBI_DECIMAL_SIZE8' undeclared (first use in this
function)
dbd_mysql.c:770: error: 'DBI_TYPE_DATETIME' undeclared (first use in this
function)
dbd_mysql.c:771: error: 'DBI_DATETIME_DATE' undeclared (first use in this
function)
dbd_mysql.c:775: error: 'DBI_DATETIME_TIME' undeclared (first use in this
function)
dbd_mysql.c:791: error: 'DBI_TYPE_BINARY' undeclared (first use in this
function)
dbd_mysql.c:802: error: 'DBI_TYPE_STRING' undeclared (first use in this
function)
dbd_mysql.c: At top level:
dbd_mysql.c:810: error: expected ')' before '*' token
dbd_mysql.c:827: error: expected ')' before '*' token
gmake[3]: *** [dbd_mysql.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers/mysql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0/drivers'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/databases/libdbi-drivers/work/libdbi-drivers-0.9.0'
gmake: *** [all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/databases/libdbi-drivers.
*** [build] Error code 1

Stop in /usr/ports/databases/libdbi-drivers.
#

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Tue 29 Apr 2014 - 04:24:23 CEST

search this site