Arch Linux

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#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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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

Closed by  Allan McRae (Allan)
Monday, 01 February 2016, 11:00 GMT
Reason for closing:  Won't fix
Comment by Allan McRae (Allan) - Monday, 01 February 2016, 11:00 GMT
makepkg assumes it is installed and does not check makedepends. Much like the strip binary.

Loading...