Opened 2 years ago

Closed 2 years ago

#63837 closed defect (fixed)

gdal +grass emits error message outside of any phase

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: gdal

Description

gdal +grass emits an error message outside of any phase:

https://build.macports.org/builders/jobs-mirror/builds/327006/steps/mirror/logs/stdio

--->  Fetching distfiles for gdal
gdal +grass
Error: The grass variant requires grass 7 to be installed.
Error: Since grass7 depends on gdal, please first install gdal WITHOUT the grass variant.
Error: Then install grass7, then reinstall gdal with the grass variant.

Ports must emit error messages only within a phase. Within a pre-configure block might be a good choice here.

Change History (3)

comment:1 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:2 Changed 2 years ago by cooljeanius (Eric Gallager)

similar issue with the +jasper variant

comment:3 Changed 2 years ago by Veence (Vincent)

Resolution: fixed
Status: assignedclosed

In 735d84065a35e15be8d7cc0049bc63e357b07fdd/macports-ports (master):

gdal: move error messages to the pre-configure phase. Fixes #63837

Note: See TracTickets for help on using tickets.