From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Feb 28 13:40:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 C400786E for ; Fri, 28 Feb 2014 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F3951BF4 for ; Fri, 28 Feb 2014 13:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1SDe045050305 for ; Fri, 28 Feb 2014 13:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1SDe0LH050304; Fri, 28 Feb 2014 13:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 28 Feb 2014 13:40:00 GMT Resent-Message-Id: <201402281340.s1SDe0LH050304@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, Rainer Hurling Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8AE915C8 for ; Fri, 28 Feb 2014 13:33:57 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 776E41BB3 for ; Fri, 28 Feb 2014 13:33:57 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1SDXu8F067700 for ; Fri, 28 Feb 2014 13:33:56 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1SDXu36067692; Fri, 28 Feb 2014 13:33:56 GMT (envelope-from nobody) Message-Id: <201402281333.s1SDXu36067692@cgiserv.freebsd.org> Date: Fri, 28 Feb 2014 13:33:56 GMT From: Rainer Hurling To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/187141: [maintainer patch] graphics/qgis: fix pkg-plist X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 13:40:00 -0000 >Number: 187141 >Category: ports >Synopsis: [maintainer patch] graphics/qgis: fix pkg-plist >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Feb 28 13:40:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Rainer Hurling >Release: 11.0-CURRENT amd64 >Organization: >Environment: FreeBSD xxx.xxx.xxx 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r262334: Sat Feb 22 14:55:11 CET 2014 xxx@xxx.xxx.xxx:/usr/obj/usr/src/sys/XXX amd64 >Description: When OPTION POSTGIS is disabled, there is a problem with PostGIS related files in pkg-plist, which the installer tries to install: ===> Registering installation for qgis-2.2.0 pkg-static: lstat(/usr/ports/graphics/qgis/work/stage/usr/local/lib/qgis/plugins/libpostgresprovider.so): No such file or directory pkg-static: lstat(/usr/ports/graphics/qgis/work/stage/usr/local/lib/qgis/plugins/libspitplugin.so): No such file or directory Thanks to Jose Jachuf for pointing this out. >How-To-Repeat: Disable OPTION POSTGIS and build and install graphics/qgis. >Fix: The two mentioned files from the error message have to include an option string, see the attached patch. Patch attached with submission follows: --- pkg-plist.orig 2014-02-26 17:07:36.000000000 +0100 +++ pkg-plist 2014-02-28 13:57:34.000000000 +0100 @@ -401,12 +401,12 @@ lib/qgis/plugins/libogrprovider.so lib/qgis/plugins/liboracleplugin.so lib/qgis/plugins/libowsprovider.so -lib/qgis/plugins/libpostgresprovider.so +%%PGSQL%%lib/qgis/plugins/libpostgresprovider.so lib/qgis/plugins/librasterterrainplugin.so lib/qgis/plugins/libroadgraphplugin.so lib/qgis/plugins/libspatialiteprovider.so lib/qgis/plugins/libspatialqueryplugin.so -lib/qgis/plugins/libspitplugin.so +%%PGSQL%%lib/qgis/plugins/libspitplugin.so lib/qgis/plugins/libsqlanywhereplugin.so lib/qgis/plugins/libsqlanywhereprovider.so lib/qgis/plugins/libtopolplugin.so >Release-Note: >Audit-Trail: >Unformatted: