Skip to content
Tcl Source Code History Of Ticket 1391392
Login

History Of Ticket 1391392

Artifacts Associated With Ticket 1391392

  1. Ticket change [5327740c03] (rid 126433) by nobody on 2005-12-27 19:08:49:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      I attempted to build tcl 8.4.12 on my Linux system with
      a bash 3.1 shell.  The configure script failed as follows:
      
      checking system version (for dynamic loading)...
      ../configure: line 7653: syntax error near unexpected
      token `)'
      ../configure: line 7653: `      OSF*)'
      
      I tracked the problem down to the following line (2484
      in the shipped configure script):
      
        system=MP-RAS-`awk '{print }' /etc/.relid'`
      
      Note the extra ' just before the final back-quote. This
      is the cause of the problem.  Later on, the same issue
      appears again at line 7640.
      
      The two occurrences of the offending line appear to
      come from the macros SC_CONFIG_CFLAGS and
      SC_BLOCKING_STYLE, defined in the Tcl-specific autoconf
      macros in unix/tcl.m4. It looks like a typo to me.
      Removing the extra quote lets the script run correctly.
      
      Since 8.4.12 presumably would not have shipped with a
      bad configure script, I'm assuming that older versions
      of bash were less picky about quote parsing.
      
      For additional info, please contact me at
      [email protected] .
      
    4. foundin initialized to: "obsolete: 8.4.12"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "53. Configuration and Build Tools"
    10. title initialized to: "configure crashes with bash 3.1 in two macros"
    11. type initialized to: "Bug"
  2. Ticket change [6bbf13c1a8] (rid 128377) by enchanter on 2005-12-28 04:50:10:

    1. icomment:
      Logged In: YES 
      user_id=36222
      
      Patch 001 for bash 3.1 was posted just recently, and it
      includes fixes for some parsing problems introduced in 3.1.
       Have you tried that patch to see if it fixes the issue
      you're running into?
      
      
    2. login: "enchanter"
    3. mimetype: "text/plain"
    4. username: "enchanter"
  3. Ticket change [8f28dac26a] (rid 120238) by franck78 on 2006-01-02 04:58:52:

    1. icomment:
      Logged In: YES 
      user_id=1041094
      
      Hello,
      I confirm this problem (under debian)
      
      v 8.4.11
      
      Line 2133 & 7611, configure have extra quote '
      after "relid" word.
      
      bash with or without bug, it is ALSO a syntax error
      in tcl configure script
      
      system=MP-RAS -`awk '{print }' /etc/relid' `
      is false
      system=MP-RAS -`awk '{print }' /etc/relid `
      is correct
      
      Error appears twice.
      
      Thank you for correcting this because many 'builds' are
      broken because of this typo!
      
      
      Bye
      Franck
      
      
    2. login: "franck78"
    3. mimetype: "text/plain"
    4. username: "franck78"
  4. Ticket change [8818425a0b] (rid 131811) by hobbs on 2006-01-04 02:58:28:

    1. closedate changed to: "2006-01-03T19:58:28"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      
      This is already fixed in CVS, but was an error that has been
      in the sh script for a while.  bash's 3.1 parsing changes
      just uncovered it.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Duplicate"
    7. status changed to: "Closed"
    8. username: "hobbs"
  5. Ticket change [0c7c6f00eb] (rid 114188) by rmax on 2006-01-05 01:13:13:

    1. icomment:
      Logged In: YES 
      user_id=124643
      
      I just checked an unpatched Tcl 8.4.12 with a bash that has
      the patch mentioned by enchanter applied, and the error
      still happens.
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"
  6. Ticket change [1c150269a5] (rid 90544) by stumbles on 2006-01-07 12:10:40:

    1. icomment:
      Logged In: YES 
      user_id=53417
      
      I'm having the same problem with bash-3.1 but cannot find Patch 
      001. 
       
      Do you have a link? 
      
      
    2. login: "stumbles"
    3. mimetype: "text/plain"
    4. username: "stumbles"
  7. Ticket change [0cd37d0770] (rid 114244) by rmax on 2006-01-07 19:46:17:

    1. icomment:
      Logged In: YES 
      user_id=124643
      
      That bash patch fixes some other parsing problems, but as
      said in my last comment, it doesn't help with the typo in
      Tcl's configure script. So even with that patch applied to
      bash, you still need to fix tcl.m4 and re-generate the
      configure script, or fix the configure script directly, if
      you don't have autoconf at hand to re-generate it.
      
      So, just for completness. The bash-patch that is useless in
      regard to this bug in tcl.m4 can be found here:
      http://ftp.gnu.org/gnu/bash/bash-3.1-patches/bash31-001
      
      
    2. login: "rmax"
    3. mimetype: "text/plain"
    4. username: "rmax"