<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>246774</bug_id>
          
          <creation_ts>2008-11-14 20:58 0000</creation_ts>
          <short_desc>dev-lang/tk-8.4.19 does not build a good python Tkinter module</short_desc>
          <delta_ts>2008-11-16 09:01:26 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2008.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>173467</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>fmccor@gentoo.org</reporter>
          <assigned_to>tcltk@gentoo.org</assigned_to>
          <cc>python@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2008-11-14 20:58:44 0000</bug_when>
            <thetext>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&apos;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&apos;m reporting against tk because the problem appears with the {tcl, tk} version change.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2008-11-14 21:02:44 0000</bug_when>
            <thetext>Created an attachment (id=171746)
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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2008-11-14 21:06:03 0000</bug_when>
            <thetext>Adding python people in case this is really theirs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mescalinum@gentoo.org</who>
            <bug_when>2008-11-15 22:37:20 0000</bug_when>
            <thetext>which version of tk exactly doesn&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2008-11-16 00:08:16 0000</bug_when>
            <thetext>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 &gt;&gt;&gt; dev-lang/tk-8.4.19

Changelog tells us:


 27 Oct 2008; Federico Ferri &lt;mescalinum@gentoo.org&gt;
  +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&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fmccor@gentoo.org</who>
            <bug_when>2008-11-16 00:10:07 0000</bug_when>
            <thetext>Oh, there is a misprint in the ebuild for tk-8.4.19 --- you have

&gt;=x11-proto/xproto-7.0.3

but you need:
&gt;=x11-proto/xproto-7.0.13</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mescalinum@gentoo.org</who>
            <bug_when>2008-11-16 09:01:26 0000</bug_when>
            <thetext>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&apos;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 ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>171746</attachid>
            <date>2008-11-14 21:02 0000</date>
            <desc>Trace file (on sparc) of the Tkinter failure with the tk-8.4.19 upgrade</desc>
            <filename>tk-8.4.19.trace</filename>
            <type>text/plain</type>
            <data encoding="base64">VHJhY2ViYWNrIChtb3N0IHJlY2VudCBjYWxsIGxhc3QpOgogIEZpbGUgIi4vcHlzb2wucHkiLCBs
aW5lIDEyMSwgaW4gPG1vZHVsZT4KICAgIHN5cy5leGl0KG1haW4oc3lzLmFyZ3YpKQogIEZpbGUg
Ii91c3IvZ2FtZXMvbGliL3B5c29sL21haW4ucHkiLCBsaW5lIDQyNCwgaW4gbWFpbgogICAgciA9
IHB5c29sX21haW4oYXJncykKICBGaWxlICIvdXNyL2dhbWVzL2xpYi9weXNvbC9tYWluLnB5Iiwg
bGluZSAzNjcsIGluIHB5c29sX21haW4KICAgIHIgPSBweXNvbF9pbml0KGFwcCwgYXJncykKICBG
aWxlICIvdXNyL2dhbWVzL2xpYi9weXNvbC9tYWluLnB5IiwgbGluZSAxMjEsIGluIHB5c29sX2lu
aXQKICAgIHRvcCA9IE1meFJvb3QoY2xhc3NOYW1lPVBBQ0tBR0UpCiAgRmlsZSAiL3Vzci9nYW1l
cy9saWIvcHlzb2wvdGsvdGt3cmFwLnB5IiwgbGluZSA3NSwgaW4gX19pbml0X18KICAgIGFwcGx5
KFRraW50ZXIuVGsuX19pbml0X18sIChzZWxmLCksIGt3KQogIEZpbGUgIi91c3IvbGliL3B5dGhv
bjIuNS9saWItdGsvVGtpbnRlci5weSIsIGxpbmUgMTYzNiwgaW4gX19pbml0X18KICAgIHNlbGYu
dGsgPSBfdGtpbnRlci5j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