gtk-vnc fail to compile with the following error. Reproducible: Always Steps to Reproduce: 1. emerge gtk-vnc 2. 3. Actual Results: CC gtkvnc_la-vncmodule.defs.lo CCLD gtkvnc.la GEN GVnc-1.0.gir GEN GtkVnc-1.0.gir Couldn't find include 'Gtk-2.0.gir' (search path: ['..', '.', '.', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gdm/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0']) make[3]: *** [GtkVnc-1.0.gir] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-libs/gtk-vnc-0.4.1/work/gtk-vnc-0.4.1/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-libs/gtk-vnc-0.4.1/work/gtk-vnc-0.4.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/gtk-vnc-0.4.1/work/gtk-vnc-0.4.1' make: *** [all] Error 2 * ERROR: net-libs/gtk-vnc-0.4.1 failed: * died running emake, base_src_make * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2477: Called base_src_compile * environment, line 280: Called base_src_make * environment, line 318: Called die * The specific snippet of code: * emake "$@" || die "died running emake, $FUNCNAME"; * * If you need support, post the output of 'emerge --info =net-libs/gtk-vnc-0.4.1', * the complete build log and the output of 'emerge -pqv =net-libs/gtk-vnc-0.4.1'. * The complete build log is located at '/var/log/portage/net-libs:gtk-vnc-0.4.1:20100724-190944.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/gtk-vnc-0.4.1/temp/environment'. * S: '/var/tmp/portage/net-libs/gtk-vnc-0.4.1/work/gtk-vnc-0.4.1' >>> Failed to emerge net-libs/gtk-vnc-0.4.1, Log file: >>> '/var/log/portage/net-libs:gtk-vnc-0.4.1:20100724-190944.log' * * The following package has failed to build or install: * * ('ebuild', '/', 'net-libs/gtk-vnc-0.4.1', 'merge'), Log file: * '/var/log/portage/net-libs:gtk-vnc-0.4.1:20100724-190944.log' * Expected Results: compiles
Created attachment 240035 [details] build.log build log attached.
Created attachment 240061 [details] emerge.info
Add gir-repository overlay. That should correct the erro for can't find Gtk-2.0.gir.
(In reply to comment #3) > Add gir-repository overlay. That should correct the erro for can't find > Gtk-2.0.gir. > That is fine, but shouldn't the needed package included in the portage tree so that it's self-contained?
The introspection USE flag is masked in portage, so introspection is disabled by default. There's no good way of making it work right now, as it's fairly broken and requires instable packages. That's why there's an overlay working on fixing it. If you want to avoid these issues, you'll have to unmerge gobject-introspection, as most upstream packages, unfortunately, use automagic dependencies to determine whether to enable it.
What's going on here, I do not even have that USE flag turned on (see emerge.info)....but it is required for gtk-vnc-0.4.1?
Created attachment 240271 [details] build.log Simply adding $(use_enable introspect) allows the package to compile, but fails during install. See new log.
Unmerge the gobject-introspection package.
(In reply to comment #8) > Unmerge the gobject-introspection package. > Did that, same error during ebuild install.
I'm having the exact same problem with this package. I'm also having a similar related problem trying to install x11-libs/libdesktop-agnostic from the desktop-effects overlay which is required for me to be able to update compiz-fusion. With libdesktop-agnostic it fails with this: default/libdesktop-agnostic/DesktopAgnosticVFS-1.0.gir:3:1: error: Unsupported version '1.0' error parsing file default/libdesktop-agnostic/DesktopAgnosticVFS-1.0.gir: Unsupported version '1.0' default/libdesktop-agnostic/DesktopAgnostic-1.0.gir:3:1: error: Unsupported version '1.0' error parsing file default/libdesktop-agnostic/DesktopAgnostic-1.0.gir: Unsupported version '1.0'
Created attachment 241317 [details] gtk-vnc-0.4.1.ebuild
Added new ebuild with $(use_enable introspection) so that it won't use gtk-introspection when USE="-introspection". ebuild install issue is another bug: #328273.
I have an ebuild with other fixes that I'll commit asap (tonight hopefully).
+ 28 Aug 2010; Gilles Dartiguelongue <eva@gentoo.org> gtk-vnc-0.4.1.ebuild: + Disable automagic introspection and automagic gtk-3 support, closes: + #329733. +