Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74266 - [terraform] exec: "diff": executable file not found in $PATH

Attached to Project: Community Packages
Opened by Jelle van der Waa (jelly) - Tuesday, 29 March 2022, 16:12 GMT
Last edited by Daurnimator (daurnimator) - Friday, 15 April 2022, 06:52 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Daurnimator (daurnimator)
Christian Rebischke (Shibumi)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

https://gitlab.archlinux.org/archlinux/infrastructure/-/jobs/51519

$ terraform fmt --check --diff

│ Error: Failed to generate diff for keycloak.tf: exec: "diff": executable file not found in $PATH

Seems diff is a new dependency of terraform?
This task depends upon

Closed by  Daurnimator (daurnimator)
Friday, 15 April 2022, 06:52 GMT
Reason for closing:  Fixed
Comment by Daurnimator (daurnimator) - Tuesday, 29 March 2022, 20:58 GMT
Do you think diffutils should be an optdepend or a normal dependency?

I'm leaning towards an optdepends, as it only seems to be required for that one subcommand + argument combination.

Though I note that it is not configurable with e.g. a `DIFF` environment variable. https://github.com/hashicorp/terraform/blob/d35bc0531255b496beb5d932f185cbcdb2d61a99/internal/command/fmt.go#L584
Comment by Daurnimator (daurnimator) - Friday, 15 April 2022, 06:51 GMT

Loading...