Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8e50ef9fcc51964e3b3c4ceaf9cb9b7b78375d1525e5bf9b8b1437aa64bc27b1
Ticket: 0c31c728a8f8a5767b0d124b21c237d5faa44e5f
Test file error: can't find package tcltests
User & Date: yarda on 2020-05-13 17:46:57
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    This was reported to Fedora downstream as:
    https://bugzilla.redhat.com/show_bug.cgi?id=1833701
    
    There is the following error during the build when running internal tests:
    env.test
    Test file error: can't find package tcltests
        while executing
    "package require tcltests"
        (file "/tmp/B.C57E02/BUILD/tcl8.6.9/tests/env.test" line 19)
    
    In Fedora we fixed it by the following patch:
    diff --git a/unix/Makefile.in b/unix/Makefile.in
    index 99bdf05..0b2f660 100644
    --- a/unix/Makefile.in
    +++ b/unix/Makefile.in
    @@ -788,7 +788,7 @@ topDirName:
     # This keeps tcltest from picking up an already installed version of the Tcl
     # library.
     SHELL_ENV =	@LD_LIBRARY_PATH_VAR@=`pwd`:${@LD_LIBRARY_PATH_VAR@} \
    -		TCLLIBPATH="@abs_builddir@/pkgs" \
    +		TCLLIBPATH="@abs_builddir@/pkgs @abs_builddir@/../tests" \
     		TCL_LIBRARY="${TCL_BUILDTIME_LIBRARY}"
     
     ${TCLTEST_EXE}: ${TCLTEST_OBJS} ${TCL_LIB_FILE} ${TCL_STUB_LIB_FILE} ${BUILD_DLTEST}
    
  5. foundin changed to: "tcl-8.6.10"
  6. is_private changed to: "0"
  7. login: "yarda"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "362c7c9ba8659317170601ba50e062e2d08c07e3"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "yarda"
  14. subsystem changed to: "53. Configuration and Build Tools"
  15. title changed to: "Test file error: can't find package tcltests"
  16. type changed to: "Bug"