Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451692 - dev-util/insight-6.8.1 with tcl/tk-8.6 - In function 'gdbtk_read': ./gdbtk/generic/gdbtk-hooks.c:258:42: error: 'Tcl_Interp' has no member named 'result'
Summary: dev-util/insight-6.8.1 with tcl/tk-8.6 - In function 'gdbtk_read': ./gdbtk/ge...
Status: RESOLVED DUPLICATE of bug 441036
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tcltk-8.6
  Show dependency tree
 
Reported: 2013-01-13 13:23 UTC by Andreas Proteus
Modified: 2013-02-04 07:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The build log (build.log,236.58 KB, text/plain)
2013-01-13 13:24 UTC, Andreas Proteus
Details
Correct build log (build.log,243.13 KB, text/plain)
2013-01-18 15:17 UTC, Andreas Proteus
Details
patch for tcltk8.6 (tcltk86.patch,3.31 KB, patch)
2013-01-29 10:57 UTC, Helmut Jarausch
Details | Diff
patch for newer kernel headers (ptrace_setsiginfo.patch,2.02 KB, patch)
2013-01-29 10:58 UTC, Helmut Jarausch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Proteus 2013-01-13 13:23:28 UTC
It fails with the error:
./gdbtk/generic/gdbtk.c:496:47: error: 'Tcl_Interp' has no member named 'result'

Reproducible: Always
Comment 1 Andreas Proteus 2013-01-13 13:24:53 UTC
Created attachment 335460 [details]
The build log
Comment 2 Casper Ti. Vector 2013-01-18 01:47:39 UTC
I think this bug is a duplicate of #441036.
Comment 3 Ian Abbott 2013-01-18 11:23:33 UTC
(In reply to comment #2)
> I think this bug is a duplicate of #441036.

Yes, most of the bug report including the build log is a duplicate of #441036, but comment #1 mentions the symptoms of a different bug, which is that insight-8.6.1 is incompatible with tcl-8.6.

I'll raise a fresh bug report for the tcl-8.6 incompatibility so that this bug can be closed as a duplicate of #441036.
Comment 4 Andreas Proteus 2013-01-18 15:17:17 UTC
Created attachment 336054 [details]
Correct build log

My apologies.
I inadvertently uploaded the build log from a previous compile
when I was dealing with bug #441036
Here is the correct log.

It compiles fine after appenting:
-DUSE_INTERP_RESULT  -DUSE_INTERP_ERRORLINE
to the CFLAGS, as sugested in bug #451368
Comment 5 Ian Abbott 2013-01-18 18:15:24 UTC
(In reply to comment #4)
> Created attachment 336054 [details]
> Correct build log
> 
> My apologies.
> I inadvertently uploaded the build log from a previous compile
> when I was dealing with bug #441036
> Here is the correct log.
> 
> It compiles fine after appenting:
> -DUSE_INTERP_RESULT  -DUSE_INTERP_ERRORLINE
> to the CFLAGS, as sugested in bug #451368

I never thought of that.  In bug #452820 I used the "Version B" approach suggested by bug #451368, i.e. I patched the source!
Comment 6 Andreas Proteus 2013-01-18 18:48:59 UTC
(In reply to comment #5)
> I never thought of that.  In bug #452820 I used the "Version B" approach
> suggested by bug #451368, i.e. I patched the source!


Your patch, of course, is  the better solution.
Thanks.

p.s. Any ideas about this problem? bug #452852
Comment 7 Helmut Jarausch 2013-01-29 10:57:07 UTC
Created attachment 337208 [details, diff]
patch for tcltk8.6
Comment 8 Helmut Jarausch 2013-01-29 10:58:16 UTC
Created attachment 337210 [details, diff]
patch for newer kernel headers

for newer kernel headers  siginfo has to be replaced by siginfo_t.
A similar patch is applied for gdb itself.
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-02-04 07:14:27 UTC

*** This bug has been marked as a duplicate of bug 441036 ***