Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jul 2020 16:04:28 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        freebsd ports <freebsd-ports@freebsd.org>
Subject:   Incorrect PYTHON_LIBDIR setting
Message-ID:  <598ad9bc-d574-9ad5-b209-eddb0065128d@m5p.com>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--qWprhJ5VtIOtXbapz3db85h0y1HIaTVq7
Content-Type: multipart/mixed; boundary="bHhNEJdFY2j44zjil7BqlCSF8CEBjyHRn";
 protected-headers="v1"
From: George Mitchell <george+freebsd@m5p.com>
To: freebsd ports <freebsd-ports@freebsd.org>
Message-ID: <598ad9bc-d574-9ad5-b209-eddb0065128d@m5p.com>
Subject: Incorrect PYTHON_LIBDIR setting

--bHhNEJdFY2j44zjil7BqlCSF8CEBjyHRn
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Locally, I have changed my default version of python to 3.8.
Specifically, in my etc/make.conf, I have:

DEFAULT_VERSIONS+=3Dpython=3D3.8 python3=3D3.8

However, www/chromium/Makefile erroneously says:

    ${CP} ${PYTHONBASE}/lib/python3.7/site-packages/xcbgen/*.py \
 		${WRKDIR}/site-packages/xcbgen

and compiling www/chromium at revision 543833 fails, because of
course I don't have the py37 version of anything installed.
I figured I could fix this by substituting ${PYTHON_LIBDIR} for
${PYTHONBASE}/lib/python3.7, but that did not change anything.
I suspect the problem is in Mk/Uses/python.mk, but I confess I
don't understand that file very well.  I'm temporarily working
around the problem by substituting "python3.8" for "python3.7"
in the Makefile, but I could use a clue on the right way to fix
the problem.  Any suggestions?                       -- George


--bHhNEJdFY2j44zjil7BqlCSF8CEBjyHRn--

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

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

iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAl8keVIACgkQwRES3m+p
4fnG4g/+LfZQeCEW8xMnwsRBeLMkL21k5HUoT6RMu+cCO8wDEX55joqJ1WeukjTj
Lf/8fF2awYFyQOTCEKmuxsqbFPrW9m68uK/1Rot1/ru7OwvgvKpx1FPsOOiJE/hg
Nm2ahksKN6yj09RrugmSqYT0wc59QI//oJ7HXeQC4clr7rLLVZUMO5bxpkIhBYUE
uKg+QFzTgGfgeFOj3tGhSx2eamjQ5Uk01dZ8Ajycyg5wXjf1bktly99uRtfXpY5L
MVeDPKB9Ces4RCI4ZRDghSysFkZYczQr/ycuExTOEDzvUcqn61kaf7wOBf67sKF0
JQr8cbketCYxC95GOCKC9+8z768VEC4IsbmY8mHqZ0RVQPYft5ohaaJDO2rqhAkA
YOAkYzCnuUOTLmTJwvsdZXMbUYCKkVvM21jaChpGQOlvq09pa6tOnEivSo4w771X
vAM87n8T9E/+VRee/OHsxmkXiOuiMEdPj10NfuLapapHHK6INU32vLWXJ3xKlSQ6
CAQ2G3fr0EG9AGlpANgdxQ5FzjFob053qhZXP+0L5tYuILXEIdV6aVWXuGkXjqbu
l5kFcr1ZGrhhM0IDxR7uf7SH8I7goyAXaEqDATBGXnXi1/WWGr9uNizZ34ZgdkqM
SJwQmDxzfYCLtbvujLtt8ToeC4W7KRbtxFwUDQ8+aVNuKsFVjDQ=
=mO99
-----END PGP SIGNATURE-----

--qWprhJ5VtIOtXbapz3db85h0y1HIaTVq7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?598ad9bc-d574-9ad5-b209-eddb0065128d>