Bug 537665

Summary: fedora does not ship old versions of tcl/tk
Product: [Fedora] Fedora Reporter: Chitlesh GOORAH <chitlesh>
Component: iwidgetsAssignee: Wart <wart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 12CC: bamablee, wart
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 4.0.2-4.fc12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-22 04:45:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Chitlesh GOORAH 2009-11-15 15:36:15 UTC
chitlesh(itcl)[0]$tclsh itk.tcl 
can't find package Tk 8.0
    while executing
"package require Tk 8.0"
    (file "/usr/share/tcl8.5/iwidgets4.0.2/iwidgets.tcl" line 17)
    invoked from within
"source /usr/share/tcl8.5/iwidgets4.0.2/iwidgets.tcl"
    ("package ifneeded Iwidgets 4.0.2" script)
    invoked from within
"package require Iwidgets"
    (file "itk.tcl" line 2)


chitlesh(itcl)[0]$more /usr/share/tcl8.5/iwidgets4.0.2/iwidgets.tcl
#
# iwidgets.tcl
# ----------------------------------------------------------------------
# Invoked automatically by [incr Tk] upon startup to initialize
# the [incr Widgets] package.
# ----------------------------------------------------------------------
#  AUTHOR: Mark L. Ulferts               EMAIL: mulferts.com
#
#  @(#) $Id: iwidgets.tcl.in,v 1.3 2001/08/07 19:56:47 smithc Exp $
# ----------------------------------------------------------------------
#                Copyright (c) 1995  Mark L. Ulferts
# ======================================================================
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.

package require Tcl 8.0
package require Tk 8.0
package require Itcl 3.2
package require Itk 3.2

namespace eval ::iwidgets {
    namespace export *



On Fedora 12, we have tcl-8.5.7-4.fc12.i686 and tk-8.5.7-2.fc12.i686

Comment 1 Chitlesh GOORAH 2009-11-24 07:05:11 UTC
Wart ? Are you still there ?

Comment 2 Wart 2009-11-24 23:58:34 UTC
I haven't tried this on Fedora12 yet, but it looks like the semantics for 'package require' may have changed slightly between tcl 8.5.6 and 8.5.7.  In F11, the following works:

$ tclsh
% package require Tk 8.0
8.5.6

Can you run the same command in F12 and let me know if it works or if it throws an error?

Comment 3 Chitlesh GOORAH 2009-11-25 07:51:22 UTC
chitlesh(~)[0]$ tclsh
% package require Tk 8.0
can't find package Tk 8.0
% 


I would say remove all the versions from the package require

Comment 4 Chitlesh GOORAH 2009-12-02 13:29:46 UTC
Ping ? Other packages with depends on it are failing as well. Please consider fixing this as soon as possible on F-12. Otherwise your package is pretty useless on F-12.

Comment 5 Wart 2009-12-05 19:59:34 UTC
I was hoping to get a f12 box so that I can debug this further; I suspect the core problem may be in Tcl/Tk.  But that has been delayed by a couple of weeks.  I'll remove the version requirement for Tk and push a new build shortly.  Sorry for the delay.

Comment 6 Fedora Update System 2009-12-06 01:52:36 UTC
iwidgets-4.0.2-4.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/iwidgets-4.0.2-4.fc12

Comment 7 Fedora Update System 2009-12-07 07:26:11 UTC
iwidgets-4.0.2-4.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update iwidgets'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-12776

Comment 8 Chitlesh GOORAH 2009-12-08 10:37:13 UTC
On F-12, I have a crash with

wish /usr/share/tcl8.5/iwidgets4.0.2/demos/notebook

can you reproduce it please ?

by the way shouldn't the demos be in %docdir ?

Comment 9 Bryson Lee 2009-12-16 16:35:58 UTC
(In reply to comment #8)
> On F-12, I have a crash with
> 
> wish /usr/share/tcl8.5/iwidgets4.0.2/demos/notebook
> 
> can you reproduce it please ?
> 
> by the way shouldn't the demos be in %docdir ?  

Hi Chitlesh,

Are you getting an immediate segfault when you run the demo?  I reported bug 544050 regarding segfaults when attempting to use an iwidgets ScrolledFrame, but the same thing appears to happen when you try to create an iwidgets::notebook.

Comment 10 Chitlesh GOORAH 2009-12-21 09:13:55 UTC
Yes, I'm having immediate segfault.

Comment 11 Fedora Update System 2009-12-22 04:45:30 UTC
iwidgets-4.0.2-4.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.