Date: Sun, 11 Sep 2022 07:04:53 -0700 From: David Wolfskill <david@catwhisker.org> To: freebsd-ports@freebsd.org Subject: What is this "gi" Python module that x11-toolkits/gtk40 wants? Message-ID: <Yx3rBX/6ET7WXDqL@albert.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--a4rv+slt/ew5tZ2Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Of my "development" machines, one is a headless "build machine" and the other two are laptops (one around 10 years old that I'm trying to retire; the other only about 6 years old that I'm trying to be able to use the way I can the older one -- but that;s tangential to the issue at hand). The build machine builds both FreeBSD and packages for my "production" machines (using poudriere for the latter). The development machines get their ports updated via portmaster. During the port update process on the laptops this morning, the intended "Upgrade gtk4-4.6.3 to gtk4-4.8.0" failed for x11-toolkits/gtk40, citing: | Program glib-compile-resources found: YES (/usr/local/bin/glib-compile-re= sources) | Program bash found: YES (/usr/local/bin/bash) | Program python3 (gi) found: NO |=20 | testsuite/introspection/meson.build:1:0: ERROR: python3 is missing module= s: gi |=20 | A full log can be found at /common/ports/x11-toolkits/gtk40/work/gtk-4.8.= 0/_build/meson-logs/meson-log.txt | =3D=3D=3D> Script "configure" failed unexpectedly. The tail end of that "full log" reads: | Adding test "reftest wrapping-in-boxes-in-boxes.ui" | Program python3 (gi) found: NO |=20 | testsuite/introspection/meson.build:1:0: ERROR: python3 is missing module= s: gi Output of `make -C /usr/ports/lang/python39 showconfig` is: g1-70(12.3-S)[7] make -C /usr/ports/lang/python39 showconfig =3D=3D=3D> The following configuration options are available for python39-3= =2E9.13: DEBUG=3Doff: Build with debugging support IPV6=3Don: IPv6 protocol support LIBMPDEC=3Don: Use libmpdec from ports instead of bundled version LTO=3Doff: Use Link-Time Optimization NLS=3Don: Enable gettext support for the locale module PYMALLOC=3Don: Enable specialized mallocs =3D=3D=3D=3D> Hash Algorithm (PEP-456): you can only select none or one of = them FNV=3Doff: Modified Fowler-Noll-Vo Algorithm SIPHASH=3Doff: SipHash24 Algorithm =3D=3D=3D> Use 'make config' to modify these settings g1-70(12.3-S)[8]=20 On the off-chance that it was some sort of devel/meson option: g1-70(12.3-S)[12] make -C /usr/ports/devel/meson showconfig = =20 g1-70(12.3-S)[13]=20 This is running on: g1-70(12.3-S)[10] uname -aUK FreeBSD g1-70.catwhisker.org 12.3-STABLE FreeBSD 12.3-STABLE #1283 stable/1= 2-98bde38b32a: Sat Sep 10 10:34:25 UTC 2022 root@g1-70.catwhisker.org:/= common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 1203507 1203507 with the ports tree at main-n595362-ddae4e92d831. The poudriere run (for the production machines) did not encounter an issue -- but a significant contributor to that is that (in checking this) I discovered that poudriere isn't building gtk4 -- it's building gtk2 & gtk3. (I have nothing mentioning gtk at all in any make.conf files -- either in /etc or in /usr/local/etc/poudriere.d/.) I'm not developing gtk applications; for my purposes, gtk* is merely a dependency of some port that I intend to use. I have placed copies of salient files in https://www.catwhisker.org/~david/FreeBSD/ports/gtk40/ How may I fix this? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org "In my administration, I'm going to enforce all laws concerning the protection of classified information. No one will be above the law." -- D. Trump, August, 2016 See https://www.catwhisker.org/~david/publickey.gpg for my public key. --a4rv+slt/ew5tZ2Y Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQSr0Kzv+UJRY3wfOii0+6PfV4Ix1AUCYx3rBV8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0QUJE MEFDRUZGOTQyNTE2MzdDMUYzQTI4QjRGQkEzREY1NzgyMzFENAAKCRC0+6PfV4Ix 1NUPAQDxqMv0m5A36nyzWB3KcZ2PVORNJSmTrTu2D5/W/H2b4AEAje5XLoh89pzk hj+balbV7ZsG9DDH5RWwiUvsXnN9fgU= =Mn/8 -----END PGP SIGNATURE----- --a4rv+slt/ew5tZ2Y--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yx3rBX/6ET7WXDqL>