Bug 1800639

Summary: Bad autoconf variables substitution at rpm build time
Product: [Fedora] Fedora Reporter: Patrick Monnerat <patrick>
Component: iwidgetsAssignee: Dmitrij S. Kryzhevich <kryzhev>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kryzhev, orion, wart
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-02-10 01:54:10 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
Patch to iwidgets.spec 4.1.1-1 none

Description Patrick Monnerat 2020-02-07 15:32:59 UTC
Created attachment 1661715 [details]
Patch to iwidgets.spec 4.1.1-1

Description of problem:
This package is currently unusable because autoconf variables are not substituted in iwidgets.tcl and pkgIndex.tcl.


Version-Release number of selected component (if applicable):
4.1.1-1


How reproducible:
Always.

Steps to Reproduce:
1. wish
2. package require Iwidgets

Actual results:
error reading package index file /usr/share/tcl8.6/iwidgets4.1.1/pkgIndex.tcl: expected version number but got "@PACKAGE_VERSION@"


Expected results:
4.1.1


Additional info:
This makes the insight debugger unusable.
I made iwidgets working by updating its rpm spec file. Please find a patch in attachment.
Thanks in advance for your action.

Comment 1 Dmitrij S. Kryzhevich 2020-02-10 01:54:10 UTC
I think binding to minor itcl version is not a good idea.
Anyway, wfm in 4.1.1-3 [1].

[1]: https://koji.fedoraproject.org/koji/buildinfo?buildID=1458388

Comment 2 Patrick Monnerat 2020-02-10 08:38:24 UTC
> I think binding to minor itcl version is not a good idea.
I agree, but looking at the sources, this is an upstream decision :-(
In addition, they use itcl_VERSION for itk require too !!!
Maybe we should patch it ?

Build 4.1.1-3 works for me too. Thanks.