Tcl Source Code

View Ticket
Login
Ticket UUID: 1840211
Title: tcl 8.5.0 rc0 compile and test error report
Type: Bug Created on: 2007-11-28 12:06:43
Submitter: lvirden Assigned to: vincentdarley
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2007-12-02 07:58:11
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.5b3
Description:
platform: sparc solaris 9, Sun C compiler

configured with options \"'--prefix=/projects/sprs_lwv/tcl85' '--enable-shared' '--enable-symbols' '--enable-stubs' '--enable-64bit' '--enable-threads' 'CC=cc'\"

"/vol/tclsrcsol/tcl85/tcl8.5.0/unix/../generic/tclEnv.c", line 20: warning: syntax error:  empty declaration

Weirdly, even though this says "syntax error", the compiler appears to have continued...

Two test suite errors exhibit, due to Solaris security policies:

fCmd.test

==== fCmd-27.5 TclFileAttrsCmd - setting one option FAILED
==== Contents of test case:

    catch {file delete -force -- foo.tmp}
    createfile foo.tmp
    set attrs [file attributes foo.tmp]
    list [catch {file attributes foo.tmp {*}[lrange $attrs 0 1]} msg] $msg [file
 delete -force -- foo.tmp]

---- Result was:
1 {could not set group for file "foo.tmp": not owner} {}
---- Result should have been (exact matching):
0 {} {}
==== fCmd-27.5 FAILED

==== fCmd-27.6 TclFileAttrsCmd - setting more than one option FAILED
==== Contents of test case:

    catch {file delete -force -- foo.tmp}
    createfile foo.tmp
    set attrs [file attributes foo.tmp]
    list [catch {file attributes foo.tmp {*}[lrange $attrs 0 3]} msg] $msg [file
 delete -force -- foo.tmp]

---- Result was:
1 {could not set group for file "foo.tmp": not owner} {}
---- Result should have been (exact matching):
0 {} {}
==== fCmd-27.6 FAILED
User Comments:
dkf added on 2007-12-02 07:58:11:
Logged In: YES 
user_id=79902
Originator: NO

Fixed problem in tclEnv.c