Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 May 2019 18:58:24 +0200
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        Mathieu Arnold <mat@FreeBSD.org>, 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:  <20190528165824.2vylv5vqg2mteunx@atuin.in.mat.cc>
In-Reply-To: <woib-hmr0-wny@FreeBSD.org>
References:  <201905271310.x4RDA6RC061056@repo.freebsd.org> <babc3a91-f9cb-ee83-a0d6-44a1464d6d79@FreeBSD.org> <20190527163642.m7xxatcibao6cj2y@atuin.in.mat.cc> <woib-hmr0-wny@FreeBSD.org>

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

--6gv4shh7jeekcm6g
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, May 27, 2019 at 06:42:59PM +0200, Jan Beich wrote:
> Mathieu Arnold <mat@FreeBSD.org> writes:
>=20
> > 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
> >> >=20
> >> > Log:
> >> >    Unbreak bulk -a
> >> >    Pointy hat:	koobs
> >> >=20
> >> > Modified:
> >> >    head/graphics/py-gizeh/Makefile
> >> >    head/www/py-graphite-api/Makefile
> >> >=20
> >> > Modified: head/graphics/py-gizeh/Makefile
> >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
> >> > --- head/graphics/py-gizeh/Makefile	Mon May 27 13:02:05 2019	(r50279=
3)
> >> > +++ head/graphics/py-gizeh/Makefile	Mon May 27 13:10:06 2019	(r50279=
4)
> >> > @@ -16,7 +16,7 @@ LICENSE_FILE=3D	${WRKSRC}/LICENCE.txt
> >> >   RUN_DEPENDS=3D	${PYTHON_PKGNAMEPREFIX}cairocffi>0:graphics/py-cair=
ocffi@${PY_FLAVOR} \
> >> >   		${PYNUMPY}
> >> > -USES=3D		python
> >> > +USES=3D		python:3.5+
> >> >   USE_PYTHON=3D	autoplist distutils
> >> >   NO_ARCH=3D	yes
> >> >=20
> >> > Modified: head/www/py-graphite-api/Makefile
> >> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
> >> > --- head/www/py-graphite-api/Makefile	Mon May 27 13:02:05 2019	(r502=
793)
> >> > +++ head/www/py-graphite-api/Makefile	Mon May 27 13:10:06 2019	(r502=
794)
> >> > @@ -25,7 +25,7 @@ RUN_DEPENDS=3D	\
> >> >   		${PYTHON_PKGNAMEPREFIX}gunicorn>=3D19.4.1:www/py-gunicorn@${PY_F=
LAVOR} \
> >> >   		xorg-fonts-truetype>=3D0:x11-fonts/xorg-fonts-truetype
> >> > -USES=3D		python
> >> > +USES=3D		python:3.5+
> >> >   USE_PYTHON=3D	distutils py3kplist
> >> >   NO_ARCH=3D	yes
> >> >=20
> >>=20
> >> Could you clarify why these don't just build their deps with the versi=
on
> >> 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. =20
>=20
> 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_A=
RCHS
> to every consumer of a port.
>=20
> Is this a bug in flavors implementation or poudriere?

This is a bug in neither, the port was not tested before commit, and,
well it breaks things.
In any way, it is by no mean a flavor thing, poudriere bulk always fails
when a port asks for a non-existing dependency.  (It can be a flavor
that is not there, or a port that is not there, it is the same all in
the end, a port asks for a dependency that does not exist.)


--=20
Mathieu Arnold

--6gv4shh7jeekcm6g
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEOraXidLtEhBkQLpbOkUW81GDzkgFAlztaK9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNB
QjY5Nzg5RDJFRDEyMTA2NDQwQkE1QjNBNDUxNkYzNTE4M0NFNDgACgkQOkUW81GD
zkjupRAAq8o9vaUqmvrSHaP0BoqMlTlZhKfM7+ZkaVCe/P8x+Cbs3LaknIznV0yb
heUfN2agHzfbYGs31guKqvjtLNc1aBEo2w0CIerH3eZid+2NwG5Ef5RRwd50jDSk
z1lwC4pET04zrJy0VfLaUyTgLbaBVjYn5Rni0vqb7L8u0BsVD9sj175HRLrtp547
71V2GfLP5uVyBULVwmdXGqFUKkJvlk9WzEp5JdLxZ3YD861guSusg58cyVfg4Iyr
r5xSV6aRsj2i8LlQFjI+5G/YtybHisTWz4ewWmtm/GXaya0LihfvtMxHopZGRcM7
Gj6Qxr1oi6CFDPoVkpl5P25r+5cxmQGDXZ3OjRxrwof3Ejb+RCpmO8LW0L2PyPLX
85DLbxUXG0L3kMoUEQqGLWO5jRI4zlZhLZcOL9R5oQsHKchHvSrg39fBgUOFIZtY
W/dl3nH/4WPPSpuAPfY+/lhc4ciK5I2ClXBG15oIYCzukmAqmbSceO5qahi/jEHy
TWBTVtwXys1f60nkCOPU/d8ej5oqfGxLJ5Fey2wqmw6eLCDLw0FMc0v9KMCsprFe
oMFAuuxdqcLOQJSGCSjp/O3XqIjSuwOxwkxG9TU4+K8xhci46xPFwku78MRAavpc
IFA0j1qohPIU2F10lJF0DTgFqQ29U25X0mmfiXRF0bRVr/ZZ/Eo=
=kX5M
-----END PGP SIGNATURE-----

--6gv4shh7jeekcm6g--



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