meson.build:2030:22: ERROR: Expecting eol got eol_cont if build_tests[0] and ^ #12199
Replies: 2 comments 1 reply
-
Debian Buster is very old, and has a version of meson from 2019. libvirt requires a newer meson version -- and also has syntax that results in a parser error on very old meson versions. Normally, meson is supposed to print an error such as "Meson version is 0.49.2 but project requires >=0.56.0", but the parser error raises before that has a chance to be seen. I fixed this in 878c160 but only Meson 1.1.0 knows how to correctly report an error for build files that don't parse. 😭 This is terrible UX but I don't think there's any way to fix this glaring problem in older versions. If you enable buster-backports, it will provide a meson version new enough to build libvirt. |
Beta Was this translation helpful? Give feedback.
-
Hello. Thanks for the answer. I can't enable backports,otherwise I can't install gtk3,that I want to enable when I configure qemu 5.1. So,I think that the better solution for this problem is to install meson from source. Is this correct ? And the version of meson to install depends on the version of python installed on the system. Right ? |
Beta Was this translation helpful? Give feedback.
-
Hello.
I'm trying to configure and build libvirt from source on Debian Buster on top of my ARM Chromebook,but I've got an error that I'm not able to fix :
Someone can help ? thanks.
Beta Was this translation helpful? Give feedback.
All reactions