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

Bug 464650

Summary: =dev-tcltk/blt-2.4z-r12 fails with tcl-8.6
Product: Gentoo Linux Reporter: Jimmy.Jazz
Component: [OLD] DevelopmentAssignee: TCL/TK Project <tcltk>
Status: RESOLVED FIXED    
Severity: normal CC: Adrian.Bassett, anarchy, Danny, harrisl, jarausch, josef64, zeekec
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 451368    
Attachments: dev-tcltk:blt-2.4z-r12:20130404-203915.log

Description Jimmy.Jazz 2013-04-04 21:23:25 UTC
unable to compile with gcc 4.7.2 because of deprecated api
Direct access to the result field is discouraged in Tcl 8.0
CFLAGS needs '-DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT' because of 'result' is a TCL_DEPRECATED_API

--- /usr/portage/dev-tcltk/blt/blt-2.4z-r12.ebuild	2013-04-04 20:24:39.000000000 +0200
+++ blt-2.4z-r12.ebuild	2013-04-04 23:07:05.530710246 +0200
@@ -69,6 +69,8 @@
 }
 
 src_configure() {
+	append-cflags '-DUSE_INTERP_ERRORLINE -DUSE_INTERP_RESULT'
+
 	LC_ALL=C \
 	econf \
 		--x-includes="${EPREFIX}/usr/include" \


Reproducible: Always
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-04 21:48:57 UTC
Created attachment 344452 [details]
dev-tcltk:blt-2.4z-r12:20130404-203915.log

Stumbled across this as well in my world upgrade, build log attached.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-04-05 07:02:07 UTC
+  05 Apr 2013; Justin Lecher <jlec@gentoo.org> blt-2.4z-r12.ebuild,
+  +files/blt-2.4z-tcl8.6.patch:
+  Add correct fix for compatibility to tcl-8.6, 464650
+
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-04-05 17:06:32 UTC
*** Bug 464694 has been marked as a duplicate of this bug. ***
Comment 4 Rafał Mużyło 2013-09-08 00:15:40 UTC
*** Bug 484148 has been marked as a duplicate of this bug. ***