From owner-freebsd-ports@freebsd.org Sun Aug 21 11:21:02 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6B95BBF27E for ; Sun, 21 Aug 2016 11:21:02 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from msa1.earth.yoonka.com (yoonka.com [185.24.122.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "msa1.earth.yoonka.com", Issuer "msa1.earth.yoonka.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C7A01732 for ; Sun, 21 Aug 2016 11:21:01 +0000 (UTC) (envelope-from list1@gjunka.com) Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20]) (authenticated bits=0) by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id u7LBKspL036504 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 21 Aug 2016 11:20:54 GMT (envelope-from list1@gjunka.com) Subject: Re: graphics/gd marked as broken? To: freebsd-ports@freebsd.org References: <19ccaf07-1c70-1372-f507-acdad19917f1@utanet.at> <0dc2dd7c-020f-101d-1f76-0b2ad1f3bac0@gjunka.com> <91eccaaf-248b-836d-ae6e-9b9b7f31065c@gjunka.com> From: Grzegorz Junka Message-ID: Date: Sun, 21 Aug 2016 11:20:54 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 11:21:02 -0000 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