Summary: | dev-libs/folks-0.9.3: tpf-persona-store.c:35:23: fatal error: zeitgeist.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | [OLD] Library | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | harrisl, marduk, marienz, markpariente, redneb |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugzilla.gnome.org/show_bug.cgi?id=701099 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 463242 | ||
Attachments: | /var/tmp/portage/dev-libs/folks-0.9.3/temp/build.log |
Description
Juergen Rose
2013-08-03 06:19:46 UTC
Same here, looks like it doesn't build properly with -zeitgeist. Same here. This is probably not quite the right fix, but I got it to go by adding: touch backends/telepathy/lib/tpf-persona.vala to the end of src_prepare. With that change, the build regenerates tpf-persona.c (and other files) from their vala sources: CDPATH="${ZSH_VERSION+.}:" && cd . && /usr/bin/valac-0.20 --target-glib=2.24 -D FOLKS_COMPILATION --library=folks-telepathy --vapidir=/var/tmp/portage/dev-libs/folks-0.9.3/work/folks-0.9.3/backends/telepathy/lib --vapidir=/var/tmp/portage/dev-libs/folks-0.9.3/work/folks-0.9.3/backends/telepathy/lib --vapidir=/var/tmp/portage/dev-libs/folks-0.9.3/work/folks-0.9.3/folks --vapidir=/var/tmp/portage/dev-libs/folks-0.9.3/work/folks-0.9.3/folks --pkg folks --pkg folks-generics --pkg folks-internal --pkg tp-lowlevel --pkg gobject-2.0 --pkg gio-2.0 --pkg gee-0.8 --pkg telepathy-glib --includedir folks --vapi folks-telepathy.vapi -H folks/folks-telepathy.h --gir=FolksTelepathy-0.6.gir --girdir=/var/tmp/portage/dev-libs/folks-0.9.3/work/folks-0.9.3/backends/telepathy/lib -C tpf-persona.vala tpf-persona-store.vala tpf-logger.vala tpf-persona-store-cache.vala There's no such line in the failing build log attached to this bug. I do not know what the right fix is, but looking at the shipped tpf-persona.c there's a hard include of zeitgeist-datamodel.h that just won't work. There are "#if HAVE_ZEITGEIST" conditionals in the .vala source that don't turn into ifdefs in the .c source. I do not know if vala has a way of doing this without just rebuilding the .c source (http://mterry.name/log/2011/10/10/vala-autotool-tricks/ says no but it's a bit old). See also bug 471368 which may be a duplicate. 0.9.1 applies patches, but it looks like they're all to configure.ac, so they wouldn't force the needed rebuild here. https://bugzilla.gnome.org/show_bug.cgi?id=701099 has a different fix for this, but I do not know how feasible backporting it would be. Just forcing regenerating the c source might be sufficient for versions of folks without those patches. I don't see this on folks-0.9.1 or folks-0.9.2, so I think it's not quite the same problem as bug 471368, but related. I think that (for some reason I don't understand) the vala compilation step occurs on 0.9.1 and 0.9.2 as long as you have USE=vala, which stopped happening on 0.9.3. The touch command I added will fix 0.9.3 as long as you have USE=vala. Making it work with USE=-vala is harder and IMO best left to bug 471368. + 09 Aug 2013; Pacho Ramos <pacho@gentoo.org> + -files/folks-0.9.1-automagic-fix1.patch, + -files/folks-0.9.1-automagic-fix2.patch, + -files/folks-0.9.1-automagic-fix3.patch, -folks-0.9.1.ebuild, + -folks-0.9.2.ebuild, folks-0.9.3.ebuild: + Fix vala/zeitgeist compilation problems (#471368 by Peter Alfredsen, #479600 + by Juergen Rose and Marien Zwart, #479758 by Fabio Coatti), drop old. + |