On 2019-05-06, Jack wrote: > On 2019.05.06 13:26, Stefan Schmiedl wrote: [...] >> I got curious, so I tried to emerge guile-gtk, too. >> >> After the ebuild failed, the output got dumped to the terminal >> and showed lots of magenta warnings and cyan notes >> and somewhere in there three red blobs appear: >> >> In file included from /usr/include/guile/2.2/libguile.h:31, >> from >> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:4: >> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c: >> In function ‘sgtk_gtk_input_add_full’: >> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:3579:63: >> >> error: ‘scm_tc16_fport’ undeclared (first use in this function); did >> you mean ‘scm_t_fport’? >> SCM_ASSERT ((SCM_NIMP (p_source) && SCM_TYP16 (p_source) == >> scm_tc16_fport && SCM_OPPORTP (p_source)), p_source, SCM_ARG1, >> s_gtk_input_add_full); >> >> ^~~~~~~~~~~~~~ >> >> namely: "error", "scm_tc16_fport" and the accompanying wiggles right >> below. >> >> So, as Jack correctly claimed, the problem appears in gtk-glue.c. >> >> While I don't have a clue how to fix what is really wrong here, >> I just wanted to point out that the colorful output of gcc is very >> helpful, >> if you get to see it. > Dale, > > I'll offer a wild guess - what version of guile do you have installed? > The latest stable is 2.0.14-r3, but perhaps (noting this version of > guild-gtk is ~) it requires a newer version - perhaps 2.2.3 or 2.2.4? > Actually, I see from the snippet of output that it looks like you do > have guile 2.2. Oddly, I do see scm_tc16_fport defined in > .../libguile/fports.h and libguil.h includes "#include > "libguile/fports.h" although that is in guile 2.0 that I have > installed. I wonder if libguile.h in 2.2 omits that further include? > > Jack
That error looks similar to the one reported in bug 641864[0]. According to the bug report, a workaround is to downgrade to guile 2.0. [0] https://bugs.gentoo.org/show_bug.cgi?id=641864 -- Nuno Silva

