Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2eb211cb13db01844de1d1cba602d632636f5b67
Ticket: 1567956fffffffffffffffffffffffffffffffff
Building tcl8.5a4 in MinGW: clock test fails (bug in test)
User & Date: nobody on 2006-09-29 19:05:09
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hi everyone,
    
    when building tcl8.5a4 in MinGW/MSys, "make test" fails.
    
    The following describes the environment I'm using:
    * Started with: German Win2kSP4 (never touched by MinGW
    & Co before)
    * Execute MinGW-5.0.3.exe, which installs previously
      downloaded files to "C:\MinGW":
        * binutils-2.15.91-20040904-1.tar.gz
        * gcc-ada-3.4.2-20040916-1.tar.gz
        * gcc-core-3.4.2-20040916-1.tar.gz
        * gcc-g++-3.4.2-20040916-1.tar.gz
        * gcc-g77-3.4.2-20040916-1.tar.gz
        * gcc-java-3.4.2-20040916-1.tar.gz
        * gcc-objc-3.4.2-20040916-1.tar.gz
        * mingw32-make-3.80.0-3.tar.gz
        * mingw-runtime-3.10.tar.gz
        * w32api-3.7.tar.gz
    * Execute MSys-1.0.10.exe, which installs itself into
      "C:\msys\1.0". After that "post install":
        * "Do you have MinGW installed?" -> "y"
        * "Where is your MinGW installation?" -> "C:/MinGW"
        * "You do not have C:/MinGW/bin/make.exe.
           Keep it that way."
    * Start MSYS
    
    Here are the commands used to build tcl:
    
    $ cd tcl8.5a4/win/
    $ ./configure  --prefix=/mingw
    $ make
    $ make install
    $ make test
    
    Here occur some errors (I only quote the lines
    describing the errors):
    ----------------------------------------------------
    ==== clock-49.2 regression test - missing time zone
    file (Bug 1237907)
    FAILED
    ==== Contents of test case:
    
            list [::tcl::clock::GuessWindowsTimeZone] 
    [clock format 0
    -locale system -format "%X %Z"]  [clock format -86400
    -format "%Y"]
    
    ---- Result was:
    <-0500>+05:00:00<-0400>+04:00:00,M4.1.0/02:00:00,M10.5.0/02:00:00
    {
    7:00:00 NACHM. -0500} 1969
    ---- Result should have been (exact matching):
    <-0500>+05:00:00<-0400>+04:00:00,M4.1.0/02:00:00,M10.5.0/02:00:00
    {
    7:00:00 PM -0500} 1969
    ==== clock-49.2 FAILED
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    ==== winFile-4.0 Enhanced NTFS user/group permissions:
    test no acccess
    FAILED
    ==== Contents of test case:
    
        # Clean out all well-known ACLs
        catch {cacls $fname /E /R "Everyone"} result
        catch {cacls $fname /E /R $user} result
        catch {cacls $fname /E /R $owner} result
        cacls $fname /E /P $user:N
        test_access $fname 0 0
    
    ---- Test setup failed:
    getuser: Owner not found in output of dir/q
    ---- errorInfo(setup): getuser: Owner not found in
    output of dir/q
        while executing
    "error "getuser: Owner not found in output of dir/q""
        (procedure "getuser" line 17)
        invoked from within
    "getuser $fname"
        invoked from within
    "set owner [getuser $fname]"
        ("uplevel" body line 2)
        invoked from within
    "uplevel 1 $setup"
    ---- errorCode(setup): NONE
    ==== winFile-4.0 FAILED
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    all.tcl:        Total   22484   Passed  21649   Skipped
    833     Failed
    2
    Sourced 134 Test Files.
    Files with failing tests: clock.test winFile.test
    ---------------------------------------------------- 
    
    I also posted this problem to comp.lang.tcl.
    
    I hope I help you with this!
    Sorry for my crappy english!
    
    Wolfgang
    Wolfgang0815 .at. gmx .dot. de
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "None"
  11. title changed to:
    Building tcl8.5a4 in MinGW: clock test fails (bug in test)
    
  12. type changed to: "Bug"