From owner-freebsd-ports@FreeBSD.ORG Thu Apr 10 01:18:46 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 52709C8E for ; Thu, 10 Apr 2014 01:18:46 +0000 (UTC) Received: from mail1.chu658.uecomm.net.au (mail1.chu658.uecomm.net.au [218.185.10.246]) by mx1.freebsd.org (Postfix) with ESMTP id E9D761B37 for ; Thu, 10 Apr 2014 01:18:44 +0000 (UTC) Received: from mail.fdrive.com.au (unknown [115.186.196.106]) by mail1.chu658.uecomm.net.au (Postfix) with ESMTP id A576C1A69 for ; Thu, 10 Apr 2014 10:48:51 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.fdrive.com.au (Postfix) with ESMTP id 48ABCE6670 for ; Thu, 10 Apr 2014 10:52:51 +1000 (EST) X-Virus-Scanned: amavisd-new at fdrive.com.au Received: from mail.fdrive.com.au ([127.0.0.1]) by localhost (mail.fdrive.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zNJVS8r9FH4o for ; Thu, 10 Apr 2014 10:52:42 +1000 (EST) Received: from PetersBigBox (ws-pross.vv.fda [192.168.50.199]) by mail.fdrive.com.au (Postfix) with ESMTPS id C2F59E56CA for ; Thu, 10 Apr 2014 10:52:42 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by PetersBigBox (Postfix) with ESMTP id 9492E19201CA for ; Thu, 10 Apr 2014 10:46:37 +1000 (EST) Date: Thu, 10 Apr 2014 10:46:36 +1000 (EST) From: Peter Ross X-X-Sender: petros@PetersBigBox To: ports@freebsd.org Subject: libdbi-drivers-0.9.0 compilation fails Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 01:18:46 -0000 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. #