From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29824: Meson 0.44.0 is broken with guix. Date: Tue, 09 Jan 2018 13:46:23 +0100 Message-ID: <87bmi3td28.fsf@gnu.org> References: <1a5a9106-e648-11ef-9880-8157eb1399f0@crazy-compilers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYtJ3-0001Lu-1K for bug-guix@gnu.org; Tue, 09 Jan 2018 07:47:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYtIz-0000BA-Tk for bug-guix@gnu.org; Tue, 09 Jan 2018 07:47:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33502) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYtIz-0000Ax-R6 for bug-guix@gnu.org; Tue, 09 Jan 2018 07:47:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eYtIz-0008De-K7 for bug-guix@gnu.org; Tue, 09 Jan 2018 07:47:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1a5a9106-e648-11ef-9880-8157eb1399f0@crazy-compilers.com> (Hartmut Goebel's message of "Tue, 2 Jan 2018 16:52:18 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Hartmut Goebel Cc: 29824@debbugs.gnu.org, Peter Mikkelsen Hi Hartmut, Hartmut Goebel skribis: > 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 > > > A work-around would be to substitute in file mesonbuild/mesonlib.py > > meson_command =3D python_command + [detect_meson_py_location()] > > by > > meson_command =3D python_command + ["$OUT/bin/meson"] Sounds reasonable. Does it work for you? If so, could you provide a patch? Ludo=E2=80=99.