Summary: |
=media-libs/cogl-1.18.0 - In file included from ./cogl-matrix.c:76:0: ./cogl.h:35:2: error: #error "<cogl/cogl.h> shouldn't be included internally" |
Product: |
Gentoo Linux
|
Reporter: |
Greg Turner <gmturner007> |
Component: |
[OLD] GNOME | Assignee: |
Gentoo Linux Gnome Desktop Team <gnome> |
Status: |
RESOLVED
TEST-REQUEST
|
|
|
Severity: |
normal
|
CC: |
ed
|
Priority: |
Normal
|
Keywords: |
PATCH |
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux | |
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Attachments: |
cogl-1.18.0-cogl-h-trouble.patch
|
Created attachment 378406 [details, diff] cogl-1.18.0-cogl-h-trouble.patch Fails for me compiling cogl/cogl-matrix.c: /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./deprecated -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 -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O2 -pipe -g -mtune=native -march=native -c -o cogl-matrix.lo `test -f './cogl-matrix.c' || echo './'`./cogl-matrix.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./deprecated -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 -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O2 -pipe -g -mtune=native -march=native -c ./cogl-matrix.c -fPIC -DPIC -o .libs/cogl-matrix.o In file included from ./cogl-matrix.c:76:0: ./cogl.h:35:2: error: #error "<cogl/cogl.h> shouldn't be included internally" #error "<cogl/cogl.h> shouldn't be included internally" ^ Makefile:1989: recipe for target 'cogl-matrix.lo' failed make[4]: *** [cogl-matrix.lo] Error 1 make[4]: Leaving directory '/var/tmp/portage/media-libs/cogl-1.18.0/work/cogl-1.18.0/cogl' Not sure what's going on as I don't see anybody else with this problem. But the enclosed patch fixed it for me. A quick search suggests that upstream, all such references to cogl.h have been removed as superfluous, so hopefully this is safe.