Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 451692

Summary: 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'
Product: Gentoo Linux Reporter: Andreas Proteus <proteuss>
Component: Current packagesAssignee: Development Tools Team <dev-tools>
Status: RESOLVED DUPLICATE    
Severity: normal CC: CasperVector, ian
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451368    
Attachments: The build log
Correct build log
patch for tcltk8.6
patch for newer kernel headers

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 ***