Bug 1800639 - Bad autoconf variables substitution at rpm build time
Summary: Bad autoconf variables substitution at rpm build time
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: iwidgets
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dmitrij S. Kryzhevich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-07 15:32 UTC by Patrick Monnerat
Modified: 2020-02-10 08:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-10 01:54:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to iwidgets.spec 4.1.1-1 (922 bytes, patch)
2020-02-07 15:32 UTC, Patrick Monnerat
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.