Project type detection regressed
My project Niepce now fail to build in builder. It is an autotools project with some Rust in it. Builder seem to think it is a Cargo project.
This is 3.31.4-40-g1eec54342 flatpak-nightly
, it worked a few days ago before the refactoring landed.
- I open it explicitely as an autotools project.
- If I check the build configuration, be it using the flatpak .json or the default, it says Build System: Cargo
- It tries to build it doing:
flatpak build --share=network --nofilesystem=host
--filesystem=/home/hub/.var/app/org.gnome.Builder/cache/gnome-builder --filesystem=/home/hub/source/niepce
--filesystem=/home/hub/.var/app/org.gnome.Builder/cache/gnome-builder/projects/niepce/builds/org.gnome.Niepce.json-flatpak-org.gnome.Platform-x86_64-3.30-master
--env=V=1 --env=CARGO_HOME=/run/build/niepce/cargo '--env=CFLAGS=-O2 -g' '--env=CXXFLAGS=-O2 -g'
--env=NOCONFIGURE=1 /home/hub/.var/app/org.gnome.Builder/cache/gnome-builder/projects/niepce/flatpak/staging/x86_64-master
/home/hub/.cargo/bin/cargo fetch --manifest-path /home/hub/source/niepce/configure.ac
Trying to use the configure.ac
as the manifest for cargo