You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had never built a Vala app in my life until now, so I'm sorry if my ignorance shows too much here.
Anyway, I'm attempting to resurrect this Vala app, and for that I'm using this extension, because the Elementary base that app originally uses, includes a very old version of the Vala compiler (yes, even in the current 23.08 branch).
The first problem I faced is that meson can't find libgee's pkg-config file, because it's being intentionally removed:
Build log
========================================================================
Building module lyrics in /tmp/com.github.naaando.lyrics/.flatpak-builder/build/lyrics-1
========================================================================
FB: Running: tar xf /tmp/com.github.naaando.lyrics/.flatpak-builder/downloads/10724ac168aaea59da0566362fe7e588d2273ad9323516ab779b3b141178153e/0.9.0.tar.gz --no-same-owner --strip-components=1 -z
FB: Running: flatpak build --die-with-parent --env=FLATPAK_BUILDER_BUILDDIR=/run/build/lyrics --nofilesystem=host:reset --filesystem=/tmp/com.github.naaando.lyrics/.flatpak-builder/build/lyrics-1 --bind-mount=/run/build/lyrics=/tmp/com.github.naaando.lyrics/.flatpak-builder/build/lyrics-1 --build-dir=/run/build/lyrics/_flatpak_build --bind-mount=/run/ccache=/tmp/com.github.naaando.lyrics/.flatpak-builder/ccache --unshare=network --env=SOURCE_DATE_EPOCH=1729228717 '--env=CFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' '--env=CXXFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' '--env=LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' --env=CCACHE_DIR=/run/ccache/disabled --env=PATH=/usr/lib/sdk/vala/bin:/app/bin:/usr/bin --env=LD_LIBRARY_PATH=/usr/lib/sdk/vala/lib:/app/lib --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig --env=FLATPAK_BUILDER_N_JOBS=4 /tmp/com.github.naaando.lyrics/.flatpak-builder/rofiles/rofiles-XswS7q meson setup --prefix=/app --libdir=/app/lib .. --buildtype=release
The Meson build system
Version: 1.5.2
Source dir: /run/build/lyrics
Build dir: /run/build/lyrics/_flatpak_build
Build type: native build
Project name: com.github.naaando.lyrics
Project version: undefined
C compiler for the host machine: ccache cc (gcc 14.2.0 "cc (GCC) 14.2.0")
C linker for the host machine: cc ld.bfd 2.43.1
Vala compiler for the host machine: valac (valac 0.56.17)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0
Build-time dependency gio-2.0 found: YES 2.82.1
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Run-time dependency glib-2.0 found: YES 2.82.1
Run-time dependency gtk+-3.0 found: YES 3.24.43
Found CMake: /usr/bin/cmake (3.30.4)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency gee-0.8 found: NO (tried pkgconfig and cmake)
../meson.build:24:8: ERROR: Dependency "gee-0.8" not found, tried pkgconfig and cmake
A full log can be found at /run/build/lyrics/_flatpak_build/meson-logs/meson-log.txt
Error: module lyrics: Child process exited with code 1
I naively thought that adding a patch to make meson find libgee manually would be sufficient, but the app actually needs libgee's C header file, which this extension also removes:
I had never built a Vala app in my life until now, so I'm sorry if my ignorance shows too much here.
Anyway, I'm attempting to resurrect this Vala app, and for that I'm using this extension, because the Elementary base that app originally uses, includes a very old version of the Vala compiler (yes, even in the current
23.08
branch).The first problem I faced is that meson can't find
libgee
's pkg-config file, because it's being intentionally removed:Build log
I naively thought that adding a patch to make meson find
libgee
manually would be sufficient, but the app actually needslibgee
's C header file, which this extension also removes:Build log
So, going back to my original question: Should this extension really be removing all these seemingly useful files?
The text was updated successfully, but these errors were encountered: