flatpak babl build error
Environment/Versions
- GIMP version:2.99.19 master
- Flatpak building
- Operating System: Linux
Building master via Flatpack is giving an error for babl
This line in meson.build seems to be causing it.
else
git_version_h = files('git-version.h')
endif
Additional information
mark@dadPC:~/github/Imp$ '/home/mark/github/Imp/build-flatpak.sh'
Changing to script directory: /home/mark/github/Imp
************* FLATPAK BUILD STARTED *****************
Emptying app dir '/home/mark/github/Imp/flatpak-install/x86_64/Source'
Downloading sources
Fetching git repo https://github.com/json-c/json-c.git, ref refs/tags/json-c-0.17-20230812
Fetching full git repo https://github.com/pavouk/lgi.git
Fetching full git repo https://github.com/phoboslab/qoi.git
Fetching git repo https://gitlab.gnome.org/GNOME/babl.git, ref refs/tags/BABL_0_1_108
Fetching full git repo https://github.com/gerddie/maxflow.git
Fetching git repo https://gitlab.gnome.org/GNOME/gegl.git, ref refs/tags/GEGL_0_4_48
Fetching git repo https://gitlab.gnome.org/GNOME/gimp.git, ref refs/heads/master
Fetching full git repo https://gitlab.gnome.org/GNOME/gimp-data.git
Starting build of org.gimp.GIMP
Cache hit for appstream-glib, skipping build
Cache hit for exiv2, skipping build
Cache hit for gexiv2, skipping build
Cache hit for ilmbase, skipping build
Cache hit for openexr, skipping build
Cache hit for popplerdata, skipping build
Cache hit for poppler, skipping build
Cache hit for aalib, skipping build
Cache hit for libmng, skipping build
Cache hit for libwmf, skipping build
Cache hit for ghostscript, skipping build
Cache hit for intltool, skipping build
Cache hit for json-c, skipping build
Cache hit for libmypaint, skipping build
Cache hit for mypaint-brushes, skipping build
Cache hit for openblas, skipping build
Cache hit for SuiteSparse, skipping build
Cache hit for libde265, skipping build
Cache hit for libx265-10bpc, skipping build
Cache hit for libx265-12bpc, skipping build
Cache hit for libx265, skipping build
Cache hit for libheif, skipping build
Cache hit for luajit, skipping build
Cache hit for lua-lgi, skipping build
Cache hit for xmu, skipping build
Cache hit for qoi, skipping build
Cache hit for cfitsio, skipping build
Cache miss, checking out last cache hit
========================================================================
Building module babl in /home/mark/github/Imp/.flatpak-builder/build/babl-26
========================================================================
Note: switching to 'BABL_0_1_108'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at d3337db release 0.1.108
The Meson build system
Version: 1.3.2
Source dir: /run/build/babl
Build dir: /run/build/babl/_flatpak_build
Build type: native build
Project name: babl
Project version: 0.1.108
C compiler for the host machine: ccache cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python)
Message: Host os: linux
Message: Build os: linux
Compiler for C supports arguments -Ofast: YES
Compiler for C supports arguments -fno-unsafe-math-optimizations: YES
Compiler for C supports arguments -ftree-vectorize: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -march=x86-64: YES
Compiler for C supports arguments -msse2: YES
Compiler for C supports arguments -msse2: YES (cached)
Compiler for C supports arguments -msse4.1: YES
Compiler for C supports arguments -msse4.2: YES
Compiler for C supports arguments -mpopcnt: YES
Compiler for C supports arguments -mssse3: YES
Compiler for C supports arguments -mavx: YES
Compiler for C supports arguments -mavx2: YES
Compiler for C supports arguments -mf16c: YES
Compiler for C supports arguments -mfma: YES
Compiler for C supports arguments -mmovbe: YES
Compiler for C supports arguments -mbmi: YES
Compiler for C supports arguments -mbmi2: YES
Compiler for C supports arguments -mmmx: YES
Message: mmx assembly available
Compiler for C supports arguments -msse: YES
Message: sse assembly available
Compiler for C supports arguments -mfpmath=sse: YES
Compiler for C supports arguments -msse2: YES (cached)
Message: sse2 assembly available
Compiler for C supports arguments -msse4.1: YES (cached)
Message: sse4.1 assembly available
Compiler for C supports arguments -mavx2: YES (cached)
Message: avx2 assembly available
Compiler for C supports arguments -mf16c: YES (cached)
Message: Can compile half-floating point code (f16c)
Has header "stdatomic.h" : YES
Has header "dlfcn.h" : YES
Has header "dl.h" : NO
Checking for function "gettimeofday" : YES
Checking for function "rint" : NO
Checking for function "srandom" : YES
Library m found: YES
Run-time dependency threads found: YES
Library dl found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency gobject-introspection-1.0 found: YES 1.78.1
Run-time dependency lcms2 found: YES 2.15
Run-time dependency vapigen found: YES 0.56.14
Program git found: YES (/usr/bin/git)
Program env found: YES (/usr/bin/env)
Program rsvg-convert found: YES (/usr/bin/rsvg-convert)
Program w3m found: NO
Program gi-docgen found: NO
Configuring config.h using configuration
../meson.build:487:18: ERROR: File git-version.h does not exist.
A full log can be found at /run/build/babl/_flatpak_build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Error: module babl: Child process exited with code 1
************* FLATPAK BUILD FINISHED *****************
Emptying app dir '/home/mark/github/Imp/flatpak-install/x86_64/Source'
Downloading sources
Fetching git repo https://github.com/json-c/json-c.git, ref refs/tags/json-c-0.17-20230812
Fetching full git repo https://github.com/pavouk/lgi.git
Fetching full git repo https://github.com/phoboslab/qoi.git
Fetching git repo https://gitlab.gnome.org/GNOME/babl.git, ref refs/tags/BABL_0_1_108
Fetching full git repo https://github.com/gerddie/maxflow.git
Fetching git repo https://gitlab.gnome.org/GNOME/gegl.git, ref refs/tags/GEGL_0_4_48
Fetching git repo https://gitlab.gnome.org/GNOME/gimp.git, ref refs/heads/master
Fetching full git repo https://gitlab.gnome.org/GNOME/gimp-data.git
Starting build of org.gimp.GIMP
Cache hit for appstream-glib, skipping build
Cache hit for exiv2, skipping build
Cache hit for gexiv2, skipping build
Cache hit for ilmbase, skipping build
Cache hit for openexr, skipping build
Cache hit for popplerdata, skipping build
Cache hit for poppler, skipping build
Cache hit for aalib, skipping build
Cache hit for libmng, skipping build
Cache hit for libwmf, skipping build
Cache hit for ghostscript, skipping build
Cache hit for intltool, skipping build
Cache hit for json-c, skipping build
Cache hit for libmypaint, skipping build
Cache hit for mypaint-brushes, skipping build
Cache hit for openblas, skipping build
Cache hit for SuiteSparse, skipping build
Cache hit for libde265, skipping build
Cache hit for libx265-10bpc, skipping build
Cache hit for libx265-12bpc, skipping build
Cache hit for libx265, skipping build
Cache hit for libheif, skipping build
Cache hit for luajit, skipping build
Cache hit for lua-lgi, skipping build
Cache hit for xmu, skipping build
Cache hit for qoi, skipping build
Cache hit for cfitsio, skipping build
Cache miss, checking out last cache hit
========================================================================
Building module babl in /home/mark/github/Imp/.flatpak-builder/build/babl-27
========================================================================
Note: switching to 'BABL_0_1_108'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at d3337db release 0.1.108
The Meson build system
Version: 1.3.2
Source dir: /run/build/babl
Build dir: /run/build/babl/_flatpak_build
Build type: native build
Project name: babl
Project version: 0.1.108
C compiler for the host machine: ccache cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.42
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (/usr/bin/python)
Message: Host os: linux
Message: Build os: linux
Compiler for C supports arguments -Ofast: YES
Compiler for C supports arguments -fno-unsafe-math-optimizations: YES
Compiler for C supports arguments -ftree-vectorize: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-prototypes: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -march=x86-64: YES
Compiler for C supports arguments -msse2: YES
Compiler for C supports arguments -msse2: YES (cached)
Compiler for C supports arguments -msse4.1: YES
Compiler for C supports arguments -msse4.2: YES
Compiler for C supports arguments -mpopcnt: YES
Compiler for C supports arguments -mssse3: YES
Compiler for C supports arguments -mavx: YES
Compiler for C supports arguments -mavx2: YES
Compiler for C supports arguments -mf16c: YES
Compiler for C supports arguments -mfma: YES
Compiler for C supports arguments -mmovbe: YES
Compiler for C supports arguments -mbmi: YES
Compiler for C supports arguments -mbmi2: YES
Compiler for C supports arguments -mmmx: YES
Message: mmx assembly available
Compiler for C supports arguments -msse: YES
Message: sse assembly available
Compiler for C supports arguments -mfpmath=sse: YES
Compiler for C supports arguments -msse2: YES (cached)
Message: sse2 assembly available
Compiler for C supports arguments -msse4.1: YES (cached)
Message: sse4.1 assembly available
Compiler for C supports arguments -mavx2: YES (cached)
Message: avx2 assembly available
Compiler for C supports arguments -mf16c: YES (cached)
Message: Can compile half-floating point code (f16c)
Has header "stdatomic.h" : YES
Has header "dlfcn.h" : YES
Has header "dl.h" : NO
Checking for function "gettimeofday" : YES
Checking for function "rint" : NO
Checking for function "srandom" : YES
Library m found: YES
Run-time dependency threads found: YES
Library dl found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency gobject-introspection-1.0 found: YES 1.78.1
Run-time dependency lcms2 found: YES 2.15
Run-time dependency vapigen found: YES 0.56.14
Program git found: YES (/usr/bin/git)
Program env found: YES (/usr/bin/env)
Program rsvg-convert found: YES (/usr/bin/rsvg-convert)
Program w3m found: NO
Program gi-docgen found: NO
Configuring config.h using configuration
../meson.build:487:18: ERROR: File git-version.h does not exist.
A full log can be found at /run/build/babl/_flatpak_build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Error: module babl: Child process exited with code 1
************* INSTALL FINISHED *****************