Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2013 07:51:59 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        AN <andy@neu.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libchamplain-0.8.1_2 error: unknown type name 'G_CONST_RETURN'
Message-ID:  <5185F37F.2040200@gwdg.de>
In-Reply-To: <alpine.BSF.2.00.1305042110320.65441@mail.neu.net>
References:  <alpine.BSF.2.00.1305042110320.65441@mail.neu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05.05.2013 03:16 (UTC+2), AN wrote:
> FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #67 r250037: Sun Apr 28
> 19:43:52 CDT 2013     root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL  amd64
> 
> 
> 
> gmake[3]: Entering directory
> `/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/tidy'
>   CC     tidy-adjustment.lo
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:33:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-action.h:32:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-actor-meta.h:8:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-types.h:32:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-units.h:36:
> In file included from /usr/local/include/clutter-1.0/cogl/cogl.h:38:
> In file included from
> /usr/local/include/clutter-1.0/cogl/cogl-material.h:34:
> /usr/local/include/clutter-1.0/cogl/cogl-matrix.h:277:1: error: unknown
> type name 'G_CONST_RETURN'
> G_CONST_RETURN float *
> ^
> /usr/local/include/clutter-1.0/cogl/cogl-matrix.h:277:16: error:
> expected identifier or '('
> G_CONST_RETURN float *
>                ^
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:33:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-action.h:32:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-actor-meta.h:8:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-types.h:32:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-units.h:36:
> In file included from /usr/local/include/clutter-1.0/cogl/cogl.h:38:
> /usr/local/include/clutter-1.0/cogl/cogl-material.h:889:1: error:
> unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN GList *
> ^
> /usr/local/include/clutter-1.0/cogl/cogl-material.h:889:21: error:
> expected ';' after top level declarator
> G_CONST_RETURN GList *
>                     ^
>                     ;
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:33:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-action.h:32:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-actor-meta.h:8:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-types.h:32:
> /usr/local/include/clutter-1.0/clutter/clutter-units.h:184:1: error:
> unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN ClutterUnits *clutter_value_get_units  (const GValue
> *value);
> ^
> /usr/local/include/clutter-1.0/clutter/clutter-units.h:184:28: error:
> expected ';' after top level declarator
> G_CONST_RETURN ClutterUnits *clutter_value_get_units  (const GValue
> *value);
>                            ^
>                            ;
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:33:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-action.h:32:
> /usr/local/include/clutter-1.0/clutter/clutter-actor-meta.h:71:1: error:
> unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN gchar *clutter_actor_meta_get_name    (ClutterActorMeta
> *meta);
> ^
> /usr/local/include/clutter-1.0/clutter/clutter-actor-meta.h:71:21:
> error: expected ';' after top level declarator
> G_CONST_RETURN gchar *clutter_actor_meta_get_name    (ClutterActorMeta
> *meta);
>                     ^
>                     ;
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:34:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-actor.h:39:
> /usr/local/include/clutter-1.0/clutter/clutter-color.h:141:1: error:
> unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN ClutterColor *clutter_value_get_color (const GValue *value);
> ^
> /usr/local/include/clutter-1.0/clutter/clutter-color.h:141:28: error:
> expected ';' after top level declarator
> G_CONST_RETURN ClutterColor *clutter_value_get_color (const GValue *value);
>                            ^
>                            ;
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:34:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-actor.h:41:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-event.h:32:
> /usr/local/include/clutter-1.0/clutter/clutter-input-device.h:96:1:
> error: unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN gchar * clutter_input_device_get_device_name
> (ClutterInputDevice *device);
> ^
> /usr/local/include/clutter-1.0/clutter/clutter-input-device.h:96:21:
> error: expected ';' after top level declarator
> G_CONST_RETURN gchar * clutter_input_device_get_device_name
> (ClutterInputDevice *device);
>                     ^
>                     ;
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:34:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-actor.h:41:
> /usr/local/include/clutter-1.0/clutter/clutter-event.h:478:1: error:
> unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN ClutterEvent *clutter_get_current_event      (void);
> ^
> /usr/local/include/clutter-1.0/clutter/clutter-event.h:478:28: error:
> expected ';' after top level declarator
> G_CONST_RETURN ClutterEvent *clutter_get_current_event      (void);
>                            ^
>                            ;
> In file included from ./tidy-adjustment.c:28:
> In file included from /usr/local/include/clutter-1.0/clutter/clutter.h:34:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-actor.h:42:
> In file included from
> /usr/local/include/clutter-1.0/clutter/clutter-shader.h:32:
> /usr/local/include/clutter-1.0/clutter/clutter-shader-types.h:87:1:
> error: unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN gfloat * clutter_value_get_shader_float  (const GValue
> *value,
> ^
> /usr/local/include/clutter-1.0/clutter/clutter-shader-types.h:87:22:
> error: expected ';' after top level declarator
> G_CONST_RETURN gfloat * clutter_value_get_shader_float  (const GValue
> *value,
>                      ^
>                      ;
> /usr/local/include/clutter-1.0/clutter/clutter-shader-types.h:89:1:
> error: unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN gint   * clutter_value_get_shader_int    (const GValue
> *value,
> ^
> /usr/local/include/clutter-1.0/clutter/clutter-shader-types.h:89:20:
> error: expected ';' after top level declarator
> G_CONST_RETURN gint   * clutter_value_get_shader_int    (const GValue
> *value,
>                    ^
>                    ;
> /usr/local/include/clutter-1.0/clutter/clutter-shader-types.h:91:1:
> error: unknown type name 'G_CONST_RETURN'
> G_CONST_RETURN gfloat * clutter_value_get_shader_matrix (const GValue
> *value,
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 20 errors generated.
> gmake[3]: *** [tidy-adjustment.lo] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/tidy'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1/tidy'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/graphics/libchamplain/work/libchamplain-0.8.1'
> gmake: *** [all] Error 2
> *** [do-build] Error code 1
> 
> Stop in /usr/ports/graphics/libchamplain.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20130504-3843-14x0gk4-0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=libchamplain-0.8.1_2 UPGRADE_PORT_VER=0.8.1_2 make
> ** Fix the problem and try again.
> --->  Build of graphics/libchamplain ended at: Sat, 04 May 2013 20:09:06
> -0500 (consumed 00:00:05)
> --->  Reinstallation of graphics/libchamplain ended at: Sat, 04 May 2013
> 20:09:06 -0500 (consumed 00:00:05)
> --->  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>     ! graphics/libchamplain (libchamplain-0.8.1_2)    (unknown build error)
> --->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
> --->  Session ended at: Sat, 04 May 2013 20:09:06 -0500 (consumed 00:00:07)
> 

For me it helped to rebuild graphics/clutter before building
graphics/libchamplain.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5185F37F.2040200>