Bug 428712

Summary: Missing versioned interpreter
Product: [Fedora] Fedora Reporter: Wart <wart>
Component: tclAssignee: Marcela Mašláňová <mmaslano>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tcl-8.5.0-6.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-15 13:55:36 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 Wart 2008-01-14 19:24:21 UTC
Description of problem:
The package installs a  /usr/bin/tclsh binary, but no longer includes the binary
with the version number:  /usr/bin/tclsh8.5

This causes problems with some legacy applications that hard-code the version
number into the script itself.

tcl should install /usr/bin/tclsh8.5 as the actual binary, and make
/usr/bin/tclsh a link to /usr/bin/tclsh8.5, just as it did for tcl 8.4

The same is true for tk.  tk should install the binary as wish8.5, and make
/usr/bin/wish a link to wish8.5.

Comment 1 Marcela Mašláňová 2008-01-15 08:07:25 UTC
Hm, in packaging draft:
Bad:

#!/usr/bin/tclsh8.5

Good:

#!/usr/bin/tclsh
package require Tcl 8.5



Comment 2 Wart 2008-01-15 13:01:47 UTC
For Tcl extensions/applications, yes.  But Tcl itself should still provide both
the versioned and unversioned binary name for backwards compatibility with third
party applications that are not packaged as part of Fedora.