Tcl Source Code

View Ticket
Login
Ticket UUID: 40d5ff2a0ee78099c666aa71c3470ae24c49ab2e
Title: mingw build from chocolatey or git-bash+make+mingw is broken
Type: Bug Version: >= 8.5
Submitter: sebres Created on: 2019-08-19 18:15:10
Subsystem: 53. Configuration and Build Tools Assigned To: sebres
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2019-08-20 07:21:31
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2019-08-20 07:21:31
Description: (text/x-fossil-wiki)
(GNU)make using mingw without msys toolchain (with cygpath?), e. g. build from chocolatey or from git-bash + make + mingw fails with:
<code><pre style="padding-left:10pt">
mingw32-make: *** No rule to make target 'tclStubLib.c', needed by 'tclStubLib.o'.  Stop.
child process exited abnormally
No rule to make target 'tclStubLib.c', needed by 'tclStubLib.o'
</pre></code>
Make from mingw+msys works fine (so default toolchain seems to be not affected).

It looks like VPATH seems to be broken in this case. Fixing (WiP).
User Comments: jan.nijtmans added on 2019-08-20 07:21:31:
Thanks for this. Good work!

Just one remark: See [01e90e520f786319] (already fixed in all branches)

👍

sebres added on 2019-08-19 19:22:00: (text/x-fossil-wiki)
Fixed in all major branches (starting with [09dae07f92] for 8.5 and [f2dee93aa1] 8.6), thus close.

I have partially cherry-picked it from my github-branches (travis repairing attempts directly from github)... and I'll continue with mingw builds here (and tests) later, once my other fixes get ready for 8.5/8.6 branches.