Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2019-08-20
07:21 • Ticket [40d5ff2a0e] mingw build from chocolatey or git-bash+make+mingw is broken... 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 i... 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... artifact: 83ddbc8fd2 user: sebres
18:15 • New ticket [40d5ff2a0e]. artifact: 645686988a user: sebres

mingw build from chocolatey or git-bash+make+mingw is broken

Closed / Fixed40d5ff2a0ee78099c666aa71c3470ae24c49ab2eCreated 7 years agoUpdated 7 years ago
Descriptionwiki2019-08-19 18:15:10
(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).

Referenced by4
  • d1d2641811merge 8.7: fixes [40d5ff2a0e], etc check-in2019-08-19 19:29:55
  • ea8a79173fmerge 8.6: conflicts resolved, fix mingw build, closes [40d5ff2a0e], etc check-in2019-08-19 19:12:40
  • f2dee93aa1merge 8.5: restore merge point, fix mingw build, closes [40d5ff2a0e], etc check-in2019-08-19 18:58:21
  • 09dae07f92win/Makefile.in: partially cherry-picked 8.6th version (and normalized to be more similar to all major versions now), fixed VPATH (TOP_DIR/ROOT_DIR) compiling from chocolatey or git-bash (closes [40d5ff2a0e]), added tcltest-helpers, etc. check-in2019-08-19 18:34:44
sebres Ticket [40d5ff2a0e]: 3 changes [History diff]2019-08-19 18:15:19
sebreswiki2019-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.

jan.nijtmansplain2019-08-20 07:21:31
Thanks for this. Good work!

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

👍
Log in (anonymous is fine) to add a comment.