pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45912: graphics/clutter does not compile



>Number:         45912
>Category:       pkg
>Synopsis:       graphics/clutter does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 02 13:40:00 +0000 2012
>Originator:     Jörn Clausen
>Release:        5.1
>Organization:
University of Bielefeld
>Environment:
NetBSD 5.1 (GENERIC)
>Description:
graphics/clutter fails to compile:

gmake[7]: Entering directory 
`/usr/pkgsrc/graphics/clutter/work/clutter-1.2.14/clutter/cogl/cogl'
  CC     cogl-glx.lo
In file included from ../../../clutter/cogl/cogl/cogl-material.h:34,
                 from ./cogl.h:38,
                 from ./winsys/cogl-glx.c:28:
../../../clutter/cogl/cogl/cogl-matrix.h:276: error: expected '=', ',', ';', 
'asm' or '__attribute__' before 'float'
In file included from ./cogl.h:38,
                 from ./winsys/cogl-glx.c:28:
../../../clutter/cogl/cogl/cogl-material.h:738: error: expected '=', ',', ';', 
'asm' or '__attribute__' before 'GList'
gmake[7]: *** [cogl-glx.lo] Error 1
gmake[7]: Leaving directory 
`/usr/pkgsrc/graphics/clutter/work/clutter-1.2.14/clutter/cogl/cogl'
gmake[6]: *** [all-recursive] Error 1

>How-To-Repeat:

>Fix:
Adding

CFLAGS+=-DG_CONST_RETURN=const

to Makefile seems to fix the problem.

Updating the package is probably the better solution. pkgsrc contains version 
1.2.14, stable upstream release is 1.8.



Home | Main Index | Thread Index | Old Index