Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352470 - dev-libs/libindicate-0.4.4 due to Dbusmenu-Glib-0.2.gir not found
Summary: dev-libs/libindicate-0.4.4 due to Dbusmenu-Glib-0.2.gir not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Romain Perier (RETIRED)
URL:
Whiteboard:
Keywords:
: 352471 352472 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-23 04:53 UTC by Nick Andrade
Modified: 2011-01-29 19:18 UTC (History)
5 users (show)

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


Attachments
A fixed patch removing introspection (libindicate-0.4.4-fix-introspection.patch,3.90 KB, patch)
2011-01-29 08:44 UTC, PhobosK
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Andrade 2011-01-23 04:53:08 UTC
When I try to emerge libindicate-0.4.4, it fails with the following:
<<<<<
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"libindicate\"   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdbusmenu-0.1 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -Wall  -O2 -march=native -pipe -c -o libindicate_la-indicate-marshal.lo `test -f 'indicate-marshal.c' || echo './'`indicate-marshal.c
  CCLD   libindicate.la
Couldn't find include 'Dbusmenu-Glib-0.2.gir' (search path: ['.', '/usr/local/share/gir-1.0', '/usr/kde/3.5/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]: *** [Indicate-0.2.gir] Error 1
>>>>>

Reproducible: Always

Steps to Reproduce:
1.emerge =dev-libs/libindicate-0.4.4

Actual Results:  
Fails due to the error mentioned in the description.


Expected Results:  
The application should build.

I've seen this on two ~amd64 systems.
Comment 1 Sebastian Luther (few) 2011-01-23 08:39:42 UTC
*** Bug 352472 has been marked as a duplicate of this bug. ***
Comment 2 Sebastian Luther (few) 2011-01-23 08:39:46 UTC
*** Bug 352471 has been marked as a duplicate of this bug. ***
Comment 3 Sebastian Luther (few) 2011-01-23 08:49:10 UTC
Please provide the output of "emerge --info dev-libs/dbus-glib dev-libs/libdbusmenu dev-libs/libindicate".
Comment 4 Andreas Erhart 2011-01-25 08:53:31 UTC
Same here. 

emerge --info dev-libs/dbus-glib dev-libs/libdbusmenu dev-libs/libindicate
Portage 2.1.9.35 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_Q9300_@_2.53GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 25 Jan 2011 07:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula PUEL AdobeFlash-10.1 googleearth Nero-AAC-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -Os -mtune=nocona -march=nocona -msse3 -fomit-frame-pointer -frename-registers -fweb -funit-at-a-time -freorder-blocks -fno-ident -fmerge-all-constants -combine"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -Os -mtune=nocona -march=nocona -msse3 -fomit-frame-pointer -frename-registers -fweb -funit-at-a-time -freorder-blocks -fno-ident -fmerge-all-constants -combine"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/vmware /var/lib/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 apache2 avahi berkdb bluetooth branding bzip2 cairo cdparanoia cdr chipcard clamav cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam fbcon ffmpec ffmpeg firefox flac fortran gdbm gdu gif gnome gpm gstreamer gtk iconv iproute2 ipv6 jpeg kde kerberos laptop lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses networkmanager nls nptl nptlonly ntpl ntplonly nvidia odbc ogg openexr opengl openmp pam pango pcre pdf perl php png policykit postgres ppds pppd pulseaudio python qt qt3 qt3support qt4 quicktime readline scanner sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs syslog tcpd theora threads tiff truetype udev unicode upnp usb v4l2 vdpau vorbis webkit x264 xcb xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nv nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-libs/dbus-glib-0.92 was built with the following:
USE="(multilib) -bash-completion -debug -doc -static-libs -test"


dev-libs/libdbusmenu-0.2.8 was built with the following:
USE="gtk (multilib) -test"


dev-libs/libindicate-0.3.6 was built with the following:
USE="gtk (multilib) -doc"
Comment 5 Sebastian Luther (few) 2011-01-25 13:12:39 UTC
Reopening per comment above.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-01-25 13:34:56 UTC
the problem most likely stems from not handling introspection configure switch (auto by default) which probably needs a new enough dbusmenu ebuild to succeed.
Comment 7 PhobosK 2011-01-29 08:44:23 UTC
Created attachment 260976 [details, diff]
A fixed patch removing introspection

Yeah this is very annoying...

As we can see libdbusmenu-0.2.8 has the libdbusmenu-0.2.8-no-gobject-introspection.patch, so no Dbusmenu-Glib-0.2.gir is created... That means the error here (in this ebuild) is expected...

Anyway either libdbusmenu ebuild should be fixed to produce the required .gir OR this ebuild should have the gobject-introspection disabled too.... 
So I propose the edited libindicate-0.4.4-fix-introspection.patch that should be used and that disables the introspection... It is a quick & dirty fix anyway...

BTW according to the changelog of the ebuild @Theo Chatzimichos made the latest changes... And I wonder about a couple of things:
1. How exactly did he compiled this without errors and without any changes to other official tree's ebuilds?
2. Why did he uploaded this ebuild that has such an obvious error? (yeah i know its flagged "~")
3. Why did he deleted a working old ebuild libindicate-0.3.6?

I guess i will not get any answers though....
Comment 8 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-29 09:24:27 UTC
If you take a look at the changelog, the patches and most of the maintainance was made by Dennis Schridde (devurandom, CC'ed on that bug), I was mostly proxy-commiting, therefore I didn't put too much effort on testing it. It works with libdbusmenu 0.3.14 from kde overlay, and that's the reason why I didn't hit this bug. The old ebuild was removed because it was suffering from other bugs. 

@devurandom: you decide
Comment 9 PhobosK 2011-01-29 10:03:36 UTC
Yeah...
The problem is that libdbusmenu 0.3.14 is in an OVERLAY.... and you upload to the official tree... anyway...
Sadly there are too much problems like this one lately....
Comment 10 Dennis Schridde 2011-01-29 15:09:29 UTC
Fixed by f276022b754b03e0e4b62413f70cd841eaedda62 for dev-libs/libindicate-0.4.4-r1 / dev-libs/libdbusmenu-0.3.16.

Keywords += InOverlay
Comment 11 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-29 16:10:53 UTC
moved to tree, reopen if the problem persists. thanks
Comment 12 PhobosK 2011-01-29 19:18:29 UTC
Yeah... Come on guys be serious...

"* Missing digest for '/usr/portage/dev-libs/libdbusmenu/libdbusmenu-0.3.16.ebuild'" :S