Bug 428712 - Missing versioned interpreter
Missing versioned interpreter
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: tcl (Show other bugs)
rawhide
All Linux
low Severity low
: ---
: ---
Assigned To: Marcela Mašláňová
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-14 14:24 EST by Wart
Modified: 2008-01-15 08:55 EST (History)
0 users

See Also:
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 08:55:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Wart 2008-01-14 14:24:21 EST
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 03:07:25 EST
Hm, in packaging draft:
Bad:

#!/usr/bin/tclsh8.5

Good:

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

Comment 2 Wart 2008-01-15 08:01:47 EST
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.

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