tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: python check-interpreter.mk issue with egg.mk
On Tue, Apr 22, 2025 at 01:14:55PM +0100, David Brownlee wrote:
> Looks like check-interpreter.mk
check-interpreter.mk is fine - it detects a script is installed with a
'python' shebang, which we don't support in pkgsrc, we only want
/usr/pkg/bin/python1.23 ones.
> is broken on egg.mk using packages -
> example from x11/arandr below
>
> > Bootstrap dependency digest>=20211023: found digest-20220214
> WARNING: lang/python/egg.mk is deprecated; use lang/python/wheel.mk instead.
> [...]
> => Checking for non-existent script interpreters in arandr-0.1.11nb1
> ERROR: [check-interpreter.mk] The interpreter "python" of
> "/var/obj/pkg/x11/arandr/work/.destdir/usr/pkg/bin/arandr" does not
> exist.
> ERROR: [check-interpreter.mk] The interpreter "python" of
> "/var/obj/pkg/x11/arandr/work/.destdir/usr/pkg/bin/unxrandr" does not
> exist.
> *** Error code 1
>
> Could someone take a look?
>
> Obviously the goal is to convert all packages to wheel.mk instead of
> egg.mk, but with ~1900/3500 packages still using egg.mk its a little
> bit of an ask to just convert them all to avoid this issue :-p
This is from a change in upstream distutils that was merged into
upstream setuptools 76. I've just reverted the change locally.
But yes, these 1900 packages should be converted to wheel.mk! Perhaps
start with arandr :-)
Thomas
Home |
Main Index |
Thread Index |
Old Index