Opened 7 years ago

Closed 7 years ago

#56012 closed defect (fixed)

gdal-grass @2.2.0_0+postgresql96 fails rev-upgrade due to newer grass7 @7.4.0_1

Reported by: willic3 (Charles Williams) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: haspatch Cc:
Port: gdal-grass

Description

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

Change History (2)

comment:1 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: vince@… removed
Keywords: haspatch added
Owner: set to Veence
Status: newassigned

Since grass 7.4.0 installs its libraries in a different directory than 7.2.2 did, gdal-grass's revision will need to be increased as well.

https://github.com/macports/macports-ports/pull/1416

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In c64eccd6691f855401d900c4d17e0a90da726d4b/macports-ports:

gdal-grass: Fix build failure with grass7 @7.4.0

Closes: #56012

Note: See TracTickets for help on using tickets.