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!
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!
FS#47979 - pacman Cannot find the optipng binary required for optimizing PNG images.
Attached to Project:
Arch Linux
Opened by Steffen Weber (boenki) - Monday, 01 February 2016, 10:22 GMT
Last edited by Allan McRae (Allan) - Monday, 01 February 2016, 11:00 GMT
Opened by Steffen Weber (boenki) - Monday, 01 February 2016, 10:22 GMT
Last edited by Allan McRae (Allan) - Monday, 01 February 2016, 11:00 GMT
|
DetailsDescription:
With enabled option 'optipng' in PKGBUILD I get this error if optipng is not installed. ==> ERROR: Cannot find the optipng binary required for optimizing PNG images. I added 'optipng' to the makedepends line but and ran "makepkg -s" to install it. But the error appears BEFORE makepedends are installed. Additional info: * package version(s) pacman 5.0 Steps to reproduce: Uninstall optipng and try to build a PKG with makedepends=('optipng') options=(optipng) in the PKGBUILD |
This task depends upon

makepkg assumes it is installed and does not check makedepends. Much like the strip binary.