[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268792

            Bug ID: 268792
           Summary: devel/meson: Fails with StopIteration when some other,
                    unrelated packages are installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: yuri@freebsd.org
          Assignee: desktop@FreeBSD.org
             Flags: maintainer-feedback?(desktop@FreeBSD.org)

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/_build/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

-- 
You are receiving this mail because:
You are the assignee for the bug.