Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 464602

Summary: app-i18n/ibus-1.5.1-r2: unable to compile VAPIGEN_GIRDIRS missing
Product: Gentoo Linux Reporter: Jimmy.Jazz
Component: [OLD] GNOMEAssignee: CJK Team <cjk>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gnome
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/app-i18n/ibus-1.5.1-r2/work/ibus-1.5.1

Description Jimmy.Jazz 2013-04-04 14:49:58 UTC
/usr/share/vala/Makefile.vapigen has a variable named VAPIGEN_GIRDIRS used to locate gir files.

ibus-1.5.1 needs it w/ vala-0.20

--- /usr/portage/app-i18n/ibus/ibus-1.5.1-r2.ebuild	2013-04-04 00:14:52.000000000 +0200
+++ ibus-1.5.1-r2.ebuild	2013-04-04 16:33:20.023723091 +0200
@@ -86,6 +86,11 @@
 }
 
 src_configure() {
+	if use introspection; then
+		VAPIGEN_GIRDIRS=$(pkg-config --variable=girdir gobject-introspection-1.0)
+		export VAPIGEN_GIRDIRS
+	fi
+
 	local python_conf
 	if use python; then
 		# We cannot call $(PYTHON) if we haven't called python_pkg_setup

Reproducible: Always

Actual Results:  
INTROSPECTION_GIRDIR = /usr/share/gir-1.0 is inefficient
Comment 1 Pacho Ramos gentoo-dev 2013-04-07 11:43:57 UTC
Could you attach build.log showing the exact failure?
Comment 2 Mauro Crociara 2013-04-26 14:54:21 UTC
Created attachment 346646 [details]
/var/tmp/portage/app-i18n/ibus-1.5.1-r2/work/ibus-1.5.1
Comment 3 Pacho Ramos gentoo-dev 2013-04-26 20:03:52 UTC
Does -r1 compile ok?
Comment 4 Mauro Crociara 2013-04-28 12:15:30 UTC
Yes, the r1 work properly (installed here)

http://bpaste.net/raw/b0dDQP5Ng3rcDlPC1c6o/
Comment 5 Pacho Ramos gentoo-dev 2013-04-28 13:40:41 UTC
Then, this is "intentional" as I can read in -r2 ebuild:
# USE=vala and DEPEND=gnome-base/gconf is temporaly removed due to fix patch:
# ${P}-use-system-keyboard-layout.patch
Comment 6 Naohiro Aota gentoo-dev 2013-07-02 01:11:36 UTC
1.5.1-r2 is already dropped.