[Wayland-bugs] [Bug 57129] New: [regression] Compilation fails for weston unit tests

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Nov 14 11:38:26 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=57129

          Priority: medium
            Bug ID: 57129
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: [regression] Compilation fails for weston unit tests
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: ullysses.a.eoff at intel.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

First bad commit:
http://cgit.freedesktop.org/wayland/weston/commit/?id=320711db0a2e7ce11664198cefc6c3182f8ca273

The weston unit tests fail to compile using 'make check' with the following
error:

surface-global-test.c: In function 'surface_to_from_global':
surface-global-test.c:30:2: error: unknown type name 'GLfloat'
surface-global-test.c:38:2: warning: passing argument 4 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:38:2: warning: passing argument 5 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:41:2: warning: passing argument 4 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:41:2: warning: passing argument 5 of
'weston_surface_to_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:486:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:48:2: warning: passing argument 4 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:48:2: warning: passing argument 5 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:51:2: warning: passing argument 4 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
surface-global-test.c:51:2: warning: passing argument 5 of
'weston_surface_from_global_float' from incompatible pointer type [enabled by
default]
In file included from test-runner.h:1:0,
from surface-global-test.c:24:
../src/compositor.h:490:1: note: expected 'float *' but argument is of type
'int *'
Exception: Error status 1 from /usr/lib64/ccache/gcc
make[2]: *** [surface-global-test.lo] Error 1
make[2]: Leaving directory `/home/uartie/Work/intel/wayland/build/weston/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/uartie/Work/intel/wayland/build/weston/tests'
make: *** [check-recursive] Error 1
warn: "make -e check" failed - exitcode 2

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20121114/efd9cbbb/attachment.html>


More information about the Wayland-bugs mailing list