Bug 1108100

Summary: Outdated version of Itcl required
Product: [Fedora] Fedora Reporter: Patrick Monnerat <patrick>
Component: iwidgetsAssignee: Dmitrij S. Kryzhevich <kryzhev>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kryzhev, orion
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: iwidgets-4.0.2-15.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-10 06:01:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Fix itcl/itk required versions
none
New patch to work with itcl/itk version 4. none

Description Patrick Monnerat 2014-06-11 12:54:38 UTC
Created attachment 907622 [details]
Fix itcl/itk required versions

Description of problem:
Iwidgets refuse to load with error message:
Error: version conflict for package "Itcl": have 4.0.0, need 3.2

Version-Release number of selected component (if applicable):
iwidgets-4.0.2-13.fc21.noarch

How reproducible:
Always

Steps to Reproduce:
1. Apply patches from BZ #1105506 and #1105661 to itcl
2. Start wish
3. Type "package require Iwidgets"

Actual results:
Error: version conflict for package "Itcl": have 4.0.0, need 3.2

Expected results:
4.0.2

Additional info:
The attached patch changes the required versions of itcl/itk to fix loading: it does NOT guarantee iwidgets will properly work with these versions.

Comment 1 Patrick Monnerat 2014-06-11 12:56:20 UTC
Errata:
Step 1: Apply patches from BZ #1105506 and #1105661 to itk-4.0.0-2

Comment 2 Orion Poplawski 2014-06-11 15:25:07 UTC
Hmm, looks like we need to update to 4.1 from http://chiselapp.com/user/rene/repository/iwidgets/home.  Still not sure I grok all of the changes going on here.

Comment 3 Patrick Monnerat 2014-06-11 15:36:16 UTC
Well... this seems to be complete new alternatives to the current itk/iwidgets code. Why not, if it works.

Currently, I'm running a rawhide installation with itk and iwidgets patched as reported: this allows me to try to run insight with them, but I've a big problem: see https://sourceware.org/ml/insight/2014-q2/msg00006.html... I'm not sure it comes from insight itself.

Thanks for your support.

Comment 4 Patrick Monnerat 2014-07-07 13:01:36 UTC
I tried the chiselapp rene iwidgets implementation in a standalone project and it works well (at least with itk4 from core.tcl.tk). However, you'll probably have to change the spec since there is no configure/makefile and tclIndex disappeared.
Beware: it provides iwidgets, not Iwidgets !

Comment 5 Patrick Monnerat 2014-07-07 13:07:12 UTC
Created attachment 916077 [details]
New patch to work with itcl/itk version 4.

itcl and itk package names are all lowercase in version 4. Adjust the obsoleted patch accordingly.

Comment 6 Fedora Update System 2014-08-29 06:51:53 UTC
iwidgets-4.0.2-14.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/iwidgets-4.0.2-14.fc21

Comment 7 Dmitrij S. Kryzhevich 2014-08-29 06:55:02 UTC
Still have issues with itk itself.

Comment 8 Patrick Monnerat 2014-08-29 09:51:02 UTC
I'm sure of that: new snapshots from http://core.tcl.tk for itcl/itk/iwidgets should be probably be preferred to the current packages versions to work with tcl/tk 8.6.
There is also a pure itcl implementation of itk: http://chiselapp.com/user/rene/repository/itk/index. I did not evaluate it.
Thanks for your work on itk.

Comment 9 Fedora Update System 2014-08-29 14:42:52 UTC
Package iwidgets-4.0.2-14.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing iwidgets-4.0.2-14.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-9899/iwidgets-4.0.2-14.fc21
then log in and leave karma (feedback).

Comment 10 Dmitrij S. Kryzhevich 2014-08-30 02:53:08 UTC
(In reply to Patrick Monnerat from comment #8)
> I'm sure of that: new snapshots from http://core.tcl.tk for
> itcl/itk/iwidgets should be probably be preferred to the current packages

Let's go step by step. Was this issue been resolved?

Comment 11 Patrick Monnerat 2014-09-01 09:18:21 UTC
> Let's go step by step.
Sure: this was just a comment, not a request :-)

> Was this issue been resolved?
I'm sorry to say no: Itk package is now named "itk" with a lowercase 'i'. The requirements from iwidgets still have package names with initial uppercase spelling.

A quick test for that stuff is:

$ wish
% package require Iwidgets

Current output is:
can't find package Itk 4.0
%

Expected output is:
%

Comment 12 Dmitrij S. Kryzhevich 2014-09-01 10:34:25 UTC
Did you try a manual change from "Itk" to "itk" in "iwidgets.tcl"? In my test with half-renewed configuration first one did not work.

Comment 13 Dmitrij S. Kryzhevich 2014-09-01 10:45:24 UTC
Checked that. You are right. Will be in the next update.

Comment 14 Patrick Monnerat 2014-09-01 15:07:18 UTC
Checked too (replacing Itcl/Itk by itcl/itk). Can run insight in rawhide, and test in comment #11 properly replies now with 4.0.2.

Comment 15 Fedora Update System 2014-09-23 04:29:52 UTC
iwidgets-4.0.2-14.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Patrick Monnerat 2014-10-17 13:22:23 UTC
Sorry, but it's still not OK: packages itcl and itk names are now all lowercase and should be required as such in the "package require" statements.

Comment 17 Dmitrij S. Kryzhevich 2014-10-18 02:32:40 UTC
Oh. I'm realy sorry. Somehow I fogot this.
Thanks for reopen.

I will be in buisness trip for two week. In the beginig of November I'l fix this.

Comment 18 Dmitrij S. Kryzhevich 2014-10-18 03:19:20 UTC
From the other hand...

Comment 19 Fedora Update System 2014-10-18 03:20:00 UTC
iwidgets-4.0.2-15.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/iwidgets-4.0.2-15.fc21

Comment 20 Fedora Update System 2014-10-19 02:32:13 UTC
Package iwidgets-4.0.2-15.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing iwidgets-4.0.2-15.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-13198/iwidgets-4.0.2-15.fc21
then log in and leave karma (feedback).

Comment 21 Fedora Update System 2014-11-10 06:01:51 UTC
iwidgets-4.0.2-15.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.