all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#29824: Meson 0.44.0 is broken with guix.
@ 2017-12-23 19:18 Fis Trivial
  2018-01-02 15:52 ` Hartmut Goebel
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Fis Trivial @ 2017-12-23 19:18 UTC (permalink / raw)
  To: 29824

I installed meson with command `guix package -i meson`

* Error:
$ meson --version

Traceback (most recent call last):
   File 
"/gnu/store/n53zdnl4l3gm9sg15bfwxp0wdrwrvhg4-meson-0.44.0/bin/.meson-real", 
line 17, in <module>
     from mesonbuild import mesonmain, mesonlib
   File 
"/gnu/store/n53zdnl4l3gm9sg15bfwxp0wdrwrvhg4-meson-0.44.0/lib/python3.5/site-packages/mesonbuild/mesonmain.py", 
line 18, in <module>
     from . import environment, interpreter, mesonlib
   File 
"/gnu/store/n53zdnl4l3gm9sg15bfwxp0wdrwrvhg4-meson-0.44.0/lib/python3.5/site-packages/mesonbuild/environment.py", 
line 17, in <module>
     from . import coredata
   File 
"/gnu/store/n53zdnl4l3gm9sg15bfwxp0wdrwrvhg4-meson-0.44.0/lib/python3.5/site-packages/mesonbuild/coredata.py", 
line 20, in <module>
     from .mesonlib import MesonException, commonpath
   File 
"/gnu/store/n53zdnl4l3gm9sg15bfwxp0wdrwrvhg4-meson-0.44.0/lib/python3.5/site-packages/mesonbuild/mesonlib.py", 
line 60, in <module>
     meson_command = python_command + [detect_meson_py_location()]
   File 
"/gnu/store/n53zdnl4l3gm9sg15bfwxp0wdrwrvhg4-meson-0.44.0/lib/python3.5/site-packages/mesonbuild/mesonlib.py", 
line 51, in detect_meson_py_location
     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 
with details.


I'm currently using Guix on top of Fedora 26. The installed version of 
meson is 0.44.0.


* Possible cause:
 From /mesonlib.py/: line 47~51, we have:
#+BEGIN_BLOCK python
     # The only thing remaining is to try to find the bundled executable and
     # pray distro packagers have not moved it.
     fname = os.path.join(os.path.dirname(__file__), '..', 'meson.py')
     if not os.path.exists(fname):
         raise RuntimeError('Could not determine how to run Meson. 
Please file a bug with details.')
#+END_BLOCK
which means meson will try to find the meson.py script at startup, but 
it seems Guix has renamed the this file with the new file name 
*.meson-real* and warp it with a shell script /meson/ in bin.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-11-30 16:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-23 19:18 bug#29824: Meson 0.44.0 is broken with guix Fis Trivial
2018-01-02 15:52 ` Hartmut Goebel
2018-01-09 12:46   ` Ludovic Courtès
2018-01-09 21:10     ` Hartmut Goebel
     [not found]       ` <CADh9keUUZNYBd7-doGcL1O9+bMdxtVK=PzVFL-9_MSUPWF7_=A@mail.gmail.com>
     [not found]         ` <CADh9keWM+hyLV=ffDx7XDWQFLS9O4tEtBEJ3aQzHPQBX-yRfjw@mail.gmail.com>
2018-01-09 23:34           ` Peter Mikkelsen
2018-01-14 20:06     ` Fis Trivial
2018-01-14 20:14       ` Fis Trivial
2018-01-14 22:02         ` Ludovic Courtès
2020-09-28 13:00 ` zimoun
2020-11-30 16:14 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.