Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build is failing: meson.build:1:0: ERROR: Meson version is 1.0.0 but project requires >= 1.2.0 #15

Open
Fredyy90 opened this issue May 2, 2024 · 1 comment

Comments

@Fredyy90
Copy link

Fredyy90 commented May 2, 2024

Hey,

I just cloned the repo and tried to build it, but during building the docker container i run into an error:

38.40 patching file gobject/gtypemodule.c
38.40 patching file gobject/gtypemodule.h
38.69 The Meson build system
38.69 Version: 1.0.0
38.69 Source dir: /src/deps/glib
38.69 Build dir: /src/deps/glib/_build
38.69 Build type: cross build
38.69
38.69 meson.build:1:0: ERROR: Meson version is 1.0.0 but project requires >= 1.2.0
38.69
38.69 A full log can be found at /src/deps/glib/_build/meson-logs/meson-log.txt
------
Dockerfile.base:34
--------------------
  32 |         python3-pip \
  33 |        && pip3 install git+https://github.com/kleisauke/meson@wasm-vips
  34 | >>> RUN chmod +x build.sh; ./build.sh
  35 |
  36 |
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod +x build.sh; ./build.sh" did not complete successfully: exit code: 1
make: *** [Makefile:46: .base-image.make] Error 1```

Is there any simple way to fix this?
@DSchroer
Copy link
Collaborator

DSchroer commented May 3, 2024

One thing you could try is in Dockerfile.base replace pip3 install git+https://github.com/kleisauke/meson@wasm-vips with pip3 install git+https://github.com/mesonbuild/meson. It could be that it will work out of the box now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants