Created attachment 266557 [details] build.log (...) make[4]: Entering directory `/usr/local/tmp/portage/media-libs/memphis-0.2.3/work/memphis-0.2.3/bindings/vala/demos' CC example.o example.c:14:18: error: glib.h: No such file or directory example.c:15:25: error: glib-object.h: No such file or directory In file included from ../../../memphis/memphis.h:33, from example.c:16: The problem here is that in bindings/vala/demos/Makefile.am, VALA_EXAMPLE_{CFLAGS,LIBS} should be set with the include paths and libraries for linking. However looking at configure.ac: VALA_EXAMPLE_{CFLAGS,LIBS} are only set with --enable-vala. So I suggest disabling building of examples if USE="-vala". doing a $ USE="vala" emerge memphis -v emerges just fine
Currently we are hacking in the ebuild, but a clean patch was sent upstream diff --git a/configure.ac b/configure.ac index d1a063d..68218b5 100644 --- a/configure.ac +++ b/configure.ac @@ -95,7 +95,7 @@ if test x$enable_vala = xyes; then AC_SUBST(VALA_EXAMPLE_PACKAGES) fi -AM_CONDITIONAL(ENABLE_VALA, test x${VALAC} != x"") +AM_CONDITIONAL(ENABLE_VALA, test x$enable_vala = xyes"") # ----------------------------------------------------------- AC_CONFIG_FILES([Makefile + 20 Mar 2011; Justin Lecher <jlec@gentoo.org> -memphis-0.2.2.ebuild, + memphis-0.2.3.ebuild, +files/memphis-0.2.3-demos.patch: + Removed old, fix for conditional building vala bindings, 359549 +