Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1011893

Summary: FTBFS on big endians
Product: [Fedora] Fedora Reporter: Dan Horák <dan>
Component: coglAssignee: Peter Robinson <pbrobinson>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: fmuellner, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
Fixed In Version: cogl-1.16.0-2.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-06 20:43:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 467765    

Description Dan Horák 2013-09-25 10:54:40 UTC
build on big endian platforms (s390, ppc) fails with:

...
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -I./winsys -I./driver/gl -I./driver/gl/gl -I./driver/gl/gles  -DG_LOG_DOMAIN=\"Cogl\" -DCOGL_COMPILATION -DCOGL_GL_LIBNAME=\"libGL.so.1\" -DCOGL_GLES1_LIBNAME=\"\" -DCOGL_GLES2_LIBNAME=\"\" -DCOGL_LOCALEDIR=\""/usr/share/locale"\"    -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm   -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS    -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -march=z9-109 -mtune=z10 -fPIC -c -o cogl-texture-2d.lo `test -f './cogl-texture-2d.c' || echo './'`./cogl-texture-2d.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./winsys -I./driver/gl -I./driver/gl/gl -I./driver/gl/gles -DG_LOG_DOMAIN=\"Cogl\" -DCOGL_COMPILATION -DCOGL_GL_LIBNAME=\"libGL.so.1\" -DCOGL_GLES1_LIBNAME=\"\" -DCOGL_GLES2_LIBNAME=\"\" -DCOGL_LOCALEDIR=\"/usr/share/locale\" -pthread -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libdrm -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -march=z9-109 -mtune=z10 -fPIC -c ./cogl-texture-2d.c  -fPIC -DPIC -o .libs/cogl-texture-2d.o
In file included from ./winsys/cogl-winsys-egl-private.h:101:0,
                 from ./cogl-texture-2d.c:44:
./winsys/cogl-winsys-egl-feature-functions.h:89:66: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations]
 COGL_WINSYS_FEATURE_FUNCTION (EGLBoolean, eglQueryWaylandBuffer,
                                                                  ^
In file included from ./cogl-texture-2d.c:44:0:
./winsys/cogl-winsys-egl-private.h:165:40: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations]
                                 struct wl_buffer *buffer,
                                        ^
./cogl-texture-2d.c: In function 'cogl_wayland_texture_2d_new_from_buffer':
./cogl-texture-2d.c:318:16: error: 'WL_SHM_FORMAT_XRGB32' undeclared (first use in this function)
           case WL_SHM_FORMAT_XRGB32:
                ^
./cogl-texture-2d.c:318:16: note: each undeclared identifier is reported only once for each function it appears in
./cogl-texture-2d.c:346:14: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations]
       struct wl_buffer *buffer = (struct wl_buffer *) buffer_resource;
              ^
./cogl-texture-2d.c:346:42: warning: 'wl_buffer' is deprecated (declared at /usr/include/wayland-server.h:193) [-Wdeprecated-declarations]
       struct wl_buffer *buffer = (struct wl_buffer *) buffer_resource;
                                          ^
make[4]: *** [cogl-texture-2d.lo] Error 1


Version-Release number of selected component (if applicable):
cogl-1.15.10-2.fc20 and newer