GNOME Bugzilla – Bug 781098
--disable-vector-icons started breaking compilation: invert-svg.c:18:21: fatal error: gio/gio.h: No such file or directory
Last modified: 2017-04-09 23:47:45 UTC
Hi! configure.ac fills NATIVE_GLIB_* for --enable-vector-icons only but tools/Makefile.am uses them unconditionally for compilation of invert-svg. So despite having glib around, compilation fails like this: # GEGL="$(which gegl-0.3)" ./autogen.sh --disable-gtk-doc --disable-vector-icons && make -C tools invert-svg [..] make: Entering directory '/tmp/tmp.u3YpBpZOo6/gimp-GIT/tools' gcc -o invert-svg invert-svg.c invert-svg.c:18:21: fatal error: gio/gio.h: No such file or directory #include <gio/gio.h> ^ compilation terminated. make: *** [Makefile:1111: invert-svg] Error 1 make: Leaving directory '/tmp/tmp.u3YpBpZOo6/gimp-GIT/tools' For the full build log and original bug report please see https://bugs.gentoo.org/show_bug.cgi?id=614914#c7 Best Sebastian
Thanks! This was a regression from a previous commit. Fixed with: commit 5b135406fd2bd097868f117b4e6889e0f18997e8 Author: Jehan <jehan@girinstud.io> Date: Mon Apr 10 01:41:27 2017 +0200 Bug 781098 - only build invert-svg with --enable-vector-icons. This is a regression introduced in commit 84439a8 (partially reverted in commit 9a2da53 but some pieces were missing!). tools/Makefile.am | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)