bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29824: Meson 0.44.0 is broken with guix.


From: Hartmut Goebel
Subject: bug#29824: Meson 0.44.0 is broken with guix.
Date: Tue, 2 Jan 2018 16:52:18 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

We need to have a look at the whole `detect_meson_py_location()`, not only on lines 47 to 51.

detect_meson_py_location() assumes the executable to be called "meson" or "meson.py", but in guix it currently is called ".meson-real" (see teh first entry in the trace-back).

The solution would be to get rid of the wrapper-scripts, see <https://lists.gnu.org/archive/html/guix-devel/2017-11/msg00041.html>

A work-around would be to substitute in file mesonbuild/mesonlib.py

meson_command = python_command + [detect_meson_py_location()]

by

meson_command = python_command + ["$OUT/bin/meson"]

(you got the idea, I assume). Of course we should verify detect_meson_py_location() is not used elsewhere and consider renaming that function to "disable" it.

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| www.crazy-compilers.com | compilers which you thought are impossible |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]