Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2016 11:20:54 +0000
From:      Grzegorz Junka <list1@gjunka.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: graphics/gd marked as broken?
Message-ID:  <c589b7b6-c1df-a298-eba2-8724b4786900@gjunka.com>
In-Reply-To: <bdd94061-a6d7-9fa4-b3bf-e552fedc8d7c@ShaneWare.Biz>
References:  <dd7fa8d4-45b3-3242-9757-9e852931619a@gjunka.com> <19ccaf07-1c70-1372-f507-acdad19917f1@utanet.at> <0dc2dd7c-020f-101d-1f76-0b2ad1f3bac0@gjunka.com> <91eccaaf-248b-836d-ae6e-9b9b7f31065c@gjunka.com> <bdd94061-a6d7-9fa4-b3bf-e552fedc8d7c@ShaneWare.Biz>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c589b7b6-c1df-a298-eba2-8724b4786900>