Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383635 - dev-libs/gdl-3.0.2 Couldn't find include 'Gtk-3.0.gir'
Summary: dev-libs/gdl-3.0.2 Couldn't find include 'Gtk-3.0.gir'
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2011-09-19 12:26 UTC by
Modified: 2011-09-26 11:35 UTC (History)
0 users

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

build.log (build.log,23.71 KB, text/plain)
2011-09-20 09:22 UTC,
patch to add $(use_enable introspection) to G2CONF (gdl-3.0.2.ebuild.patch,455 bytes, patch)
2011-09-26 00:02 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff
patch to add $(use_enable introspection) to G2CONF (gdl-3.0.2.ebuild.patch,408 bytes, patch)
2011-09-26 04:12 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description 2011-09-19 12:26:06 UTC
After updating to libpng-1.5.4, recompiling dev-libs/gdl-3.0.2 fails:

/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdl\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGDL_UIDIR=\""/usr/share/gdl-3/ui"\" -I/usr/include -I..   -DGSEAL_ENABLE -pthread -DQT_SHARED -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -I/usr/include/libxml2       -march=native -O2 -pipe -c -o gdl-switcher.lo gdl-switcher.c
  CC     libgdltypebuiltins.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdl\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGDL_UIDIR=\""/usr/share/gdl-3/ui"\" -I/usr/include -I..   -DGSEAL_ENABLE -pthread -DQT_SHARED -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -I/usr/include/libxml2       -march=native -O2 -pipe -c -o libgdltypebuiltins.lo libgdltypebuiltins.c
  CC     libgdlmarshal.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdl\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGDL_UIDIR=\""/usr/share/gdl-3/ui"\" -I/usr/include -I..   -DGSEAL_ENABLE -pthread -DQT_SHARED -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -I/usr/include/libxml2       -march=native -O2 -pipe -c -o libgdlmarshal.lo libgdlmarshal.c
  CC     gdl-preview-window.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdl\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGDL_UIDIR=\""/usr/share/gdl-3/ui"\" -I/usr/include -I..   -DGSEAL_ENABLE -pthread -DQT_SHARED -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -I/usr/include/libxml2       -march=native -O2 -pipe -c -o gdl-preview-window.lo gdl-preview-window.c
  CC     test-dock.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Gdl\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGDL_UIDIR=\""/usr/share/gdl-3/ui"\" -I/usr/include -I..   -DGSEAL_ENABLE -pthread -DQT_SHARED -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore   -I/usr/include/libxml2       -march=native -O2 -pipe -c test-dock.c
  GISCAN Gdl-3.gir
  CCLD   test-dock
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[3]: *** [Gdl-3.gir] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/dev-libs/gdl-3.0.2/work/gdl-3.0.2/gdl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-libs/gdl-3.0.2/work/gdl-3.0.2/gdl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/gdl-3.0.2/work/gdl-3.0.2'
make: *** [all] Error 2
 * ERROR: dev-libs/gdl-3.0.2 failed (compile phase):
 *   emake failed
 * If you need support, post the output of 'emerge --info =dev-libs/gdl-3.0.2',
 * the complete build log and the output of 'emerge -pqv =dev-libs/gdl-3.0.2'.
 * The complete build log is located at '/var/tmp/portage/dev-libs/gdl-3.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/gdl-3.0.2/temp/environment'.
 * S: '/var/tmp/portage/dev-libs/gdl-3.0.2/work/gdl-3.0.2'

emerge --info
Portage 2.2.0_alpha59 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 19 Sep 2011 09:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo sunrise ikelos lcd-filtering benf bitcoin vmware powerman v-fox LOCAL
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
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=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
LINGUAS="en_GB it"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/ikelos /var/lib/layman/lcd-filtering /var/lib/layman/benf /var/lib/layman/bitcoin /var/lib/layman/vmware /var/lib/layman/powerman /var/lib/layman/v-fox /usr/local/portage"
USE="X a52 aac acl acpi alsa amd64 amr apm avi bash-completion berkdb bluetooth branding bzip2 cairo caps cdaudio cdda cddb cdr chm cleartype cli consolekit cracklib crypt css cuda cups cxx dbus declarative dhcp dri dts dv dvb dvd dvdr dvdread editor emboss emovix encode exif faac faad fam fame fbcondecor fbsplash ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gdu gif git glitz glx gphoto2 gpm gps gstreamer hdaps iconv id3tag ieee1394 imagemagick inotify ipod ipv6 it jack java java6 joystick jpeg kde kickoff kipi ladspa lastfm lcms ldap libnotify libsamplerate libv4l2 lm_sensors mad matroska mbrola mikmod mmx mng modules mp2 mp3 mp4 mpeg mplayer msn mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pcre pdf perl phonon plasma pmu png policykit ppds pppd python qt qt3support qt4 quicktime readline rtc samba scanner sdl semantic-desktop session skype slp smp snmp spell sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg sysfs tcpd theora threads tiff truetype twolame udev unicode usb v4l v4l2 vdpau vorbis wicd wifi wma-fixed x264 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid zeroconf 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" 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 joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2011-09-20 03:46:29 UTC
Please attach the build log.
Comment 2 2011-09-20 09:22:00 UTC
Created attachment 287125 [details]
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-25 23:58:20 UTC
Confirming that gdl-3.0.x ebuilds have broken introspection handling :/
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-26 00:02:59 UTC
Created attachment 287743 [details, diff]
patch to add $(use_enable introspection) to G2CONF

The cause of this bug is that the introspection USE flag currently has no effect on the build process since it's never passed to gdl's configure.

This patch fixes the problem by adding $(use_enable introspection) to G2CONF to ensure that the introspection USE flag is respected.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-26 04:12:13 UTC
Created attachment 287753 [details, diff]
patch to add $(use_enable introspection) to G2CONF

...and here is a non-broken version of the above patch, i.e. it doesn't override G2CONF. Also, with the recent gnome2.eclass change, manually disabling maintainer mode is no longer needed.

(Sorry for the first patch, don't know what I was thinking.)
Comment 6 Pacho Ramos gentoo-dev 2011-09-26 11:35:20 UTC
+  26 Sep 2011; Pacho Ramos <> -gdl-3.0.0.ebuild,
+  -gdl-3.0.1.ebuild, gdl-3.0.2.ebuild:
+  Handle introspection USE flag properly (bug #383635 by optiluca and fix by
+  Alexandre Rostovtsev), remove old.