Date: Thu, 4 Jan 2007 17:30:41 +0600 From: "Denis Eremenko <moonshade@pnhz.kz>" <moonshade@pnhz.kz> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/107511: databases/libgda2 with databases/mdbtools build error Message-ID: <1167910241.67837@abyss.pnhz.kz> Resent-Message-ID: <200701041140.l04BeJq3011286@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107511 >Category: ports >Synopsis: databases/libgda2 with databases/mdbtools build error >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 04 11:40:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Denis Eremenko <moonshade@pnhz.kz> >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD 6.2-PRERELEASE #0: Thu Jan 4 08:31:33 ALMT 2007 root@abyss.pnhz.kz:/usr/obj/data/os/FreeBSD/src/6/src/sys/ABYSS-6 >Description: databases/libgda2 does not build WITH_MDB=yes or databases/mdbtools installed. Build fails with: gda-mdb-provider.c: In function `gda_mdb_provider_open_connection': gda-mdb-provider.c:212: error: `MDB_WRITABLE' undeclared (first use in this func tion) gda-mdb-provider.c:212: error: (Each undeclared identifier is reported only once gda-mdb-provider.c:212: error: for each function it appears in.) gda-mdb-provider.c:212: warning: passing arg 1 of `mdb_open' discards qualifiers from pointer target type gda-mdb-provider.c:212: error: too many arguments to function `mdb_open' gda-mdb-provider.c: In function `get_mdb_tables': gda-mdb-provider.c:617: warning: passing arg 1 of `gda_data_model_append_row' fr om incompatible pointer type gda-mdb-provider.c: In function `gda_mdb_provider_execute_sql': gda-mdb-provider.c:732: warning: assignment discards qualifiers from pointer tar get type gmake[2]: *** [gda-mdb-provider.lo] Ошибка 1 gmake[2]: Leaving directory `/data/os/FreeBSD/ports/ports/databases/libgda2/work /libgda-1.2.3/providers/mdb' gmake[1]: *** [all-recursive] Ошибка 1 gmake[1]: Leaving directory `/data/os/FreeBSD/ports/ports/databases/libgda2/work /libgda-1.2.3/providers' gmake: *** [all-recursive] Ошибка 1 *** Error code 2 Stop in /data/os/FreeBSD/ports/ports/d >How-To-Repeat: 1. cd /usr/ports/databases/libgda2 2. make WITH_MDB=yes NB: See http://www.freebsd.org/cgi/query-pr.cgi?pr=107507 for databases/mdbtools build error issue. >Fix: --- patch-providers__mdb__gda-mdb-provider.c begins here --- --- providers/mdb/gda-mdb-provider.c.orig Thu Jan 4 17:14:00 2007 +++ providers/mdb/gda-mdb-provider.c Thu Jan 4 17:14:06 2007 @@ -209,7 +209,7 @@ mdb_cnc = g_new0 (GdaMdbConnection, 1); mdb_cnc->cnc = cnc; mdb_cnc->server_version = NULL; - mdb_cnc->mdb = mdb_open (filename, MDB_WRITABLE); + mdb_cnc->mdb = mdb_open (filename); if (!mdb_cnc->mdb) { gda_connection_add_error_string (cnc, _("Could not open file %s"), filename); g_free (mdb_cnc); --- patch-providers__mdb__gda-mdb-provider.c ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1167910241.67837>