Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512976 - dev-libs/libappindicator USE=introspection should depend on x11-libs/gtk+[introspection]
Summary: dev-libs/libappindicator USE=introspection should depend on x11-libs/gtk+[int...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ayatana Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-11 15:13 UTC by P Purkayastha
Modified: 2015-08-08 15:37 UTC (History)
0 users

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


Attachments
Build log for failed emerge (libappindicator_build.log,23.04 KB, text/plain)
2014-06-11 15:14 UTC, P Purkayastha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description P Purkayastha 2014-06-11 15:13:38 UTC
Merging dev-libs/libappindicator fails with the following in its build log.

libtool: link: ( cd ".libs" && rm -f "libappindicator3.la" && ln -s "../libappindicator3.la" "libappindicator3.la" )
/usr/bin/g-ir-scanner  --add-include-path=. --c-include=libappindicator/app-indicator.h --symbol-prefix=app --identifier-prefix=App --warn-all --namespace=AppIndicator3 --nsversion=0.1 --libtool="/bin/sh ../libtool"  --include=GObject-2.0 --include=Gtk-3.0   --library=libappindicator3.la  --cflags-begin -pthread -I/usr/include/libindicator3-0.4 -I/usr/include/libdbusmenu-gtk3-0.4 -I/usr/include/libdbusmenu-glib-0.4 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -I. -I../src --cflags-end  app-indicator.c app-indicator.h libappindicator3.la --output AppIndicator3-0.1.gir
Couldn't find include 'Gtk-3.0.gir' (search path: ['.', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0', '/usr/share/gir-1.0'])
make[2]: *** [AppIndicator3-0.1.gir] Error 1
make[2]: Leaving directory `/tmp/var_tmp/portage/dev-libs/libappindicator-12.10.0/work/libappindicator-12.10.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/var_tmp/portage/dev-libs/libappindicator-12.10.0/work/libappindicator-12.10.0'
make: *** [all] Error 2
 * ERROR: dev-libs/libappindicator-12.10.0::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always

Steps to Reproduce:
1. Compile gtk+:3 with disabled introspection USE flag
2. emerge libappindicator
Actual Results:  
emerge fails

Expected Results:  
emerge should succeed.

emerge succeeds after I rebuilt gtk+:3 and its dependencies with +introspection.
Comment 1 P Purkayastha 2014-06-11 15:14:42 UTC
Created attachment 378712 [details]
Build log for failed emerge
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-06-11 15:39:16 UTC
It already has IUSE=introspection but that doesn't seem to be used to indicate the x11-libs/gtk+[introspection] dependency.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-08-08 15:37:01 UTC
  26 Jul 2015; Michał Górny <mgorny@gentoo.org>
  +files/libappindicator-12.10.0-conditional-py-bindings.patch,
  +libappindicator-12.10.0-r201.ebuild, +libappindicator-12.10.0-r301.ebuild,
  -files/libappindicator-12.10.0-disable-python.patch,
  libappindicator-12.10.0-r200.ebuild, libappindicator-12.10.0-r300.ebuild:
  Fix the build system in order to properly enable Python support. Fix
  introspection flag. https://github.com/gentoo/gentoo-portage-rsync-
  mirror/pull/168 by anyc.