Created attachment 343584 [details] patch for gtkspell/Makefile.in /usr/bin/g-ir-scanner --namespace=GtkSpell --nsversion=3.0 --libtool="/bin/sh ../libtool" --include=GObject-2.0 --include=GLib-2.0 --include=Gtk-3.0 --library=libgtkspell3-3.la --cflags-begin --warn-all @GTK_SPELL_CFLAGS@ --cflags-end gtkspell.c gtkspell.h libgtkspell3-3.la --output GtkSpell-3.0.gir gcc: error: @GTK_SPELL_CFLAGS@: No such file or directory Error while processing the source. make[2]: *** [GtkSpell-3.0.gir] Error 1
Created attachment 343630 [details] gtkspell-3.0.2.ebuild I have tried to update it but still fails. Also looks like other distributions are not needing this patch... not sure if we are making some kind of hack that is causing this breakage @gnome, any idea?
Well, the question is whether other distributions use gtk3 or build it against gtk2. But the typo in gtkspell/Makefile.am is a valid upstream bug.
The patch from comment #1 solved the issue here.
Interesting, this typo doesn't cause a failure or even any warning when using gobject-introspection-1.34, and I suppose this is why we hadn't noticed it before.
Fixed, thanks. Modified patch (we want to patch Makefile.am, not Mafile.in) submitted upstream at https://sourceforge.net/p/gtkspell/bugs/17/ + 02 Apr 2013; Alexandre Rostovtsev <tetromino@gentoo.org> + gtkspell-3.0.0.ebuild, +files/gtkspell-3.0.2-GTK_SPELL_CFLAGS.patch: + Fix "@GTK_SPELL_CFLAGS@: No such file or directory" build failure (bug + #463674, thanks to Nick Novikov).