maintainer-feedback requested: [Bug 268792] devel/meson: Fails with StopIteration when some other, unrelated packages are installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Jan 2023 22:28:21 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 268792: devel/meson: Fails with StopIteration when some other, unrelated
packages are installed
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268792



--- Description ---
I am getting the below error when some other packages are installed.
After 'pkg autoremove' is called meson begins to work correctly.

There is some interference, but I couldn't figure out what causes it.

------ error ------
===>  Configuring for xx-xx
Traceback (most recent call last):
  File "/usr/local/bin/meson", line 33, in <module>
    sys.exit(load_entry_point('meson==1.0.0', 'console_scripts', 'meson')())
  File "/usr/local/bin/meson", line 25, in importlib_load_entry_point
    return next(matches).load()
StopIteration
===>  Script "configure" failed unexpectedly.
Please report the problem to yuri@FreeBSD.org [maintainer] and attach the
"/usr/ports/x11/xdg-desktop-portal-gtk/work/xdg-desktop-portal-gtk-1.14.1/_buil
d/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1