Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-05-06
09:20 • Closed ticket [1677275fff]: Errors when building tcl8.4.14 on Tru64 UNIX plu... artifact: 33016a93e1 user: sf-robot
2007-04-22
03:02 • Pending ticket [1677275fff]. artifact: 1741c77452 user: kennykb
2007-03-10
21:58 • Ticket [1677275fff]: 3 changes artifact: 157f749218 user: dkf
06:27 • Ticket [1677275fff]: 4 changes artifact: 575257ac62 user: nraavi
2007-03-09
14:22 • New ticket [1677275fff]. artifact: f4bd2a376c user: nraavi

Errors when building tcl8.4.14 on Tru64 UNIX

Closed / Remind1677275fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2007-03-09 14:22:03
I get an error when compiling tclUnixTime.c - it appears that there is no clear resolution for the typedef TclpTime_t

This file appears to be very different in an earlier version, and also on the Dev version 8.5a5.

cc: Error: /usr/ruby-deploy/swkits/RUBY/SOFTWARE/3rdPartySW/TclTk/
tcl8.4.14/unix/tclUnixTime.c, line 347: In the definition of the function "TclpGmtime", the promoted type of tt is incompatible with the type of the corresponding parameter in a prior declaration. 
(promotmatch) 
    CONST TclpTime_t tt;
---------------------^
cc: Error: /usr/ruby-deploy/swkits/RUBY/SOFTWARE/3rdPartySW/TclTk/
tcl8.4.14/unix/tclUnixTime.c, line 398: In the definition of the function "TclpLocaltime", the promoted type of tt is incompatible with the type of the corresponding parameter in a prior declaration. 
(promotmatch) 
    CONST TclpTime_t tt;
---------------------^
*** Exit 1 


The configure was done as follows: 

CC=cc ./configure --prefix=/opt/tcl --enable-threads --enable-shared -- enable-64bit 


The C compiler I use is (gcc doesn't work well on Alphas):

Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650) Compiler Driver V6.5-003 (sys) cc Driver
nraaviplain2007-03-10 06:27:54
Logged In: YES 
user_id=1739386
Originator: YES

Additional Note:

8.4.7 compiles fine, so does 8.5a5. I haven't run the tests for 8.4.7, but for 8.5a5, the "make test" results in some errors:

Tests ended at Fri Mar 09 17:23:01 -0600 2007
all.tcl:        Total   21582   Passed  20420   Skipped 1162    Failed  0
Sourced 134 Test Files.
Number of tests skipped for each constraint:
        9       !ieeeFloatingPoint
        76      bigEndian
        1       dontCopyLinks
        43      emptyTest
        2       hasIsoLocale
        25      knownBug
        100     localeRegexp
        50      longIs32bit
        14      macosxFileAttr
        12      memory
        26      nonPortable
        260     notRoot
        1       testWinCPUID
        7       testaccessproc
        1       testexprparser && !ieeeFloatingPoint
        8       testopenfilechannelproc
        7       teststatproc
        1       testwinclock
        21      testwordend
        3       unknownFailure
        2       unthreaded
        2       wideBiggerThanInt
        480     win

Test files exiting with errors:

  fileName.test

  http.test

  httpold.test

  io.test

  socket.test
dkf Ticket [1677275fff]: 3 changes [History diff]2007-03-10 21:58:52
kennykbplain2007-04-22 03:02:19
Logged In: YES 
user_id=99768
Originator: NO

I haven't been able to find a Tru4 machine to test on, but I think I've figured out what the error is with TclpTime_t (and particularly, why it appears to affect only those two functions).  Could I get you to retest from a CVS checkout of core-8-4-branch and see if the problem goes away?

The "test files exiting with errors" issue is more serious.  Could I trouble you to -- for each file that exits with an error -- do

    make TESTFLAGS='-file fileName.test -verbose btefp' test

and open a new bug including the output?  On those test files, Tcl has apparently crashed, and the maintainers of those area will need more information to go on, beginning with what I requested.  Those errors are unrelated to the problem with TclpTime_t, so this bug report will not be a good place to track them.
sf-robotplain2007-05-06 09:20:17
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.