bugfindutils - Bugs: bug #13252, Test failure: tcl error: bad...

 
 

bug #13252: Test failure: tcl error: bad option "normalize"

Submitted by:  Ed Avis <epaepa>
Submitted on:  Wed 01 Jun 2005 09:39:24 AM UTC  
 
Category:  locate Severity:  2 - Minor
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Ed Avis Open/Closed:  Closed
Release:  4.2.20 Fixed Release:  4.2.30

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Tue 27 Feb 2007 09:48:12 AM UTC, comment #7: 

The fix exists in the 4.3.x codebase.

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 10 Jan 2007 03:03:35 PM UTC, comment #6: 

Thanks for fixing this.  I no longer have access to a machine with Tcl 8.3 so I cannot confirm that the fix works for me.

Ed Avis <epaepa>
Fri 29 Dec 2006 12:31:37 PM UTC, comment #5: 

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Project AdministratorIn charge of this item.
Sun 12 Jun 2005 10:44:06 PM UTC, comment #4: 

This change has now been backed out - it broke "make distcheck".

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 09 Jun 2005 07:28:52 PM UTC, comment #3: 

I've checked in (in CVS) a modification to unix.exp that should relieve the reliance on tcl 8.4, but on the only tcl8.3 box I have, it still doesn't work.  Please test and (if possible) diagnose on your system.

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 01 Jun 2005 10:18:07 AM UTC, comment #2: 

Probably the configure script should check for Tcl 8.4 and disable this test if necessary.  Or the test itself could give a result 'skipped' rather than 'failed' if the necessary Tcl version isn't installed.

Ed Avis <epaepa>
Wed 01 Jun 2005 10:13:26 AM UTC, comment #1: 

"file normalize" was introduced in Tcl 8.4.   See for example http://tmml.sourceforge.net/doc/tcl/file.html

James Youngman <jay>
Project AdministratorIn charge of this item.
Wed 01 Jun 2005 09:39:24 AM UTC, original submission:  

Building findutils-4.2.20 I got the following error from 'make check':

Making check in testsuite
make[2]: Entering directory `/u/avised/inst/findutils-4.2.20/locate/testsuite'
make  check-DEJAGNU
make[3]: Entering directory `/u/avised/inst/findutils-4.2.20/locate/testsuite'
Making a new site.exp file...
srcdir=`CDPATH="${ZSH_VERSION+.}:" && cd . && pwd`; export srcdir; \
EXPECT=expect; export EXPECT; \
runtest=runtest; \
if /bin/sh -c "$runtest --version" > /dev/null 2>&1; then \
  l='locate'; for tool in $l; do \
    $runtest  --tool $tool --srcdir $srcdir ; \
  done; \
else echo "WARNING: could not find \`runtest'" 1>&2; :;\
fi
WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file
Test Run By avised on Tue May 31 17:36:33 2005
Native configuration is i686-pc-linux-gnu

=== locate tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /u/avised/inst/findutils-4.2.20/locate/testsuite/config/unix.exp as tool-and-target-specific interface file.
ERROR: tcl error sourcing tool-and-target-specific interface file /u/avised/inst/findutils-4.2.20/locate/testsuite/config/unix.exp.
bad option "normalize": must be atime, attributes, channels, copy, delete, dirname, executable, exists, extension, isdirectory, isfile, join, lstat, mtime, mkdir, nativename, owned, pathtype, readable, readlink, rename, rootname, size, split, stat, tail, type, volumes, or writable
bad option "normalize": must be atime, attributes, channels, copy, delete, dirname, executable, exists, extension, isdirectory, isfile, join, lstat, mtime, mkdir, nativename, owned, pathtype, readable, readlink, rename, rootname, size, split, stat, tail, type, volumes, or writable
    while executing
"file normalize "../../find/find""
    invoked from within
"set env(find) [file normalize "../../find/find"]"
    (file "/u/avised/inst/findutils-4.2.20/locate/testsuite/config/unix.exp" line 30)
    invoked from within
"source /u/avised/inst/findutils-4.2.20/locate/testsuite/config/unix.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source /u/avised/inst/findutils-4.2.20/locate/testsuite/config/unix.exp"
    invoked from within
"catch "uplevel #0 source ${dir}/${initfile}" error"
make[3]: *** [check-DEJAGNU] Error 1
make[3]: Leaving directory `/u/avised/inst/findutils-4.2.20/locate/testsuite'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/u/avised/inst/findutils-4.2.20/locate/testsuite'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/u/avised/inst/findutils-4.2.20/locate'
make: *** [check-recursive] Error 1

This is a Linux RHEL3 system which has tcl-8.3.5.  The config.log is attached for more details.

Ed Avis <epaepa>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #3025:  config.log added by epaepa (167KiB - application/octet-stream - config.log to give details of my system)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by epaepa (Posted a comment)
  • -email is unavailable- added by jay (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-02-28 jay Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.2.30
    2006-12-29 jay StatusNone => Fixed
    2005-06-12 jay StatusReady For Test => None
    2005-06-09 jay StatusNone => Ready For Test
    2005-06-01 jay Severity3 - Normal => 2 - Minor
        Assigned toNone => jay
    2005-06-01 epaepa Attached File- => Added config.log, #2557

    Back to the top


    Powered by Savane 3.5