Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399533 - app-emulation/virt-viewer-0.4.2 - In file included from ../src/virt-viewer-util.c:33:0: ../src/virt-viewer-util.h:27:21: fatal error: gtk/gtk.h: No such file or directory
Summary: app-emulation/virt-viewer-0.4.2 - In file included from ../src/virt-viewer-ut...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal with 1 vote (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-20 17:53 UTC by Moritz Schlarb
Modified: 2012-09-21 17:49 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,31.78 KB, text/plain)
2012-01-20 17:53 UTC, Moritz Schlarb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Schlarb 2012-01-20 17:53:15 UTC
Created attachment 299407 [details]
build.log

MAKEOPTS="" emerge -v =app-emulation/virt-viewer-0.4.2
failed building on x86 with the following last lines:

make[2]: Entering directory `/var/tmp/portage/app-emulation/virt-viewer-0.4.2/work/virt-viewer-0.4.2/plugin'
  CC     virt_viewer_plugin_la-virt-viewer-util.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DPLUGIN=1 -DENABLE_DEBUG=1 -DXP_UNIX -I/usr/include/xulrunner-2.0 @GTKVNC_CFLAGS@ @GTK2_CFLAGS@ -I/usr/include/libxml2 @LIBGLADE2_CFLAGS@ -DGLADE_DIR="\"\"" -I../src -march=prescott -O2 -pipe -fomit-frame-pointer -c -o virt_viewer_plugin_la-virt-viewer-util.lo `test -f '../src/virt-viewer-util.c' || echo './'`../src/virt-viewer-util.c
i686-pc-linux-gnu-gcc: @GTKVNC_CFLAGS@: No such file or directory
i686-pc-linux-gnu-gcc: @GTK2_CFLAGS@: No such file or directory
i686-pc-linux-gnu-gcc: @LIBGLADE2_CFLAGS@: No such file or directory
In file included from ../src/virt-viewer-util.c:33:0:
../src/virt-viewer-util.h:27:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make[2]: *** [virt_viewer_plugin_la-virt-viewer-util.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-emulation/virt-viewer-0.4.2/work/virt-viewer-0.4.2/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/virt-viewer-0.4.2/work/virt-viewer-0.4.2'
make: *** [all] Error 2
 * ERROR: app-emulation/virt-viewer-0.4.2 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/virt-viewer-0.4.2',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virt-viewer-0.4.2'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virt-viewer-0.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virt-viewer-0.4.2/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/virt-viewer-0.4.2/work/virt-viewer-0.4.2'


emerge --info =app-emulation/virt-viewer-0.4.2
Portage 2.1.10.44 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.2.0-gentoo-r1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.0-gentoo-r1-i686-Intel-R-_Core-TM-_Duo_CPU_L2400_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Fri, 20 Jan 2012 15:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.5.4-r4, 2.7.2-r3, 3.1.4-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.1
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
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.1.2, 4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo sunrise science betagarden moschlar-dev Gentoo-portage-tree-overlay-by-gravitino-and-moschlar hasufell
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://mirror.opteamax.de/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
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/sunrise /var/lib/layman/science /var/lib/layman/betagarden /home/moschlar/src/gentoo/portage /home/moschlar/src/gentoo/moopoo /home/moschlar/src/gentoo/hasufell"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa aspell bash-completion berkdb branding bzip2 cairo cdda cli colord compiz consolekit cracklib crypt cups cxx dbus dri dts dvd emboss emerald encode evo exif fam ffmpeg firefox flac fortran fuse gconf gdbm gdu gif gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk iconv icu ios ipc iphone ipv6 jabber java jpeg lcms ldap libnotify libproxy mad mmx mmxext mng modules mp3 mp4 mpeg mudflap nautilus ncurses networkmanager nls nptl nptlonly nsplugin nss offensive ogg opengl openmp pam pango pcre pdf pidgin png policykit ppds pppd pulseaudio python qt3support readline samba sdl session socialweb spell sqlite sse ssl startup-notification svg sysfs system-sqlite tcpd theora threads tiff truetype udev unicode usb vaapi vim-syntax vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib zsh-completion" 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Agostino Sarubbo gentoo-dev 2012-01-20 19:41:17 UTC
have you tried to recompile gkt+?
Comment 2 Moritz Schlarb 2012-01-20 23:23:21 UTC
Yep, just recompiled x11-libs/gtk+-2.24.8-r1 and x11-libs/gtk+-3.0.12-r1.
Same error at the exact same file...

The line that's called there seems to me like those @bla@ macros haven't been properly replaced by what should be there.

See:

  CC     virt_viewer-virt-viewer-display-vnc.o
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -pthread -I/usr/include/gtk-vnc-1.0 -I/usr/include/gvnc-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -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/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/libxml2 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -Wall -Wmissing-prototypes -std=c99 -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Winline -Wredundant-decls -Wno-sign-compare -DLOCALE_DIR=\""/usr/share/locale"\" -march=prescott -O2 -pipe -fomit-frame-pointer -c -o virt_viewer-virt-viewer-display-vnc.o `test -f 'virt-viewer-display-vnc.c' || echo './'`virt-viewer-display-vnc.c

vs.

  CC     virt_viewer_plugin_la-virt-viewer-util.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DPLUGIN=1 -DENABLE_DEBUG=1 -DXP_UNIX -I/usr/include/xulrunner-2.0 @GTKVNC_CFLAGS@ @GTK2_CFLAGS@ -I/usr/include/libxml2 @LIBGLADE2_CFLAGS@ -DGLADE_DIR="\"\"" -I../src -march=prescott -O2 -pipe -fomit-frame-pointer -c -o virt_viewer_plugin_la-virt-viewer-util.lo `test -f '../src/virt-viewer-util.c' || echo './'`../src/virt-viewer-util.c
i686-pc-linux-gnu-gcc: @GTKVNC_CFLAGS@: No such file or directory
i686-pc-linux-gnu-gcc: @GTK2_CFLAGS@: No such file or directory
i686-pc-linux-gnu-gcc: @LIBGLADE2_CFLAGS@: No such file or directory
In file included from ../src/virt-viewer-util.c:33:0:
../src/virt-viewer-util.h:27:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2012-01-23 21:26:06 UTC
I'm guessing you have USE=gtk3 and USE=nsplugin?
Comment 4 Moritz Schlarb 2012-01-24 09:25:05 UTC
Nope, USE="-gtk3 nsplugin".
If I disable nsplugin, it works. 
If I emerge with USE="gtk3 nsplugin" I get the same errors!

Making all in plugin
make[2]: Entering directory `/var/tmp/portage/app-emulation/virt-viewer-0.4.2/work/virt-viewer-0.4.2/plugin'
  CC     virt_viewer_plugin_la-virt-viewer-util.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -DPLUGIN=1 -DENABLE_DEBUG=1 -DXP_UNIX -I/usr/include/xulrunner-2.0 @GTKVNC_CFLAGS@ @GTK2_CFLAGS@ -I/usr/include/libxml2 @LIBGLADE2_CFLAGS@ -DGLADE_DIR="\"\"" -I../src -march=prescott -O2 -pipe -fomit-frame-pointer -c -o virt_viewer_plugin_la-virt-viewer-util.lo `test -f '../src/virt-viewer-util.c' || echo './'`../src/virt-viewer-util.c
i686-pc-linux-gnu-gcc: @GTKVNC_CFLAGS@: No such file or directory
i686-pc-linux-gnu-gcc: @GTK2_CFLAGS@: No such file or directory
i686-pc-linux-gnu-gcc: @LIBGLADE2_CFLAGS@: No such file or directory
In file included from ../src/virt-viewer-util.c:33:0:
../src/virt-viewer-util.h:27:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make[2]: *** [virt_viewer_plugin_la-virt-viewer-util.lo] Error 1
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2012-09-21 17:49:57 UTC
This is fixed in the 0.5.x ebuilds.