Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: goocanvas2 #369621

Closed
bitscoper opened this issue Dec 31, 2024 · 2 comments
Closed

Build failure: goocanvas2 #369621

bitscoper opened this issue Dec 31, 2024 · 2 comments
Labels
0.kind: build failure A package fails to build

Comments

@bitscoper
Copy link

bitscoper commented Dec 31, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build gpredict

Build Log

Build Log
Running phase: buildPhase
build flags: SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash
make  all-recursive
make[1]: Entering directory '/build/goocanvas-2.0.4'
Making all in src
make[2]: Entering directory '/build/goocanvas-2.0.4/src'
(cd . && /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/bin/glib-mkenums \
        --fhead "#ifndef __GOO_CANVAS_ENUM_TYPES_H__\n#define __GOO_CANVAS_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
        --fprod "/* Enumerations from \"@filename@\" */\n" \
        --vhead "GType @enum_name@_get_type (void);\n#define GOO_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n\n\n" \
        --ftail "G_END_DECLS\n\n#endif /* __GOO_CANVAS_ENUM_TYPES_H__ */" \
        goocanvasellipse.h goocanvasgrid.h goocanvasgroup.h goocanvasimage.h goocanvasitem.h goocanvasitemmodel.h goocanvasitemsimple.h goocanvaspolyline.h goocanvaspath.h goocanvasrect.h goocanvasstyle.h goocanvastable.h goocanvastext.h goocanvasutils.h goocanvaswidget.h goocanvas.h) >> xgen-gtbh \
&& (cmp -s xgen-gtbh goocanvasenumtypes.h || cp xgen-gtbh goocanvasenumtypes.h ) \
&& rm -f xgen-gtbh \
&& echo timestamp > stamp-goocanvasenumtypes.h
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/bin/glib-genmarshal --prefix=goo_canvas_marshal ./goocanvasmarshal.list --header >> xgen-gmlh \
&& (cmp -s xgen-gmlh goocanvasmarshal.h || cp xgen-gmlh goocanvasmarshal.h) \
&& rm -f xgen-gmlh \
&& echo timestamp > stamp-goocanvasmarshal.h    
INFO: Reading ./goocanvasmarshal.list...
make  all-am
make[3]: Entering directory '/build/goocanvas-2.0.4/src'
  CC       goocanvasatk.lo
  CC       goocanvasellipse.lo
  CC       goocanvasenumtypes.lo
  CC       goocanvasgrid.lo
  CC       goocanvasgroup.lo
goocanvasgroup.c: In function 'goo_canvas_group_class_init':
goocanvasgroup.c:126:3: warning: 'g_type_class_add_private' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
  126 |   g_type_class_add_private (gobject_class, sizeof (GooCanvasGroupPrivate));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gobject.h:26,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gbinding.h:31,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib-object.h:24,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gio/gioenums.h:30,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gio/giotypes.h:30,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gio/gio.h:28,
                 from /nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                 from /nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0/gdk/gdk.h:32,
                 from /nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0/gtk/gtk.h:30,
                 from goocanvasgroup.c:38:
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
goocanvasgroup.c: In function 'goo_canvas_group_init':
goocanvasgroup.c:148:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  148 |   GooCanvasGroupPrivate* priv = GOO_CANVAS_GROUP_GET_PRIVATE (group);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
goocanvasgroup.c: In function 'goo_canvas_group_get_private':
goocanvasgroup.c:234:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  234 |     return GOO_CANVAS_GROUP_MODEL_GET_PRIVATE (simple->model);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~               
goocanvasgroup.c:236:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  236 |     return GOO_CANVAS_GROUP_GET_PRIVATE (group);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                             
goocanvasgroup.c: In function 'goo_canvas_group_model_class_init':
goocanvasgroup.c:855:3: warning: 'g_type_class_add_private' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
  855 |   g_type_class_add_private (gobject_class, sizeof (GooCanvasGroupPrivate));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
goocanvasgroup.c: In function 'goo_canvas_group_model_init':
goocanvasgroup.c:869:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  869 |   GooCanvasGroupPrivate *priv = GOO_CANVAS_GROUP_MODEL_GET_PRIVATE (gmodel);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
goocanvasgroup.c: In function 'goo_canvas_group_model_get_property':
goocanvasgroup.c:952:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  952 |   GooCanvasGroupPrivate *priv = GOO_CANVAS_GROUP_MODEL_GET_PRIVATE (model);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
goocanvasgroup.c: In function 'goo_canvas_group_model_set_property':
goocanvasgroup.c:963:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  963 |   GooCanvasGroupPrivate *priv = GOO_CANVAS_GROUP_MODEL_GET_PRIVATE (model);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
  CC       goocanvasimage.lo
goocanvasimage.c: In function 'goo_canvas_image_get_private':
goocanvasimage.c:160:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  160 |         return GOO_CANVAS_IMAGE_MODEL_GET_PRIVATE (simple->model);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  
goocanvasimage.c:162:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  162 |         return GOO_CANVAS_IMAGE_GET_PRIVATE (object);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                               
goocanvasimage.c:166:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  166 |       return GOO_CANVAS_IMAGE_MODEL_GET_PRIVATE (object);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                    
goocanvasimage.c: In function 'goo_canvas_image_init':
goocanvasimage.c:174:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  174 |   GooCanvasImagePrivate *priv = GOO_CANVAS_IMAGE_GET_PRIVATE (image);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~        
goocanvasimage.c: In function 'goo_canvas_image_class_init':
goocanvasimage.c:589:3: warning: 'g_type_class_add_private' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
  589 |   g_type_class_add_private (gobject_class, sizeof (GooCanvasImagePrivate));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gobject.h:26,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gbinding.h:31,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib-object.h:24,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gio/gioenums.h:30,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gio/giotypes.h:30,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gio/gio.h:28,
                 from /nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
                 from /nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0/gdk/gdk.h:32,
                 from /nix/store/q71pkk2b2mg8n326cs0zdlwdil2b27fl-gtk+3-3.24.43-dev/include/gtk-3.0/gtk/gtk.h:30,
                 from goocanvasimage.c:34:
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
goocanvasimage.c: In function 'goo_canvas_image_model_class_init':
goocanvasimage.c:659:3: warning: 'g_type_class_add_private' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
  659 |   g_type_class_add_private (gobject_class, sizeof (GooCanvasImagePrivate));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here
 1497 | void     g_type_class_add_private       (gpointer                    g_class,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
goocanvasimage.c: In function 'goo_canvas_image_model_init':
goocanvasimage.c:673:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
  673 |   GooCanvasImagePrivate *priv = GOO_CANVAS_IMAGE_MODEL_GET_PRIVATE (emodel);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
  CC       goocanvasitem.lo
In file included from goocanvasitem.c:19:
glib-2.82.1/include/glib-2.0/gobject/gobjectnotifyqueue.c:49:3: warning: 'GTrashStack' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
In file included from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib.h:94,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib/gi18n-lib.h:23,
                 from goocanvasitem.c:18:
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib/gtrashstack.h:41:8: note: declared here
   41 | struct _GTrashStack
      |        ^~~~~~~~~~~~
  CC       goocanvasitemmodel.lo
In file included from goocanvasitemmodel.c:24:
glib-2.82.1/include/glib-2.0/gobject/gobjectnotifyqueue.c:49:3: warning: 'GTrashStack' is deprecated [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations8;;]
In file included from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib.h:94,
                 from /nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib/gi18n-lib.h:23,
                 from goocanvasitemmodel.c:23:
/nix/store/y8fxzs8srzd6d74a85zbpssjr8wkj9q4-glib-2.82.1-dev/include/glib-2.0/glib/gtrashstack.h:41:8: note: declared here
   41 | struct _GTrashStack
      |        ^~~~~~~~~~~~
  CC       goocanvasitemsimple.lo
goocanvasitemsimple.c: In function 'goo_canvas_item_simple_set_model':
goocanvasitemsimple.c:1539:15: error: assignment to 'GooCanvasItemModelSimple *' {aka 'struct _GooCanvasItemModelSimple *'} from incompatible pointer type 'GooCanvasItemModel *' {aka 'struct _GooCanvasItemModel *'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
 1539 |   item->model = g_object_ref (model);
      |               ^
make[3]: *** [Makefile:595: goocanvasitemsimple.lo] Error 1
make[3]: Leaving directory '/build/goocanvas-2.0.4/src'
make[2]: *** [Makefile:477: all] Error 2
make[2]: Leaving directory '/build/goocanvas-2.0.4/src'
make[1]: *** [Makefile:497: all-recursive] Error 1
make[1]: Leaving directory '/build/goocanvas-2.0.4'
make: *** [Makefile:405: all] Error 2
error: builder for '/nix/store/3m8fwcjl0r7zvhmbcd8d80bqwmfas2cg-goocanvas-2.0.4.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/qv2f0fjx6iyfhdkl2wblcq84jmvlirkc-gpredict-2.2.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k4azg6xkbj9d5q6660l4w092gnmca8dg-man-paths.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cdbb9ar1m4ky49ypa2k7wyzamlr18zp8-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/h1r8smgghhnrl5h6viv47b9ng4rwhlb1-nixos-system-Bitscoper-WorkStation-25.05beta729683.88195a94f390.drv' failed to build

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.2-zen1, NixOS, 25.05 (Warbler), 25.05beta729683.88195a94f390`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.11`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Notify Maintainers

@markuskowa @CMCDragonkai


Note for Maintainers: Please tag this issue in your PR.

@bitscoper bitscoper added the 0.kind: build failure A package fails to build label Dec 31, 2024
@markuskowa markuskowa changed the title Build failure: gpredict Build failure: goocanvas2 Dec 31, 2024
@markuskowa
Copy link
Member

It is goocanvas2 that's actually broken.

@markuskowa
Copy link
Member

Closed via #369348

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants