[Slackbuilds-users] Another build error: glabels

Rich Shepard rshepard at appl-ecosys.com
Wed Oct 3 18:41:10 UTC 2018


   I would really like to understand why I'm having difficulties building SBo
packages on my new desktop. It's running 14-2/x86_64, has an
8-core/16-thread CPU, 32G memory, and AlienBOB's multilibs for 14.2.

   This is the glabels error:

lgl-db.c:134:1: note: in expansion of macro 'G_DEFINE_TYPE'
  G_DEFINE_TYPE (lglDbModel, lgl_db_model, G_TYPE_OBJECT);
  ^
In file included from /usr/include/glib-2.0/glib/gthread.h:32:0,
                  from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                  from /usr/include/glib-2.0/glib.h:32,
                  from lgl-db.h:24,
                  from lgl-db.c:23:
/usr/include/glib-2.0/glib/gatomic.h:122:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      (gpointer) __atomic_load_4 ((atomic), __ATOMIC_SEQ_CST);                 \
      ^
/usr/include/glib-2.0/glib/gthread.h:251:7: note: in expansion of macro 'g_atomic_pointer_get'
      (!g_atomic_pointer_get (location) &&                             \
        ^
/usr/include/glib-2.0/gobject/gtype.h:1958:7: note: in expansion of macro 'g_once_init_enter'
    if (g_once_init_enter (&g_define_type_id__volatile))  \
        ^
/usr/include/glib-2.0/gobject/gtype.h:1729:60: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_BEGIN'
  #define G_DEFINE_TYPE_EXTENDED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n,
                                                             ^
/usr/include/glib-2.0/gobject/gtype.h:1587:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
  #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                            ^
lgl-db.c:134:1: note: in expansion of macro 'G_DEFINE_TYPE'
  G_DEFINE_TYPE (lglDbModel, lgl_db_model, G_TYPE_OBJECT);
  ^
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9:0,
                  from /usr/include/glib-2.0/glib/gtypes.h:32,
                  from /usr/include/glib-2.0/glib/galloca.h:32,
                  from /usr/include/glib-2.0/glib.h:30,
                  from lgl-db.h:24,
                  from lgl-db.c:23:
/usr/include/glib-2.0/glib/gmacros.h:182:53: error: size of array '_GStaticAssertCompileTimeAssertion_2' is negative
  #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER_
                                                      ^
/usr/include/glib-2.0/glib/gmacros.h:179:47: note: in definition of macro 'G_PASTE_ARGS'
  #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
                                                ^
/usr/include/glib-2.0/glib/gmacros.h:182:44: note: in expansion of macro 'G_PASTE'
  #define G_STATIC_ASSERT(expr) typedef char G_PASTE (_GStaticAssertCompileTimeAssertion_, __COUNTER_
                                             ^
/usr/include/glib-2.0/glib/gthread.h:256:5: note: in expansion of macro 'G_STATIC_ASSERT'
      G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer));       \
      ^
/usr/include/glib-2.0/gobject/gtype.h:1972:7: note: in expansion of macro 'g_once_init_leave'
        g_once_init_leave (&g_define_type_id__volatile, g_define_type_id); \
        ^
/usr/include/glib-2.0/gobject/gtype.h:1729:117: note: in expansion of macro '_G_DEFINE_TYPE_EXTENDED_END'
  ED(TN, t_n, T_P, _f_, _C_)     _G_DEFINE_TYPE_EXTENDED_BEGIN (TN, t_n, T_P, _f_) {_C_;} _G_DEFINE_T
                                                                                          ^
/usr/include/glib-2.0/gobject/gtype.h:1587:43: note: in expansion of macro 'G_DEFINE_TYPE_EXTENDED'
  #define G_DEFINE_TYPE(TN, t_n, T_P)       G_DEFINE_TYPE_EXTENDED (TN, t_n, T_P, 0, {})
                                            ^
lgl-db.c:134:1: note: in expansion of macro 'G_DEFINE_TYPE'
  G_DEFINE_TYPE (lglDbModel, lgl_db_model, G_TYPE_OBJECT);
  ^
Makefile:583: recipe for target 'lgl-db.lo' failed
make[2]: *** [lgl-db.lo] Error 1
make[2]: Leaving directory '/tmp/SBo/glabels-3.4.0/libglabels'
Makefile:509: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/glabels-3.4.0'
Makefile:439: recipe for target 'all' failed
make: *** [all] Error 2

   All help welcome!

Rich


More information about the SlackBuilds-users mailing list