Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471628 - gnome-extra/gnome-contacts-3.8.2 fatal error: cheese-widget.h: clutter/clutter.h: No such file or directory
Summary: gnome-extra/gnome-contacts-3.8.2 fatal error: cheese-widget.h: clutter/clutte...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Blocks: gnome-3.8
  Show dependency tree
Reported: 2013-05-28 21:30 UTC by Kobboi
Modified: 2013-05-30 06:45 UTC (History)
4 users (show)

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

build.log (build.log,56.90 KB, text/x-log)
2013-05-28 21:50 UTC, Kobboi
ugly fix proposal (gnome-contacts-3.8.2.ebuild,1.44 KB, text/plain)
2013-05-29 10:34 UTC, Evgeny Bobkin

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2013-05-28 21:30:23 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -include config.h -pthread -I/usr/include/gnome-desktop-3.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/goa-1.0 -I/usr/lib64/goa-1.0/include -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gsettings-desktop-schemas  -I./listbox -I../libgd -DLOCALEDIR=\""/usr/share/locale"\" -DPKGDATADIR=\""/usr/share/gnome-contacts"\" -DPKGLIBDIR=\""/usr/lib64/gnome-contacts"\" -DGNOME_DESKTOP_USE_UNSTABLE_API     -march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe -c um-crop-area.c
In file included from ./cheese-flash.h:50:0,
                 from contacts-avatar-dialog.c:27:
/usr/include/cheese/cheese-widget.h:25:29: fatal error: clutter/clutter.h: No such file or directory
compilation terminated.
Comment 1 Pacho Ramos gentoo-dev 2013-05-28 21:48:21 UTC
Please provide full build.log, emerge --info output and "equeryy n /usr/include/cheese/cheese-widget.h" one
Comment 2 Kobboi 2013-05-28 21:50:16 UTC
# emerge --info
Portage (!/var/lib/portage/profiles/default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.17, 3.9.0-gentoo x86_64)
System uname: Linux-3.9.0-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8169340 total,    742496 free
KiB Swap:   12582908 total,  11699900 free
Timestamp of tree: Tue, 28 May 2013 21:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo systemd
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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=core2 -msse4 -mcx16 -mpopcnt -msahf -O2 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac acl acpi alsa amd64 amr berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus device-mapper dirac dlna dmraid dri dts dvb dvd dvdr dxva2 eds emboss encode evo examples exif faac fam fat firefox flac fortran fuse g3dvl garmin gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gps gsm gstreamer gtk gtk3 hfs iconv introspection ipv6 jfs jpeg jpeg2k kde latex lcms ldap libnotify libsecret lirc live lm_sensors mad mdadm mmx mng modules mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses networkmanager nls nptl ntfs nvidia ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline reiser4 reiserfs schroedinger sdl semantic-desktop sendto session smp socialweb spell sse sse2 ssl ssse3 startup-notification svg systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vala vdpau vorbis wmf wxwidgets x264 xattr xcb xfs xml xpm xv xvid xvmc zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" 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"
Comment 3 Kobboi 2013-05-28 21:50:52 UTC
Created attachment 349502 [details]
Comment 4 Kobboi 2013-05-28 21:56:03 UTC
# equery b cheese-widget.h
 * Searching for cheese-widget.h ... 
media-video/cheese-3.8.2 (/usr/include/cheese/cheese-widget.h)

# eix -e clutter
[I] media-libs/clutter
     Available versions:  (1.0) 1.12.2^t {M}(~)1.14.2^t{tbz2} {M}(~)1.14.4^t{tbz2}
       {debug doc gtk +introspection test}
     Installed versions:  1.14.4(1.0)^t{tbz2}(09:35:38 PM 05/28/2013)(gtk introspection -debug -doc -test)
     Description:         Clutter is a library for creating graphical user interfaces

# ls /usr/include/clutter-1.0/clutter/clutter.h -l
-rw-r--r-- 1 root root 3575 May 28 21:35 /usr/include/clutter-1.0/clutter/clutter.h
Comment 5 Alexander Tsoy 2013-05-28 22:07:57 UTC
'-I/usr/include/clutter-1.0' is missing?
Comment 6 Evgeny Bobkin 2013-05-29 07:46:44 UTC
I hit the same,

a workaround is to build it with a v4l use flag enabled.
Comment 7 Evgeny Bobkin 2013-05-29 08:28:06 UTC
(In reply to Alexander Tsoy from comment #5)
> '-I/usr/include/clutter-1.0' is missing?

I believe not, and I should test my idea actually.

I think that everything is fine the with the build system of gnome-contacts (it's ugly written, but it at least works) the issue is the the tarball ships the generated C source code, so that actually no vala compiled here is needed. the problem is that this c code was generated with the default configure options, which is with_cheese=auto so all code has cheese header files and declaration included((
Comment 8 Evgeny Bobkin 2013-05-29 08:30:23 UTC once you build with a -v4l use flag disabled all the deps on cheese and clutter are thrown away!
Comment 9 Evgeny Bobkin 2013-05-29 10:34:45 UTC
Created attachment 349544 [details]
ugly fix proposal
Comment 10 Evgeny Bobkin 2013-05-29 10:38:39 UTC
to fix a build without cheese support (v4l), one could touch the "${S}/src/contacts-avatar-dialog.vala" which will lead to a regeneration of the corresponding c source files.
Comment 11 Pacho Ramos gentoo-dev 2013-05-29 21:26:12 UTC
+  29 May 2013; Pacho Ramos <> -gnome-contacts-3.8.1.ebuild,
+  gnome-contacts-3.8.2.ebuild:
+  Regenerate pre-generated sources to prevent bug #471628 by Kobboi, Alexander
+  Tsoy and Evgeny Bobkin. Drop old.
Comment 12 Robin Kauffman 2013-05-29 21:39:29 UTC
It still fails with the same error for me.
Comment 13 Kobboi 2013-05-29 22:12:49 UTC
Robin, are you sure you have the updated version already? I for one haven't (could get it from CVS though, but I'll simply wait)
Comment 14 Kobboi 2013-05-29 22:15:26 UTC
Fix just hit my mirror, compiles fine for me now. Thanks, Pacho
Comment 15 Robin Kauffman 2013-05-29 22:16:57 UTC
(In reply to Kobboi from comment #13)
> Robin, are you sure you have the updated version already? I for one haven't
> (could get it from CVS though, but I'll simply wait)

I'm pretty sure.  I compared the one in my freshly-synced tree to the one in  They seem to match (both call vala_src_prepare(), both inherit vala, etc).
Comment 16 Pacho Ramos gentoo-dev 2013-05-30 06:45:17 UTC
Please re-sync again, retry and, if still valid, attach the ebuild you are using