[Slackbuilds-users] Fontforge build error

David Woodfall dave at dawoodfall.net
Wed Oct 3 20:21:33 UTC 2018


On Wednesday 3 October 2018 11:19,
Rich Shepard <rshepard at appl-ecosys.com> put forth the proposition:
>   fontforge-20170731 built on my 14-2/x86 desktop but fails to complete on
> the new 14-2/x86_64 box (with AlienBOB's multilibs installed). The cause of
> the error is not obvious to me looking at the output:
>
> collabclientui.c:462:1: note: in expansion of macro ‘G_DEFINE_TYPE’
>  G_DEFINE_TYPE (CollabSessionCallbacks, collab_sessioncallbacks, 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 ../fontforge/ffglib.h:27,
>                  from ../fontforge/collabclientpriv.h:67,
>                  from collabclientui.c:29:
> /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, {})
>                                            ^
> collabclientui.c:462:1: note: in expansion of macro ‘G_DEFINE_TYPE’
>  G_DEFINE_TYPE (CollabSessionCallbacks, collab_sessioncallbacks, G_TYPE_OBJECT)
>  ^
> Makefile:2403: recipe for target 'libfontforgeexe_la-collabclientui.lo' failed
> make[3]: *** [libfontforgeexe_la-collabclientui.lo] Error 1
> make[3]: Leaving directory '/tmp/SBo/fontforge-20170731/fontforgeexe'
> Makefile:2524: recipe for target 'all-recursive' failed
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory '/tmp/SBo/fontforge-20170731/fontforgeexe'
> Makefile:1580: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/tmp/SBo/fontforge-20170731'
> Makefile:1417: recipe for target 'all' failed
> make: *** [all] Error 2
>
>   Please suggest how I should proceed to fix this.
>
> Rich

Hi

I've just tested this on my multilib laptop and it built fine. It's
not really obvious where the problem is from the output.

Could you please make a build log and attach it to a reply here?

You can make one by:

./fontforge.SlackBuild 2>&1 | tee build.log

Thanks

--
Dave

Conscience is the inner voice that warns us somebody is looking
    -- H. L. Mencken

                                                            .--.  oo
                                                           (____)//
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20181003/6b150714/attachment.asc>


More information about the SlackBuilds-users mailing list