While building world for a qemux86 on an x86-64 host, I encountered the following compiler failure: | i586-poky-linux-libtool: compile: i586-poky-linux-gcc -m32 -march=i586 --sysroot=/intel/poky/builds/world/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -I.. -I.. -I../clutter-gst/shaders -I../clutter-gst/shaders -DCLUTTER_GST_COMPILATION -DG_DISABLE_SINGLE_INCLUDES -DCOGL_ENABLE_EXPERIMENTAL_API -DCOGL_ENABLE_EXPERIMENTAL_2_0_API -DCLUTTER_ENABLE_EXPERIMENTAL_API -DG_LOG_DOMAIN=\"Clutter-Gst\" -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wno-strict-aliasing -Wempty-body -Wformat-security -Winit-self -Wsign-compare -DCLUTTER_GST_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS -pthread -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/cogl -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/cairo -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/atk-1.0 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/pango-1.0 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/json-glib-1.0 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/libdrm -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/gdk-pixbuf-2.0 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/libpng12 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/pixman-1 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/freetype2 -pthread -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/gstreamer-0.10 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/glib-2.0 -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/lib/glib-2.0/include -I/intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/libxml2 -O2 -pipe -g -feliminate-unused-debug-types -c ./clutter-gst-video-texture.c -fPIC -DPIC -o .libs/clutter-gst-video-texture.o | In file included from /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter.h:43:0, | from ./clutter-gst-player.h:34, | from ./clutter-gst-player.c:57: | /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter-backend.h:87:1: error: unknown type name 'CoglContext'In file included from /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter.h:43:0, | from ./clutter-gst-util.c:98: | /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter-backend.h:87:1: error: unknown type name 'CoglContext' | | In file included from /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter.h:43:0, | from ./clutter-gst-player.h:34, | from ./clutter-gst-video-texture.c:52: | /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter-backend.h:87:1: error: unknown type name 'CoglContext' | In file included from /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter.h:43:0, | from ./clutter-gst-video-sink.h:38, | from ./clutter-gst-video-sink.c:45: | /intel/poky/builds/world/tmp/sysroots/qemux86/usr/include/clutter-1.0/clutter/clutter-backend.h:87:1: error: unknown type name 'CoglContext' | make[4]: *** [clutter-gst-util.lo] Error 1 | make[4]: *** Waiting for unfinished jobs.... | make[4]: *** [clutter-gst-video-texture.lo] Error 1 | make[4]: *** [clutter-gst-player.lo] Error 1 | ./clutter-gst-video-sink.c: In function 'get_n_fragment_texture_units': | ./clutter-gst-video-sink.c:388:3: error: unknown type name 'CoglContext' | ./clutter-gst-video-sink.c:389:3: error: unknown type name 'CoglDisplay' | ./clutter-gst-video-sink.c:390:3: error: unknown type name 'CoglRenderer' | ./clutter-gst-video-sink.c:395:3: warning: implicit declaration of functiERROR: Function 'do_compile' failed (see /intel/poky/builds/world/tmp/work/i586-poky-linux/clutter-gst-1.8-1.4.4-r0/temp/log.do_compile.670 for further information) | on 'cogl_context_get_display' [-Wimplicit-function-declaration] | ./clutter-gst-video-sink.c:395:11: warning: assignment makes pointer from integer without a cast [enabled by default] | ./clutter-gst-video-sink.c:396:3: warning: implicit declaration of function 'cogl_display_get_renderer' [-Wimplicit-function-declaration] | ./clutter-gst-video-sink.c:396:12: warning: assignment makes pointer from integer without a cast [enabled by default] | ./clutter-gst-video-sink.c:398:3: warning: implicit declaration of function 'cogl_renderer_get_n_fragment_texture_units' [-Wimplicit-function-declaration] | ./clutter-gst-video-sink.c: In function 'clutter_gst_video_sink_set_caps': | ./clutter-gst-video-sink.c:1109:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | make[4]: *** [clutter-gst-video-sink.lo] Error 1 | make[4]: Leaving directory `/intel/poky/builds/world/tmp/work/i586-poky-linux/clutter-gst-1.8-1.4.4-r0/clutter-gst-1.4.4/clutter-gst' | make[3]: *** [all-recursive] Error 1 | make[3]: Leaving directory `/intel/poky/builds/world/tmp/work/i586-poky-linux/clutter-gst-1.8-1.4.4-r0/clutter-gst-1.4.4/clutter-gst' | make[2]: *** [all] Error 2 | make[2]: Leaving directory `/intel/poky/builds/world/tmp/work/i586-poky-linux/clutter-gst-1.8-1.4.4-r0/clutter-gst-1.4.4/clutter-gst' | make[1]: *** [all-recursive] Error 1 | make[1]: Leaving directory `/intel/poky/builds/world/tmp/work/i586-poky-linux/clutter-gst-1.8-1.4.4-r0/clutter-gst-1.4.4' | make: *** [all] Error 2 | ERROR: oe_runmake failed NOTE: package clutter-gst-1.8-1.4.4-r0: task do_compile: Failed
I've tried to reproduce it but no progress thus far.
Josh, Saul, please sync whether this still an issue, if so, please mark whether it's anticipated to be fixed in 1.2 by mark [1.2] in Whiteboard, or, move it to 1.3. If it's no longer an issue, please close it accordingly. thx
I've been unable to reproduce this but believe it to be fixed by: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fef7a66d9b0a45971be157b1bcea821c5b307a69