Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324045 - dev-libs/libunique-1.1.6 failed to build
Summary: dev-libs/libunique-1.1.6 failed to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-15 03:15 UTC by Yu Yuwei
Modified: 2010-06-15 17:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yu Yuwei 2010-06-15 03:15:41 UTC
libunique-1.1.6 need the gobject introspection for gtk+, which is missed

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =libunique-1.1.6
2. get the error


Actual Results:  
  GEN    Unique-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[4]: *** [Unique-1.0.gir] Error 1


Expected Results:  
successfully compiled

emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-tuxonice-r2 x86_64)
=================================================================
System uname: Linux-2.6.33-tuxonice-r2-x86_64-Intel-R-_Core-TM-_i3_CPU_M_330_@_2.13GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 15 Jun 2010 02:15:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distcc distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.arcticnetwork.ca/source/"
LANG="zh_CN.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--as-needed"
LINGUAS="zh_CN en_US"
MAKEOPTS="-j10"
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="/usr/portage/local/layman/gentoo-china /usr/portage/local/layman/sunrise /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/acevery"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="16Bit X a52 aac acl acpi aiglx alsa amd64 asf avahi bash-completion beagle berkdb branding browserplugin bzip2 bzr cairo caps cddb cdr chm cjk cleartype cli consolekit cracklib crypt cups custom-optimization cxx dbus djvu dmx dri dts dvd dvdnav dvdr dvdread emboss evo exif expat faac faad fam fbcon fbcondecor fbsplash ffmpeg fifo flac fontconfig fontforge fortran fts3 fuse gdbm gdu gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm gs gstreamer gtk gtk2 gucharmap guile hal i8x0 iconv icu id3 idle ieee1394 imap iptc ipv6 jadetex java jpeg jpeg2k kerberos kpathsea lame latex lcms ldap libffi libmms libnotify libsamplerate lunar lzo mad midi mikmod mmap mmx mng modules mono mp3 mp4 mpeg msn mudflap multilib nautilus ncurses nls nntp nptl nptlonly nsplugin ofx ogg opengl openmp openssl pam pango pcmcia pcre pdf perl pic png policykit ppds pppd pulseaudio python qq qt3support quicktime raw readline reflection samba scanner sdl session sound spell spl sqlite sqlite3 srv sse sse2 sse3 sse4 ssl startup-notification subversion svg sysfs system-sqlite taglib tcl tcltk tcpd tetex theora threads tiff tk trayicon truetype unicode usb vcd vim vim-syntax vim-with-x vorbis wav wifi winbind wma wmf wmp x264 xattr xcb xcomposite xft xine xinerama xml xorg xprint xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="synaptics evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US" QEMU_SOFTMMU_TARGETS="arm" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-06-15 12:36:26 UTC
The problem is that gobject-introspection is automagic on all packages I've looked at.  So, if you didn't have the gobject-introspection package installed when you emerged gtk, it wouldn't have installed the modules for gtk; but if you since emerged it, it will try to install it for everything.  There's no way to disable it at configure time, usually.  All I can recommend at this point, until we have time to beat patches into all of gnome upstream, is to either re-emerge *all* of gnome after you emerge gobject-introspection, or to unmerge gobject-introspection.
Comment 2 Yu Yuwei 2010-06-15 13:38:01 UTC
I looked into the gtk+-2.20.1-r1.ebuild and found that the gobject-introspection is disabled by the ebuild...

So, I have to unmerge gobject-introspection and re-emerge all gnome package?

What a pity...

(In reply to comment #1)
> The problem is that gobject-introspection is automagic on all packages I've
> looked at.  So, if you didn't have the gobject-introspection package installed
> when you emerged gtk, it wouldn't have installed the modules for gtk; but if
> you since emerged it, it will try to install it for everything.  There's no way
> to disable it at configure time, usually.  All I can recommend at this point,
> until we have time to beat patches into all of gnome upstream, is to either
> re-emerge *all* of gnome after you emerge gobject-introspection, or to unmerge
> gobject-introspection.
> 

Comment 3 Pacho Ramos gentoo-dev 2010-06-15 16:31:00 UTC
I have just committed the following to try to prevent introspection usage (like we have done for the rest of Gnome 2.30 stuff for now until these automagic issues are solved).

+  15 Jun 2010; Pacho Ramos <pacho@gentoo.org> libunique-1.1.6.ebuild:
+  Pass --enable-introspection=no since we are not yet ready for
+  introspection usage due issues like bug 324045

Please re-sync and retry with that change. Good luck!
Comment 4 Yu Yuwei 2010-06-15 17:11:26 UTC
Thanks Ramos, 

It works :)

(In reply to comment #3)
> I have just committed the following to try to prevent introspection usage (like
> we have done for the rest of Gnome 2.30 stuff for now until these automagic
> issues are solved).
> 
> +  15 Jun 2010; Pacho Ramos <pacho@gentoo.org> libunique-1.1.6.ebuild:
> +  Pass --enable-introspection=no since we are not yet ready for
> +  introspection usage due issues like bug 324045
> 
> Please re-sync and retry with that change. Good luck!
>