Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2018 14:34:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 231219] devel/meson: Update to 0.47.2
Message-ID:  <bug-231219-6497-4LRRDB9EyJ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231219-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231219-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231219

Tobias Kortkamp <tobik@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tobik@freebsd.org

--- Comment #2 from Tobias Kortkamp <tobik@freebsd.org> ---
It would be good to have meson >=3D 0.47.0 as the current version
does not properly work with Python 3.7 and can die with the below
error.  Also see https://github.com/mesonbuild/meson/issues/3622.

It can be fixed by backporting
https://github.com/mesonbuild/meson/commit/a87496addd9160300837aa50193f4798=
c6f1d251
to meson 0.46.1.

Error during configure when trying to build graphics/libepoxy 1.5.2 (part
of the GNOME update from ports r480951) with DEFAULT_VERSIONS=3Dpython3=3D3=
.7:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/mesonmain.py", li=
ne
364, in run
    app.generate()
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/mesonmain.py", li=
ne
135, in generate
    self._generate(env)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/mesonmain.py", li=
ne
186, in _generate
    intr.run()
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreter.py", =
line
3261, in run
    super().run()
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 215, in run
    self.evaluate_codeblock(self.ast, start=3D1)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 239, in evaluate_codeblock
    raise e
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 231, in evaluate_codeblock
    self.evaluate_statement(cur)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 254, in evaluate_statement
    return self.evaluate_if(cur)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 307, in evaluate_if
    self.evaluate_codeblock(i.block)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 239, in evaluate_codeblock
    raise e
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 231, in evaluate_codeblock
    self.evaluate_statement(cur)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 244, in evaluate_statement
    return self.function_call(cur)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 504, in function_call
    return func(node, posargs, kwargs)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 99, in wrapped
    return f(s, node_or_state, args, kwargs)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreter.py", =
line
2919, in func_subdir
    self.evaluate_codeblock(codeblock)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 239, in evaluate_codeblock
    raise e
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 231, in evaluate_codeblock
    self.evaluate_statement(cur)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 246, in evaluate_statement
    return self.assignment(cur)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 706, in assignment
    value =3D self.evaluate_statement(node.value)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 248, in evaluate_statement
    return self.method_call(cur)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 538, in method_call
    return obj.method_call(method_name, args, kwargs)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 140, in method_call
    return method(args, kwargs)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreterbase.p=
y",
line 115, in wrapped
    return f(obj, args, kwargs)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/interpreter.py", =
line
1215, in find_library_method
    linkargs =3D self.compiler.find_library(libname, self.environment,
search_dirs)
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/compilers/c.py", =
line
823, in find_library
    if self.links(code, env, extra_args=3Dargs):
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/compilers/c.py", =
line
346, in links
    return self.compiles(code, env, extra_args, dependencies, mode=3D'link')
  File "/usr/local/lib/python3.7/site-packages/mesonbuild/compilers/c.py", =
line
339, in compiles
    return p.returncode =3D=3D 0
  File "/usr/local/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)

RuntimeError: generator raised StopIteration

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231219-6497-4LRRDB9EyJ>