[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
 Reporter:  willic3  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.4.2
 Keywords:           |       Port:  gdal-grass
 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
 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-

 I was able to change the Portfile to successfully rebuild gdal-grass:

 diff Portfile Portfile-orig
 < 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.


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