graphics/gd marked as broken?

Grzegorz Junka list1 at gjunka.com
Sun Aug 21 11:21:02 UTC 2016



On 21/08/2016 04:31, Shane Ambler wrote:
> On 21/08/2016 04:46, Grzegorz Junka wrote:
>>
>> On 20/08/2016 19:11, Grzegorz Junka wrote:
>>>
>>> On 20/08/2016 16:23, Walter Schwarzenfeld wrote:
>>>> The port is not broken, it compiles in port and with poudriere.
>>>> Only if option WEBP is set to on  it is broken.
>>>>
>>>> look with
>>>>
>>>> poudriere options -C -jhailname graphics/gd
>>>>
>>>> how is it set, and change it if is to on.
>>>
>>> So, poudriere lies then, it says it's broken:
>>>
>>> [00:01:21] ====>> [04][00:00:00] Starting build of graphics/gd
>>> [00:01:21] ====>> [04][00:00:00] Finished build of graphics/gd:
>>> Ignored: is marked as broken: circular dependencies
>>>
>>> Greg
>>
>> Sorry, I should have been clearer. I know the port isn't broken, I just
>> don't understand why poudriere says it's marked as broken if, according
>> to you, it's a circular dependency and the port isn't marked in any way?
>> Greg
>
> Actually it isn't poudriere - the port itself says it's broken when the
> WEBP option is enabled.
>
> WEBP_BROKEN=    circular dependencies
>
> So the new version of gd added support for webp, the maintainer added
> the option to enable it, then marked the option as broken.
>
> gd doesn't have WEBP enabled by default so you have settings somewhere
> to enable it. If you aren't specifically enabling the WEBP option for
> gd then check that you aren't enabling it globally in OPTIONS_SET
>
> In the make.conf for your build add -
> graphics_gd_UNSET= WEBP
>
> If that doesn't work some others to try.
> graphics_gd_UNSET_FORCE= WEBP
> OPTIONS_UNSET=WEBP
> OPTIONS_UNSET_FORCE=WEBP
>

Thanks Shane. I actually enabled the option in graphics/gd and it was 
working fine. It only broke after an update the the ports tree. I had it 
enabled in many other packages so didn't think it might be a problem. 
Disabling the option makes the error go away and poudriere now is able 
to compile gd. I didn't know a maintainer can mark a port as broken only 
if a particular option is enabled, I thought that the whole port is 
either marked as broken or not.
Greg


More information about the freebsd-ports mailing list