On both sparc and on amd64, with tk-8.4.19 an attempt on python to use the Tkinter module from import Tkinter results in a failure; I'll attach a traceback demonstrating the problem from the pysol package: 1) This is dev-lang/python-2.5.2-r7; 2) Rebuilding python for tk-8.4.19 makes no difference; 3) But after downgrading to {tcl, tk}-8.4.18, everything is fine again. I'm reporting against tk because the problem appears with the {tcl, tk} version change.
Created attachment 171746 [details] Trace file (on sparc) of the Tkinter failure with the tk-8.4.19 upgrade This little traceback from python shows the problem it has using Tkinter with tk-8.4.19. This trace is from a sparc system, but results are the same on amd64. Test program is the pysol solitaire games package, and it has been completely stable for many years (although perhaps not as a Gentoo package). pysol is pure python, using tk as its took kit.
Adding python people in case this is really theirs.
which version of tk exactly doesn't spots this problem? is really 8.4.18, or perhaps it is 8.4.18-r1? because since 8.4.18-r1 ebuild includes a patch that *should* have solved this problem. please also tell me your version of x11-proto/xproto.
On both failing systems, xproto-7.0.13. But here we go: On the failing systems, genlop tells us: Sun Oct 26 14:09:15 2008 >>> dev-lang/tk-8.4.19 Changelog tells us: 27 Oct 2008; Federico Ferri <mescalinum@gentoo.org> +files/tk-8.4-lastevent.patch, +tk-8.4.18-r1.ebuild, tk-8.4.19.ebuild: adding patch 8.4-lastevent, fixes bug #225999 And if we rebuild tk-8.4.19 to include that patch, everything is fine. So for me, it was fixed a day after I installed the version of tk which fails. For me, this is fixed; I'll leave it to you to close in case there is something else lurking in the background. I guess this argues that when a very small change fixes something, a version bump is a good idea.
Oh, there is a misprint in the ebuild for tk-8.4.19 --- you have >=x11-proto/xproto-7.0.3 but you need: >=x11-proto/xproto-7.0.13
ok, so you installed tk-8.4.19 in the meanwhile of two commits. nice timing! ;) I rev bumped the ebuild, in order to eliminate this problem, and I corrected the typo. I'll mark this bug as a duplicate of bug #225999 just for tracking purposes. thank you *** This bug has been marked as a duplicate of bug 225999 ***