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

Bug 22206

Summary: itcl IncrTcl build problems with Tcl 8.4 and Portage 2.0.47-r10
Product: Gentoo Linux Reporter: Sean Woods <yoda>
Component: New packagesAssignee: Stanislav Brabec <utx>
Status: RESOLVED FIXED    
Severity: major CC: yoda
Priority: High    
Version: 1.4_rc4   
Hardware: x86   
OS: Linux   
URL: http://groups.yahoo.com/group/itcl/message/3262
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New Ebuild for itcl-3.2.1

Description Sean Woods 2003-06-04 09:33:25 UTC
IncrTcl does not build properly following the upgrade to Tcl 8.4. The package
SEEMS to build properly, but a compile error keeps the core library from actually
being produced.

The error on build is:
generic/itcl_class.c: In function `Itcl_ClassCmdResolver':
generic/itcl_class.c:963: structure has no member named `deleted'
generic/itcl_class.c: In function `Itcl_GetCommonVar':
generic/itcl_class.c:1642: warning: assignment discards qualifiers from pointer
target type
distcc[31222] ERROR: compile on fornax failed with exit code 1
make[1]: *** [itcl_class.o] Error 1

Strange that the ebuild continued after that failure?

After a bit of googleing I found an old patch put together by Mo Dejong that
corrects the situation at: 
http://groups.yahoo.com/group/itcl/message/3262

I'm re-synthesizing said patch for gentoo.
Comment 1 Sean Woods 2003-06-04 09:40:26 UTC
A newer release for IncrTcl with a series of fixes is available on sourceforge:
http://unc.dl.sourceforge.net/sourceforge/incrtcl/itcl3.2.1_src.tgz

This includes a patch that corrects this particular bug. I'll try my hand and
snythesizing a new ebuild.
Comment 2 Sean Woods 2003-06-11 15:14:11 UTC
Created attachment 13128 [details]
New Ebuild for itcl-3.2.1

Created an E-Build based on IncrTcl 3.2.1, which patches the problems with the
current ebuild and Tcl8.4

I've tested the ebuild on my own system
Comment 3 Sean Woods 2003-09-16 13:10:55 UTC
Modified Summary so folks will find the bug listed as itcl or IncrTcl
Comment 4 Sean Woods 2003-12-03 06:14:02 UTC
A new version of the itcl ebuild has made its way into portage. I'm closing this bug because the issue is resolved. ROBBAT2 added an ebuild for itcl-3.2.1 on Oct 29, 2003

Thx guys ;)