Glib 2.73.x meson build error: Subproject exists but has no meson.build file.
Linux OS: Ubuntu Mate 22.04.1 lts.
I tried to build Glib. When I build Glib 2.72.3, success, no error occur. But, when I try to build Glib 2.73.3, an error occurred: Subproject exists but has no meson.build file.
Same error occur when building Glib version 2.72.1 and 2.72.2.
I did test building Glib by using my own linux user, and the sources files were placed in my home folder. But, for the purpose of reporting this bug, in order to hide my username, I place the source files in a subdirectory in root directory.
Please have a look at the following screenshot:
I also attached the meson log here:
Here are the steps to reproduce this issue:
- Download Glib version 2.73.3 from https://gitlab.gnome.org/GNOME/glib/-/releases .
- Extract the downloaded source files to any directory.
- Run terminal, change to the directory where you extracted the source files into.
- Run command the following command to build configure static library:
meson -Ddefault_library=static _build
- Wait for a while, you will see the error.
By looking at the error and the meson.build file, it seems meson try to build the gvdb subproject, but there is no meson.build file in gvdb's directory. I used file manager, looked at the gvdb's directory, the directory is empty, really no meson.build file. I also opened the downloaded tar file by using Engrampa Archive Manager, and found the same.