On 2019.05.06 13:26, Stefan Schmiedl wrote:
"Dale" <[email protected]>, 06.05.2019, 14:38:
> Well, trying that was worth a shot anyway. Sometimes it does fix
some
> problems, although it might still be a bug. However, in this case,
I
> don't think anything really changed. It looks like the same error
> again. I copied, going backwards, from the error 1, first mention
of
> it, and then went back up about 70 lines or so. One may want to
read it
> from bottom to top. Honestly, I can't see that anything failed but
> something seems to have failed, somewhere. Here is the error while
> running with -j1:
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