Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 329733 - =net-libs/gtk-vnc-0.4.1 - Couldn't find include 'Gtk-2.0.gir'
Summary: =net-libs/gtk-vnc-0.4.1 - Couldn't find include 'Gtk-2.0.gir'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-07-24 19:23 UTC by Mathieu Z
Modified: 2010-08-28 21:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,24.36 KB, text/plain)
2010-07-24 19:24 UTC, Mathieu Z
Details
emerge.info (emerge.info,5.68 KB, text/plain)
2010-07-24 21:57 UTC, Mathieu Z
Details
build.log (build.log,33.80 KB, text/plain)
2010-07-27 04:46 UTC, Mathieu Z
Details
gtk-vnc-0.4.1.ebuild (gtk-vnc-0.4.1.ebuild,1.09 KB, text/plain)
2010-08-03 19:48 UTC, Mathieu Z
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Z 2010-07-24 19:23:12 UTC
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
Comment 1 Mathieu Z 2010-07-24 19:24:02 UTC
Created attachment 240035 [details]
build.log

build log attached.
Comment 2 Mathieu Z 2010-07-24 21:57:02 UTC
Created attachment 240061 [details]
emerge.info
Comment 3 Rafael Umbelino 2010-07-25 19:19:23 UTC
Add gir-repository overlay. That should correct the erro for can't find Gtk-2.0.gir.
Comment 4 Mathieu Z 2010-07-25 20:07:10 UTC
(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?
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-07-26 20:59:21 UTC
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.
Comment 6 Mathieu Z 2010-07-27 03:01:42 UTC
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?
Comment 7 Mathieu Z 2010-07-27 04:46:40 UTC
Created attachment 240271 [details]
build.log

Simply adding $(use_enable introspect) allows the package to compile, but fails during install. See new log.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-07-28 16:10:57 UTC
Unmerge the gobject-introspection package.
Comment 9 Mathieu Z 2010-07-29 07:37:27 UTC
(In reply to comment #8)
> Unmerge the gobject-introspection package.
> 

Did that, same error during ebuild install.
Comment 10 Justin 2010-07-30 22:19:22 UTC
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'
Comment 11 Mathieu Z 2010-08-03 19:48:07 UTC
Created attachment 241317 [details]
gtk-vnc-0.4.1.ebuild
Comment 12 Mathieu Z 2010-08-03 19:49:19 UTC
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.
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-25 08:10:49 UTC
I have an ebuild with other fixes that I'll commit asap (tonight hopefully).
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-28 21:46:13 UTC
+  28 Aug 2010; Gilles Dartiguelongue <eva@gentoo.org> gtk-vnc-0.4.1.ebuild:
+  Disable automagic introspection and automagic gtk-3 support, closes:
+  #329733.
+