From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 19 09:20:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B84AD1065673 for ; Thu, 19 Feb 2009 09:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 93DAE8FC24 for ; Thu, 19 Feb 2009 09:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1J9K1cW062750 for ; Thu, 19 Feb 2009 09:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1J9K1U4062749; Thu, 19 Feb 2009 09:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 19 Feb 2009 09:20:01 GMT Resent-Message-Id: <200902190920.n1J9K1U4062749@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Scot Hetzel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D896A106566C for ; Thu, 19 Feb 2009 09:17:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AD31B8FC19 for ; Thu, 19 Feb 2009 09:17:42 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1J9Hg84021399 for ; Thu, 19 Feb 2009 09:17:42 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1J9HgKI021398; Thu, 19 Feb 2009 09:17:42 GMT (envelope-from nobody) Message-Id: <200902190917.n1J9HgKI021398@www.freebsd.org> Date: Thu, 19 Feb 2009 09:17:42 GMT From: Scot Hetzel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131870: databases/libgda2: Sybase backend doesn't get installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 09:20:02 -0000 >Number: 131870 >Category: ports >Synopsis: databases/libgda2: Sybase backend doesn't get installed >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 Feb 19 09:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Scot Hetzel >Release: 8.0-CURRENT >Organization: >Environment: FreeBSD hp010 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Feb 9 00:17:11 CST 2009 root@hp010:/usr/obj/usr/src/DV8135NR amd64 >Description: While running portmaster to reinstall databases/libgda2 due to the library bump of the openldap libraries, portmaster reported that several files were missing: PREFIX/lib/libgda/providers/libgda-sybase.a PREFIX/lib/libgda/providers/libgda-sybase.la PREFIX/lib/libgda/providers/libgda-sybase.so The reason for these missing libraries is due to the configure script has a check for "Sybase host system type". This check only allows the Sybase backend to be build on linux systems. >How-To-Repeat: install databases/libgda2 as follows: cd /usr/ports/databases/libgda2 make install -DWITH_FREETDS -DWITH_SYBASE Then uninstall the port: make deinstall This will then report that these 3 files are missing: PREFIX/lib/libgda/providers/libgda-sybase.a PREFIX/lib/libgda/providers/libgda-sybase.la PREFIX/lib/libgda/providers/libgda-sybase.so >Fix: The only fix I came up with is to mark the Sybase backend broken. Patch attached with submission follows: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/libgda2/Makefile,v retrieving revision 1.86 diff -u -r1.86 Makefile --- Makefile 2 Feb 2009 01:35:52 -0000 1.86 +++ Makefile 19 Feb 2009 09:14:06 -0000 @@ -67,9 +67,10 @@ WITH_FREETDS= yes .endif -.if exists(${LOCALBASE}/lib/libsybdb.so) -WITH_SYBASE= yes -.endif +# Sybase backend is linux only +#.if exists(${LOCALBASE}/lib/libsybdb.so) +#WITH_SYBASE= yes +#.endif .if exists(${LOCALBASE}/lib/libmdbsql.so) WITH_MDB= yes @@ -132,6 +133,7 @@ LIB_DEPENDS+= sybdb.5:${PORTSDIR}/databases/freetds CONFIGURE_ARGS+= --with-sybase=${LOCALBASE} PLIST_SUB+= SYBASE:="" +BROKEN= Sybase backend is linux only .else CONFIGURE_ARGS+= --without-sybase PLIST_SUB+= SYBASE:="@comment " >Release-Note: >Audit-Trail: >Unformatted: