Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332841 - media-libs/gegl-0.0.22 failed: gtk/gtk.h not found
Summary: media-libs/gegl-0.0.22 failed: gtk/gtk.h not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-15 12:26 UTC by LXj
Modified: 2010-08-16 06:15 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 LXj 2010-08-15 12:26:12 UTC
When attempting to emerge gegl, compilation is failing with these messages:


gegl-paint.c:22:21: error: gtk/gtk.h: No such file or directory
In file included from gegl-paint.c:23:
../bin/gegl-view.h:36: error: expected specifier-qualifier-list before 'GtkDrawingArea'
../bin/gegl-view.h:42: error: expected specifier-qualifier-list before 'GtkDrawingAreaClass'
In file included from gegl-paint.c:24:
../bin/gegl-view.c: In function 'gegl_view_get_type':
../bin/gegl-view.c:75: error: 'GTK_TYPE_DRAWING_AREA' undeclared (first use in this function)
../bin/gegl-view.c:75: error: (Each undeclared identifier is reported only once
../bin/gegl-view.c:75: error: for each function it appears in.)
../bin/gegl-view.c: At top level:
../bin/gegl-view.c:90: error: expected ')' before '*' token
../bin/gegl-view.c:92: error: expected ')' before '*' token
../bin/gegl-view.c:94: error: expected ')' before '*' token
../bin/gegl-view.c:96: error: expected ')' before '*' token
../bin/gegl-view.c: In function 'gegl_view_class_init':
../bin/gegl-view.c:104: error: 'GtkWidgetClass' undeclared (first use in this function)
../bin/gegl-view.c:104: error: 'widget_class' undeclared (first use in this function)
../bin/gegl-view.c:110: error: 'motion_notify_event' undeclared (first use in this function)
../bin/gegl-view.c:111: error: 'button_press_event' undeclared (first use in this function)
../bin/gegl-view.c:112: error: 'button_release_event' undeclared (first use in this function)
../bin/gegl-view.c:113: error: 'expose_event' undeclared (first use in this function)
../bin/gegl-view.c: In function 'gegl_view_init':
../bin/gegl-view.c:177: error: 'GDK_EXPOSURE_MASK' undeclared (first use in this function)
../bin/gegl-view.c:178: error: 'GDK_BUTTON_PRESS_MASK' undeclared (first use in this function)
../bin/gegl-view.c:179: error: 'GDK_BUTTON_RELEASE_MASK' undeclared (first use in this function)
../bin/gegl-view.c:180: error: 'GDK_POINTER_MOTION_MASK' undeclared (first use in this function)
../bin/gegl-view.c: At top level:
../bin/gegl-view.c:325: error: expected ')' before '*' token
../bin/gegl-view.c:365: error: expected ')' before '*' token
../bin/gegl-view.c:373: error: expected ')' before '*' token
../bin/gegl-view.c:435: error: expected ')' before '*' token
../bin/gegl-view.c: In function 'gegl_view_repaint':
../bin/gegl-view.c:502: error: 'GtkWidget' undeclared (first use in this function)
../bin/gegl-view.c:502: error: 'widget' undeclared (first use in this function)
gegl-paint.c: At top level:
gegl-paint.c:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gegl-paint.c:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gegl-paint.c:44: error: expected ')' before '*' token
gegl-paint.c:71: error: expected ')' before '*' token
gegl-paint.c:88: error: expected ')' before '*' token
gegl-paint.c: In function 'main':
gegl-paint.c:136: error: 'window' undeclared (first use in this function)
gegl-paint.c:136: error: 'GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
gegl-paint.c:161: error: 'view' undeclared (first use in this function)
gegl-paint.c:166: error: 'GtkSignalFunc' undeclared (first use in this function)
gegl-paint.c:166: error: expected ')' before 'paint_motion'
gegl-paint.c:168: error: expected ')' before 'paint_press'
gegl-paint.c:170: error: expected ')' before 'paint_release'
gegl-paint.c:172: error: 'GDK_BUTTON_RELEASE_MASK' undeclared (first use in this function)
gegl-paint.c:178: error: 'gtk_main_quit' undeclared (first use in this function)
make[3]: *** [gegl-paint] Error 1
make[3]: *** Waiting for unfinished jobs....
gcc .libs/2geglbuffer.o -o .libs/2geglbuffer -pthread -Wl,--export-dynamic  ../gegl/.libs/libgegl-0.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libglib-2.0.so -lbabl-0.0 -lm /usr/lib64/libpng14.so 
.libs/2geglbuffer.o: In function `main':
2geglbuffer.c:(.text+0x1d): undefined reference to `gtk_init'
collect2: ld returned 1 exit status
make[3]: *** [2geglbuffer] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/examples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.0.22/work/gegl-0.0.22'
make: *** [all] Error 2
 * ERROR: media-libs/gegl-0.0.22 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  48:  Called src_compile
 *   environment, line 2377:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 * 

emerge --info:


Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.33_p1-ck x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33_p1-ck-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.1
Timestamp of tree: Wed, 11 Aug 2010 21:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
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.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j2"
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="/home/overlays/layman/sunrise /home/overlays/layman/berkano /home/overlays/layman/enlightenment /home/overlays/layman/emacs /home/overlays/layman/calculate /home/overlays/layman/kde /home/overlays/layman/qting-edge /home/overlays/layman/dberkholz /home/overlays/layman/roslin /home/overlays/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7Zip 7zip X a52 aac aalib accessibility acl acpi aiglx alsa amarok amd64 apache2 apm asf audiofile avahi avi bash-completion berkdb bittorrent branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr chm cjk clearcase cleartype cli commercial config_wizard corefonts cracklib crypt cscope css ctype curl cxx dbus dga djvu dlloader dri dts dv dvd dvdr dvdread dvi ebook effects emacs enca encode exif exscalibar extraicons extramodules fame fat fbcon ffmpeg fftw firefox flac flash foomatic-db foomaticdb freetype ftp gd gdbm ggi gif gimpprint glitz gnutls gphoto2 gpm gs gstreamer gtk2 iconv icq id3tag imagemagick imap irc ithreads jabber java jingle jpeg jpeg2k kde kdehiddenvisibility kipi kqemu lame lcd libao libcaca libnotify libwww live livecd lm_sensors logrotate lzma lzo mad mail matroska mikmod mjpeg mmx mmxext mng modules moznocompose moznoirc moznomail moznopango mp3 mp3rtp mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas ncurses network new-login nfs nls nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis ole openal opengl oscar pam pcmcia pcre pdf perl phonon plasma plugin png pppd pulseaudio pwdb python qt qt3support qt4 quicktime radio rar rdesktop readline reflection reiserfs rss rtc rtsp sasl sdl semantic-desktop session skins slang slp smp sndfile speech speex spell spl spreadsheet sql sqlite srt sse sse2 ssl startup-notification stream streams subversion svg sysfs taglib tcpd tga theora threads tiff truetype type1 udev unicode usb userlocales v4l v4l2 vcd vhosts vim-syntax visualization voice vorbis weather webinterface webkit wmf wxwindows x264 xanim xcomposite xfs xine xinerama xorg xosd xpm xsl xv xvid zeroconf zip zlib" ALSA_CARDS="ca0106 emu10k1 hda-intel intel8x0 intel8x0m pcsp via82xx" 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 LXj 2010-08-16 06:15:31 UTC
Hmm, recompiling gtk solved this for me. I guess we can close it. Sorry for inconvenience