[MacPorts] #56012: gdal-grass @2.2.0_0+postgresql96 fails rev-upgrade due to newer grass7 @7.4.0_1
MacPorts
noreply at macports.org
Sun Mar 11 22:31:31 UTC 2018
#56012: gdal-grass @2.2.0_0+postgresql96 fails rev-upgrade due to newer grass7
@7.4.0_1
---------------------+------------------------
Reporter: willic3 | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Keywords: | Port: gdal-grass
---------------------+------------------------
Hi,
When upgrading recently, gdal-grass is unable to successfully rev-upgrade
because it is looking for an older version of grass7:
{{{
configure: error: --with-grass=/opt/local/share/grass-7.2.2 requested, but
libraries not found!
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_gis_gdal-grass/gdal-grass/work/gdal-
grass-2.2.0" && ./configure --prefix=/opt/local --with-gdal=/opt/local/bin
/gdal-config --with-grass=/opt/local/share/grass-7.2.2 --with-postgres-
includes=/opt/local/include/postgresql96
}}}
I was able to change the Portfile to successfully rebuild gdal-grass:
{{{
diff Portfile Portfile-orig
28c28
< configure.args-append --with-grass=${prefix}/share/grass-7.4.0
---
> configure.args-append --with-grass=${prefix}/share/grass-7.2.2
}}}
Please let me know if you need more information.
Thanks,
Charles
--
Ticket URL: <https://trac.macports.org/ticket/56012>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list