FS#75724 - [minted] Missing requirement `which`

Attached to Project: Community Packages
Opened by Thom Wiggers (twiggers) - Monday, 29 August 2022, 07:12 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 30 August 2022, 09:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The minted LaTeX package tries to check if `pygmentize` exists by executing the `which` shell command. This command is part of `base-devel`, not `base`, so it may not be present by default.

Additional info:
* `minted` as packaged in version 2.6-2
* The `\TestAppExists` macro calls `which` on the last line here https://github.com/gpoore/minted/blob/d46f1ba2d248f2f3504bcc795dd39c613bd3c5a0/source/minted.sty#L179-L197

Steps to reproduce:
* pacman -R which
* compile a latex thing with minted
* error "pygmentize not found"
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 30 August 2022, 09:16 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 30 August 2022, 09:16 GMT
Thanks for reporting!

Loading...