Created attachment 251092 [details] Failed configure of devel/gobject3 when updating to python-3.11 Using portmaster and the instructions in UPDATING, devel/gobject3 failed to configure during "portmaster $REINSTALL". I will attach the full build log. The error is: ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment. WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. A the start of configuration, this odd message appeared. It may be insignificant, but looked odd: ===> Configuring for py311-gobject3-3.42.2 WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options The Meson build system
I met the same problem. This may occur because the python script /usr/local/bin/g-ir-scanner is for python3.9. The reason of the error FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/g-ir-scanner' is the first line of the script "#!/usr/local/bin/python3.9". Try reinstall devel/gobject-introspection and textproc/itstool, and then "postmaster $REINSTALL" again.
You're building on host with portmaster, which is unsupported. Like Takeno-san suggested, rebuild gobject-introspection before upgrading py-gobject3.