Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2019 18:42:59 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>
Cc:        Kubilay Kocak <koobs@FreeBSD.org>, svn-ports-head@freebsd.org, Antoine Brodin <antoine@FreeBSD.org>, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r502794 - in head: graphics/py-gizeh www/py-graphite-api
Message-ID:  <woib-hmr0-wny@FreeBSD.org>
In-Reply-To: <20190527163642.m7xxatcibao6cj2y@atuin.in.mat.cc> (Mathieu Arnold's message of "Mon, 27 May 2019 18:36:42 %2B0200")
References:  <201905271310.x4RDA6RC061056@repo.freebsd.org> <babc3a91-f9cb-ee83-a0d6-44a1464d6d79@FreeBSD.org> <20190527163642.m7xxatcibao6cj2y@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
Mathieu Arnold <mat@FreeBSD.org> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?woib-hmr0-wny>