From the maintainer of gd: the port of libwebp depends on libgd, so libgd can not depend on libwebp. We have to wait for libwebp is fixed. I failed to reach sunpoet@FreeBSD.org. Please file a PR for graphics/webp Please disable option "WEBP" for now, which is default off.
graphics/gd already has the WEBP option marked broken. However, enabling it builds just fine with Poudriere 11.0-RC amd64. Has this actually been fixed? Reassigning issue to graphics/gd which is the one marked broken.
Not fixed. How do you build webp if it depends on giflib? and giflib depends on webp? graphics/webp$ make all-depends-list /usr/ports/graphics/giflib [...] grpahics/webp needs to be split into pure lib and webp-tools which can use both libs.
Created attachment 175171 [details] webp poudriere build log Well, I just tried again, made sure the Poudriere jail was clean of packages from previous builds. It passes. Am I missing something not immediately obvious here? Build log of webp attached. No gd required or mentioned. Not even in its Makefile. All default options except gd which had WEBP enabled. Poudriere 11.0-RC3 amd64 jail.
Created attachment 175172 [details] giflib buildlog from the same build pass I forgot the giflib buildog too. It's from the same build pass.
(In reply to Dirk Meyer from comment #2) > and giflib depends on webp? It does? graphics/giflib doesn't mention webp nor does the all-depends-list. Is there a RUN_DEPENDS missing for it then?
Reassigning back to Dirk. Because I've checked the ports, and concluded: 1. graphics/gd builds fine with WEBP option enabled, which this issue is about 2. graphics/webp does not depend on graphics/gd 3. graphics/webp depends on graphics/giflib, but giflib doesn't depend on anything (except pkg, which is defined by the framework) So, unless there's missing information in the Makefiles, like a RUN_DEPENDS, because as I tested it builds just fine, I suggest graphics/gd be unbroken for WEBP. And if there is a missing RUN_DEPENDS or something, a separate issue should be filed for that, blocking this one. Can you folks confirm this? That graphics/gd builds fine with WEBP, and works?
Created attachment 175195 [details] Unbreak WEBP option Passes Poudriere 11.0-RELEASE amd64 build.
A commit references this bug: Author: dinoex Date: Sun Oct 16 18:41:21 UTC 2016 New revision: 424078 URL: https://svnweb.freebsd.org/changeset/ports/424078 Log: - fix option WEBP - make option WEBP default PR: 211368 - Security patch, port was not vulnerable Security: https://github.com/libgd/libgd/issues/308 Security: http://seclists.org/oss-sec/2016/q3/626 Security: CVE-2016-7568 PR: 213020 Changes: head/graphics/gd/Makefile head/graphics/gd/files/patch-gd_webp.c