1 |
On 2019-05-06, Jack wrote: |
2 |
|
3 |
> On 2019.05.06 13:26, Stefan Schmiedl wrote: |
4 |
[...] |
5 |
>> I got curious, so I tried to emerge guile-gtk, too. |
6 |
>> |
7 |
>> After the ebuild failed, the output got dumped to the terminal |
8 |
>> and showed lots of magenta warnings and cyan notes |
9 |
>> and somewhere in there three red blobs appear: |
10 |
>> |
11 |
>> In file included from /usr/include/guile/2.2/libguile.h:31, |
12 |
>> from |
13 |
>> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:4: |
14 |
>> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c: |
15 |
>> In function ‘sgtk_gtk_input_add_full’: |
16 |
>> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:3579:63: |
17 |
>> error: ‘scm_tc16_fport’ undeclared (first use in this function); did |
18 |
>> you mean ‘scm_t_fport’? |
19 |
>> SCM_ASSERT ((SCM_NIMP (p_source) && SCM_TYP16 (p_source) == |
20 |
>> scm_tc16_fport && SCM_OPPORTP (p_source)), p_source, SCM_ARG1, |
21 |
>> s_gtk_input_add_full); |
22 |
>> |
23 |
>> ^~~~~~~~~~~~~~ |
24 |
>> |
25 |
>> namely: "error", "scm_tc16_fport" and the accompanying wiggles right |
26 |
>> below. |
27 |
>> |
28 |
>> So, as Jack correctly claimed, the problem appears in gtk-glue.c. |
29 |
>> |
30 |
>> While I don't have a clue how to fix what is really wrong here, |
31 |
>> I just wanted to point out that the colorful output of gcc is very |
32 |
>> helpful, |
33 |
>> if you get to see it. |
34 |
> Dale, |
35 |
> |
36 |
> I'll offer a wild guess - what version of guile do you have installed? |
37 |
> The latest stable is 2.0.14-r3, but perhaps (noting this version of |
38 |
> guild-gtk is ~) it requires a newer version - perhaps 2.2.3 or 2.2.4? |
39 |
> Actually, I see from the snippet of output that it looks like you do |
40 |
> have guile 2.2. Oddly, I do see scm_tc16_fport defined in |
41 |
> .../libguile/fports.h and libguil.h includes "#include |
42 |
> "libguile/fports.h" although that is in guile 2.0 that I have |
43 |
> installed. I wonder if libguile.h in 2.2 omits that further include? |
44 |
> |
45 |
> Jack |
46 |
|
47 |
That error looks similar to the one reported in bug 641864[0]. According |
48 |
to the bug report, a workaround is to downgrade to guile 2.0. |
49 |
|
50 |
[0] https://bugs.gentoo.org/show_bug.cgi?id=641864 |
51 |
|
52 |
-- |
53 |
Nuno Silva |