Tcl Source Code

View Ticket
Login
2019-08-20
07:21 Ticket [40d5ff2a0e] mingw build from chocolatey or git-bash+make+mingw is broken status still Closed with 5 other changes artifact: 0145b2a77c user: jan.nijtmans
2019-08-19
19:29
merge 8.7: fixes [40d5ff2a0e], etc check-in: d1d2641811 user: sebres tags: trunk
19:22 Closed ticket [40d5ff2a0e]: mingw build from chocolatey or git-bash+make+mingw is broken plus 6 other changes artifact: 7dc2c6f3b0 user: sebres
19:12
merge 8.6: conflicts resolved, fix mingw build, closes [40d5ff2a0e], etc check-in: ea8a79173f user: sebres tags: core-8-branch
18:58
merge 8.5: restore merge point, fix mingw build, closes [40d5ff2a0e], etc check-in: f2dee93aa1 user: sebres tags: core-8-6-branch
18:34
win/Makefile.in: partially cherry-picked 8.6th version (and normalized to be more similar to all maj... check-in: 09dae07f92 user: sebres tags: core-8-5-branch
18:15 Ticket [40d5ff2a0e] mingw build from chocolatey or git-bash+make+mingw is broken status still Open with 3 other changes artifact: 83ddbc8fd2 user: sebres
18:15 New ticket [40d5ff2a0e]. artifact: 645686988a user: sebres

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:

(GNU)make using mingw without msys toolchain (with cygpath?), e. g. build from chocolatey or from git-bash + make + mingw fails with:

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'
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:

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.