From owner-svn-ports-head@freebsd.org Mon May 27 16:43:06 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 204B815A533E; Mon, 27 May 2019 16:43:06 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B91E2748C8; Mon, 27 May 2019 16:43:05 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 8D4C21B012; Mon, 27 May 2019 16:43:05 +0000 (UTC) From: Jan Beich To: Mathieu Arnold Cc: Kubilay Kocak , svn-ports-head@freebsd.org, Antoine Brodin , svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r502794 - in head: graphics/py-gizeh www/py-graphite-api References: <201905271310.x4RDA6RC061056@repo.freebsd.org> <20190527163642.m7xxatcibao6cj2y@atuin.in.mat.cc> Date: Mon, 27 May 2019 18:42:59 +0200 In-Reply-To: <20190527163642.m7xxatcibao6cj2y@atuin.in.mat.cc> (Mathieu Arnold's message of "Mon, 27 May 2019 18:36:42 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: B91E2748C8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.94)[-0.942,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2019 16:43:06 -0000 Mathieu Arnold writes: > On Mon, May 27, 2019 at 11:15:27PM +1000, Kubilay Kocak wrote: > >> On 27/05/2019 11:10 pm, Antoine Brodin wrote: >> > Author: antoine >> > Date: Mon May 27 13:10:06 2019 >> > New Revision: 502794 >> > URL: https://svnweb.freebsd.org/changeset/ports/502794 >> > >> > Log: >> > Unbreak bulk -a >> > Pointy hat: koobs >> > >> > Modified: >> > head/graphics/py-gizeh/Makefile >> > head/www/py-graphite-api/Makefile >> > >> > Modified: head/graphics/py-gizeh/Makefile >> > ============================================================================== >> > --- head/graphics/py-gizeh/Makefile Mon May 27 13:02:05 2019 (r502793) >> > +++ head/graphics/py-gizeh/Makefile Mon May 27 13:10:06 2019 (r502794) >> > @@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENCE.txt >> > RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cairocffi@${PY_FLAVOR} \ >> > ${PYNUMPY} >> > -USES= python >> > +USES= python:3.5+ >> > USE_PYTHON= autoplist distutils >> > NO_ARCH= yes >> > >> > Modified: head/www/py-graphite-api/Makefile >> > ============================================================================== >> > --- head/www/py-graphite-api/Makefile Mon May 27 13:02:05 2019 (r502793) >> > +++ head/www/py-graphite-api/Makefile Mon May 27 13:10:06 2019 (r502794) >> > @@ -25,7 +25,7 @@ RUN_DEPENDS= \ >> > ${PYTHON_PKGNAMEPREFIX}gunicorn>=19.4.1:www/py-gunicorn@${PY_FLAVOR} \ >> > xorg-fonts-truetype>=0:x11-fonts/xorg-fonts-truetype >> > -USES= python >> > +USES= python:3.5+ >> > USE_PYTHON= distutils py3kplist >> > NO_ARCH= yes >> > >> >> Could you clarify why these don't just build their deps with the version >> required by the dependency? > > As usual, the reason is that a dependency does not support all the > flavors required. In both case, graphics/py-cairocffi only supports > 3.5+, so this breaks when you ask for the Python 2.7 flavor. Doesn't make sense. If a port fails to build then anything that depends should be skipped, not break "bulk -a". For one, no one copies ONLY_FOR_ARCHS to every consumer of a port. Is this a bug in flavors implementation or poudriere?