Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 10:03:55 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Jan Beich <jbeich@FreeBSD.org>, FreeBSD Ports mailing list <ports@FreeBSD.org>
Subject:   Re: USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency from source
Message-ID:  <65756e68-af20-5594-e719-4b5a4795b36f@FreeBSD.org>
In-Reply-To: <7fdc-gny4-wny@vfemail.net>
References:  <201606250232.u5P2Wndq091282@beefy5.nyi.freebsd.org> <7fdc-gny4-wny@vfemail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--DM35dHgFJxcV7SfHU03GPmN7eldvSnd10
Content-Type: multipart/mixed; boundary="gudvjOAE9LLvWStmk8lgkvoJ2LChw4fD2"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Jan Beich <jbeich@FreeBSD.org>,
 FreeBSD Ports mailing list <ports@FreeBSD.org>
Message-ID: <65756e68-af20-5594-e719-4b5a4795b36f@FreeBSD.org>
Subject: Re: USE_PACKAGE_DEPENDS_ONLY set - not building missing dependency
 from source
References: <201606250232.u5P2Wndq091282@beefy5.nyi.freebsd.org>
 <7fdc-gny4-wny@vfemail.net>
In-Reply-To: <7fdc-gny4-wny@vfemail.net>

--gudvjOAE9LLvWStmk8lgkvoJ2LChw4fD2
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 6/26/16 5:00 AM, Jan Beich wrote:
> pkg-fallout@FreeBSD.org writes:
>=20
>> Ident:          $FreeBSD: head/multimedia/vapoursynth/Makefile 415615 =
2016-05-22 01:10:34Z jbeich $
>> Log URL:        http://beefy5.nyi.freebsd.org/data/101i386-default/417=
455/logs/vapoursynth-r32.log
>> Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=3D=
101i386-default&build=3D417455
>> Log:
>>
>> build started at Sat Jun 25 02:32:41 UTC 2016
> [...]
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<=
phase: build-depends  >=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>   vapoursynth-r32 depends on executable: sphinx-build - not=
 found
>> =3D=3D=3D>   vapoursynth-r32 depends on package: /packages/All/py34-sp=
hinx-1.4.4.txz - not found
>> =3D=3D=3D>   USE_PACKAGE_DEPENDS_ONLY set - not building missing depen=
dency from source
>> *** Error code 1
>=20
> I'm starting to get failures for a port that hasn't changed for a month=
=2E
> Anyone got a clue? The regression appears to be from r417413 which land=
ed
> without an exp-run suggesting any fallout is due to badly written ports=
=2E
>=20

r417413 was the right fix either way as the old code before the
do-depends.sh conversion was also passing DEPENDS_ARGS:

subpkgfile=3D`(cd $$dir; ${MAKE} $$depends_args -V PKGFILE)`; \

The problem here is a bug in Poudriere not handling DEPENDS_ARGS
properly.  The port is forcing python3 as the default even though
packages are built with default 2.  Dependencies are only built for
python2 and this port wants a python3 dependency.  It's covered in
https://github.com/freebsd/poudriere/issues/259.  I've been working on a
fix lately and am close to having it complete, which is why I did
r417413, because the framework was doing the wrong thing.

net/tiny-network-utilities is another example where this is a problem
and PACKAGE_BUILDING was used to set IGNORE to avoid the problem for now.=


--=20
Regards,
Bryan Drewery


--gudvjOAE9LLvWStmk8lgkvoJ2LChw4fD2--

--DM35dHgFJxcV7SfHU03GPmN7eldvSnd10
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJXcVx8AAoJEDXXcbtuRpfPiqoH/irSI2T4ewNknu1NaBSxGV/I
Bw6pxrIj7XVmd/IRC5tvRQtKrnuK0aGBU97UfPERDonMJhcXgAvr0ybHsjfAx7FN
1kPRZjNIgJlDOh29dgHyDDEiDoqyQrfgqX1Z7TgRPkMHQX8R9usvh5ppLs6ZtZ6q
gxnI17DR2J9uHGhF7t5R3IyqJRy8YUqPVUqcOVzPMILncbGJ5JKL72GkQmIRFjG7
pVHIVzualYEkq5gJ+t+Wta6xiWzlpyFADkZmYQniOErLsl4Cq8fHYkzykJQhnFYn
0d1qL4yoyKf3iDNs43mpoimh1T6mCLAw1lqhSfl1Q+3oKxyrfnXvFrTNVWHziw0=
=TD4/
-----END PGP SIGNATURE-----

--DM35dHgFJxcV7SfHU03GPmN7eldvSnd10--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65756e68-af20-5594-e719-4b5a4795b36f>