Skip to content

Instantly share code, notes, and snippets.

@worldofpeace
Created September 14, 2018 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save worldofpeace/48d30d90dcea3ac5dd202c3d5c3b8228 to your computer and use it in GitHub Desktop.
Save worldofpeace/48d30d90dcea3ac5dd202c3d5c3b8228 to your computer and use it in GitHub Desktop.
CC compositor/meta-background.lo
compositor/meta-background.c: In function 'meta_background_class_init':
compositor/meta-background.c:338:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
g_type_class_add_private (klass, sizeof (MetaBackgroundPrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/gobject/gobject.h:24:0,
from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/gobject/gbinding.h:29,
from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/glib-object.h:23,
from ./meta/util.h:27,
from compositor/meta-background.c:20:
/nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
CC compositor/meta-background-actor.lo
In file included from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/glib/glist.h:32:0,
from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/glib/ghash.h:33,
from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/glib.h:50,
from ../clutter/clutter/clutter-config.h:8,
from ../clutter/clutter/clutter.h:31,
from compositor/meta-background-actor.c:77:
compositor/meta-background-actor.c: In function 'set_clip_region':
compositor/meta-background-actor.c:186:40: error: function called through a non-compatible type [-Werror]
g_clear_pointer (&priv->clip_region, (GDestroyNotify) cairo_region_destroy);
/nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/glib/gmem.h:121:8: note: in definition of macro 'g_clear_pointer'
(destroy) (_ptr); \
^~~~~~~
compositor/meta-background-actor.c: In function 'meta_background_actor_class_init':
compositor/meta-background-actor.c:652:3: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations]
g_type_class_add_private (klass, sizeof (MetaBackgroundActorPrivate));
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/gobject/gobject.h:24:0,
from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/gobject/gbinding.h:29,
from /nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/glib-object.h:23,
from ../cogl/cogl/cogl-types.h:44,
from ../cogl/cogl/cogl-error.h:36,
from ../cogl/cogl/cogl.h:58,
from ../clutter/clutter/clutter-types.h:32,
from ../clutter/clutter/clutter.h:32,
from compositor/meta-background-actor.c:77:
/nix/store/j74lx36vbiad91ac2yjcg3nmspdw2kws-glib-2.58.0-dev/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
void g_type_class_add_private (gpointer g_class,
^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:2785: compositor/meta-background-actor.lo] Error 1
make[4]: Leaving directory '/build/mutter-3.28.3/src'
make[3]: *** [Makefile:2957: all-recursive] Error 1
make[3]: Leaving directory '/build/mutter-3.28.3/src'
make[2]: *** [Makefile:1809: all] Error 2
make[2]: Leaving directory '/build/mutter-3.28.3/src'
make[1]: *** [Makefile:489: all-recursive] Error 1
make[1]: Leaving directory '/build/mutter-3.28.3'
make: *** [Makefile:419: all] Error 2
builder for '/nix/store/mf36i228b4g3xsfzzq1p87acy6zpv6k0-mutter-3.28.3.drv' failed with exit code 2
error: build of '/nix/store/mf36i228b4g3xsfzzq1p87acy6zpv6k0-mutter-3.28.3.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment