Bug 201483 - [MAINTAINER] graphics/qgis: Dependency on graphics/gdal-grass not needed
Summary: [MAINTAINER] graphics/qgis: Dependency on graphics/gdal-grass not needed
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-11 19:40 UTC by Rainer Hurling
Modified: 2015-07-26 13:48 UTC (History)
2 users (show)

See Also:
rhurlin: maintainer-feedback+


Attachments
patch to remove gdal-grass dependency (881 bytes, patch)
2015-07-11 19:40 UTC, Rainer Hurling
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2015-07-11 19:40:19 UTC
Created attachment 158625 [details]
patch to remove gdal-grass dependency

After updating GDAL from 1.11.2 to 2.0.0, a new error message confused me:

> gdalinfo 
ERROR 1: A non OGR driver is registered with the same name: GRASS
Usage: gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp] [-nomd]
                [-norat] [-noct] [-nofl] [-checksum] [-proj4]
                [-listmdd] [-mdd domain|`all`]*
                [-sd subdataset] [-oo NAME=VALUE]* datasetname


Obviously the GRASS driver was registered twice. The second one came from graphics/gdal-grass.

The only case, graphics/gdal-grass is needed on my boxes, was as a dependency by the installation of graphics/qgis.

Looking into ChangeLog from graphics/qgis, there is an old entry about gdal-grass:

rblazek <rblazek@c8812cc2-4d05-0410-92ff-de0c093fc19c>  2010-03-15
    GDAL-GRASS driver no more necessary, new requirement: exceptions support for GRASS

So obviously, this dependency is not needed any more for a long time now. Sorry, that I did not notice earlier. After removing this dependency from graphics/qgis Makefile, rebuilding QGIS and deinstalling gdal-grass, the above mentioned error disappeared and QGIS works fine as before.

The attached patch should remove the dependency to graphics/gdal-grass. PORTREVISION is incremented by one to enforce rebuilding.
Comment 1 Thomas Zander freebsd_committer freebsd_triage 2015-07-26 13:48:33 UTC
Resolved in the process by r392906