Error during compilation
Using these steps I’m getting some errors that I can’t figure out what are and thus what I need to do about them:
_pkgname=resynthesizer
_gimpver=2.99.14
cp -R resynthesizer-v3-port/{PluginScripts,src} $_pkgname/
pushd gimp-${_gimpver}
patch -Np1 -i ../babl-0.1-name-change-meson.patch
popd
arch-meson "gimp-${_gimpver}" builddir-gimp > /dev/null
cp builddir-gimp/config.h $_pkgname/
#export CFLAGS="-w"
#export CXXFLAGS="${CFLAGS}"
arch-meson $_pkgname builddir
meson compile -C builddir
(babl-0.1-name-change-meson.patch
, arch-meson
, full WIP PKGBUILD
)
Results as of above: resynthesizer-makepkg-1.log meson-log-1.txt
Results with the two export
s not commented out:
resynthesizer-makepkg-2.log
meson-log-2.txt
I’m not sure if it’s the debug
function that’s making it fail:
../resynthesizer/src/resynthesizer/debug.c: In function ‘debug’:
../resynthesizer/src/resynthesizer/debug.c:11:3: error: format not a string literal and no format arguments [-Werror=format-security]
11 | g_printerr(message);
| ^~~~~~~~~~
Or if it’s whatever “undefined reference to `swap_vector_elements'” is… or if it’s something else.
Edited by Freso