.
D 2023-10-06T17:33:52.147
J assignee nobody
J closer nobody
J cmimetype text/x-markdown
J comment This\sissue\sapplies\sto\sthe\sGitHub\sbuild\senvironment\sfor\sWindows,\swhich\sis\sAMD64\sand\sVC\s1935.\r\n\r\nI'm\strying\sto\sbuild\sand\sinstall\sTcl\sin\sGitHub\sactions\sand\sthen\suse\stclsh86t\sto\srun\sfurther\scommands.\sThe\scall\sto\stclsh86t\salways\sfails\sbecause\sthe\sinstall\scommand\sdoes\snot\sinstall\sit\sfor\ssome\sreason.\r\n\r\nHere's\sthe\srelevant\sportion\sof\smy\sworkflow\syaml:\r\n\r\n```yaml\r\njobs:\r\n\s\sWindows:\r\n\s\s\s\sname:\sbuild-windows\r\n\s\s\s\sruns-on:\s[windows-latest]\r\n\r\n\s\s\s\ssteps:\r\n\s\s\s\s\s\s-\sname:\sswitch\sto\sVS\scommand\sprompt\r\n\s\s\s\s\s\s\s\suses:\silammy/msvc-dev-cmd@v1\r\n\s\s\s\s\s\s-\sname:\sbuild\sand\sinstall\sTcl\r\n\s\s\s\s\s\s\s\senv:\r\n\s\s\s\s\s\s\s\s\s\sTCL_DOWNLOAD_URL:\shttps://kumisystems.dl.sourceforge.net/project/tcl/Tcl/8.6.13/tcl8613-src.zip\r\n\s\s\s\s\s\s\s\s\s\sEXPECTED_TCL_HASH:\s8999fcafab2d85473280e0bf6e390480496dfd53\r\n\s\s\s\s\s\s\s\srun:\s|\r\n\s\s\s\s\s\s\s\s\s\s(new-object\sSystem.Net.WebClient).DownloadFile($Env:TCL_DOWNLOAD_URL,\s'tcl8613-src.zip')\r\n\s\s\s\s\s\s\s\s\s\s#\scheck\sthat\sthe\sfile\shash\smatches\swhat\swe\sexpect\r\n\s\s\s\s\s\s\s\s\s\s$FileHash\s=\sGet-FileHash\s-Algorithm\sSHA1\stcl8613-src.zip\r\n\s\s\s\s\s\s\s\s\s\sif\s(\s$FileHash.Hash\s-ne\s$Env:EXPECTED_TCL_HASH\s)\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sthrow\s"tcl\sdownload\shash\smismatch:\s$($FileHash.Hash)"\r\n\s\s\s\s\s\s\s\s\s\s}\r\n\r\n\s\s\s\s\s\s\s\s\s\sExpand-Archive\stcl8613-src.zip\s-DestinationPath\stcl8613-src\r\n\s\s\s\s\s\s\s\s\s\scd\stcl8613-src\\tcl8.6.13\\win\r\n\s\s\s\s\s\s\s\s\s\s&nmake\s/D\s-f\smakefile.vc\sshell\sdlls\sinstall\r\n\s\s\s\s\s\s\s\s\s\sif\s($lastexitcode\s-ne\s0)\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s\sthrow\s"nmake\sexit\scode:\s$lastexitcode"\r\n\s\s\s\s\s\s\s\s\s\s}\r\n\s\s\s\s\s\s\s\s\s\secho\s"|||||||||||||"\r\n\s\s\s\s\s\s\s\s\s\sGet-ChildItem\s-Recurse\r\n\s\s\s\s\s\s\s\s\s\secho\s"|||||||||||||"\r\n\s\s\s\s\s\s\s\s\s\sGet-ChildItem\s-Recurse\sc:\\Tcl\r\n\s\s\s\s\s\s\s\s\s\secho\s"|||||||||||||"\r\n\s\s\s\s\s\s\s\s\s\secho\s$env:path\r\n```\r\n\r\n(My\soriginal\sbuild\shad\s`release\sinstall`\sfor\sthe\smake\stargets,\sbut\sI\swhittled\sit\sdown\sa\sbit\sto\s`shell\sdlls\sinstall`.)\r\n\r\nI\shave\ssome\s`echo`\scommands\sin\sthere\sfor\sdebugging,\sand\syou\scan\ssee\sthe\soutput\shere:\shttps://github.com/SoarGroup/Soar/actions/runs/6434352578/job/17473390458.\r\n\r\nWhat\sI\sseem\sto\sbe\sseeing\sis\sthat\stclsh86t.exe\sis\sgenerated\s(output\sline\s803)\sand\sis\spresent\sunder\s`D:\\a\\Soar\\Soar\\tcl8613-src\\tcl8.6.13\\win\\Release_AMD64_VC1935`\s(output\sline\s1205).\sHowever,\slines\s885-887\sshow\sthe\sinstall\sstep\snot\sinstalling\sit\sfor\ssome\sreason:\r\n\r\n```\r\nInstalling\sto\sC:\\Tcl\r\nInstalling\stcl86t.dll\r\nInstalling\stclstub86.lib\r\n```\r\n\r\nFinally,\slines\s1396-1401\sshow\sus\sthat\sthe\sfinal\sinstall\sdirectory\shas\sthe\sDLLs\sbut\snot\sthe\sexecutable:\r\n\r\n```\r\n\s\s\s\sDirectory:\sC:\\Tcl\\bin\r\n\r\nMode\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sLastWriteTime\s\s\s\s\s\s\s\s\sLength\sName\r\n----\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s-------------\s\s\s\s\s\s\s\s\s------\s----\r\n-a---\s\s\s\s\s\s\s\s\s\s\s10/6/2023\s\s4:54\sPM\s\s\s\s\s\s\s\s1804288\stcl86t.dll\r\n-a---\s\s\s\s\s\s\s\s\s\s10/27/2022\s\s7:52\sAM\s\s\s\s\s\s\s\s\s134656\szlib1.dll\r\n```\s\r\n\r\nI\shave\sa\sWindows\sVM\sinstalled\slocally,\srunning\sARM\sand\sVS\s1937,\sand\srunning\sthe\ssame\sbuild\scommand\sproperly\sinstalls\sthe\sshell\sexecutable,\sand\sI\salso\sdon't\ssee\sany\smessages\sin\sthe\sCI\soutput\sthat\swould\ssuggest\sthat\sthere\swas\san\sissue\sof\ssome\skind,\sso\sI'm\sout\sof\sideas.\r\n\r\nThe\srelevant\sportion\sof\sthe\sbuild\sseems\sto\sbe\son\sline\s900\sof\smakefile.vc:\r\n\r\n```make\r\n!if\sexist($(TCLSH))\r\n\t@echo\sInstalling\s$(TCLSHNAME)\r\n\t@$(CPY)\s"$(TCLSH)"\s"$(BIN_INSTALL_DIR)\\"\r\n```\r\n\r\nBut\swhy\s`nmake`\sbelieves\sthat\s`$(TCLSH)`\sdoes\snot\sexist,\sI\sdo\snot\sknow.
J foundin 8.6.13
J is_private 0
J login garfieldnate
J priority 5\sMedium
J private_contact 04676fae1713753d93607148771620fb9716c411
J resolution None
J severity Important
J status Open
J submitter garfieldnate
J subsystem 69.\sOther
J title tclsh86t.exe\snot\sinstalled\sin\sGitHub\sCI
J type Bug
K aa6e42643794ecff2f3508d7306c702baf4f4c0f
U garfieldnate
Z 35baecb9d2d980f779d709a1e35b5887