From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evO1g-00036a-AI for guix-patches@gnu.org; Mon, 12 Mar 2018 10:02:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evO1c-000219-Ex for guix-patches@gnu.org; Mon, 12 Mar 2018 10:02:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:49125) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evO1c-00020P-B0 for guix-patches@gnu.org; Mon, 12 Mar 2018 10:02:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1evO1a-0000kj-ED for guix-patches@gnu.org; Mon, 12 Mar 2018 10:02:03 -0400 Subject: [bug#30761] [PATCH staging 1/9] gnu: meson: Don't wrap the meson executable. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180309180914.22752-1-mbakke@fastmail.com> <20180309181108.22888-1-mbakke@fastmail.com> <87vae2tfxy.fsf@gnu.org> <876061jw9o.fsf@fastmail.com> <87woyhigqa.fsf@fastmail.com> Date: Mon, 12 Mar 2018 15:01:35 +0100 In-Reply-To: <87woyhigqa.fsf@fastmail.com> (Marius Bakke's message of "Mon, 12 Mar 2018 14:08:29 +0100") Message-ID: <87fu55pf40.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Marius Bakke Cc: 30761@debbugs.gnu.org Marius Bakke skribis: > Actually, I just checked; "meson" in master does not work at all, > whether from the store or from a profile: > > $ guix environment --ad-hoc meson -- meson --help > Traceback (most recent call last): > File "/gnu/store/lv22yqqnwaz7zjacmgqi8v18d9manr0y-meson-0.44.0/bin/.mes= on-real", line 17, in > from mesonbuild import mesonmain, mesonlib > File "/gnu/store/lv22yqqnwaz7zjacmgqi8v18d9manr0y-meson-0.44.0/lib/pyth= on3.6/site-packages/mesonbuild/mesonmain.py", line 18, in > from . import environment, interpreter, mesonlib > File "/gnu/store/lv22yqqnwaz7zjacmgqi8v18d9manr0y-meson-0.44.0/lib/pyth= on3.6/site-packages/mesonbuild/environment.py", line 17, in > from . import coredata > File "/gnu/store/lv22yqqnwaz7zjacmgqi8v18d9manr0y-meson-0.44.0/lib/pyth= on3.6/site-packages/mesonbuild/coredata.py", line 20, in > from .mesonlib import MesonException, commonpath > File "/gnu/store/lv22yqqnwaz7zjacmgqi8v18d9manr0y-meson-0.44.0/lib/pyth= on3.6/site-packages/mesonbuild/mesonlib.py", line 60, in > meson_command =3D python_command + [detect_meson_py_location()] > File "/gnu/store/lv22yqqnwaz7zjacmgqi8v18d9manr0y-meson-0.44.0/lib/pyth= on3.6/site-packages/mesonbuild/mesonlib.py", line 51, in detect_meson_py_lo= cation > raise RuntimeError('Could not determine how to run Meson. Please file= a bug with details.') > RuntimeError: Could not determine how to run Meson. Please file a bug wit= h details. > > So we really need to drop the wrapper. Indeed. When we drop the wrapper it may fail, but it=E2=80=99d fail in a different = way. :-) Ludo=E2=80=99.