Reacting to build errors from a Portfile (e.g. giving specific hints)

Ryan Carsten Schmidt ryandesign at macports.org
Tue Aug 27 10:38:33 UTC 2024


On Aug 24, 2024, at 18:11, René J.V. Bertin wrote:
> 
> It there any Tcl mechanism we can exploit to let a port react to a build (or destroot) failure, to implement a `notes`-like feature to define messages that are only to be printed in case something goes wrong during the build? Say, print a suggestion of a way to try again?

No there is no such thing and there should be no need to implement anything like that since ports should not fail and if they do the log can be consulted to discover what happened. 


More information about the macports-dev mailing list