Hi, On Fri, 27 Jul 2018, Joseph Myers wrote:
> I would have expected most concerns to be about builds on non-GNU hosts - > not about builds on GNU/Linux where Python is generally already available > (and differences in Python versions should definitely *not* affect the > generated output, so there should be no increases in the number of > iterations required for any bootstrap cycle to converge). > > We've been having a similar discussion for glibc, both about replacing > uses of perl (optional, but required to build the manual and to run > various tests - python is also already required to run various tests) with > python and about replacing uses of awk (required) with python as well, in > the interests of easier maintainability - and I didn't see any concerns > raised about such a change at all. perl is currently included in the bootstrap set. There's no reason why python couldn't be included as well, but we'd have to make it a limited python (so that the additional builddeps become at least minimal), and that leads to further work (decisions and implementation around the existence of minimal-python and full-python). And of course the build time of the bootstrap cycle lengthens non-trivially. Maybe not by much, but still. I don't know why you didn't get concerns raised during those discussions, it can't mean an indication that everything is fine with going from perl to python when part of non-optional build dependencies. (Optional deps are always fine; we're breaking out those parts, like testsuite, into different packages that aren't then part of the bootstrap cycle). > Obviously if you're bootstrapping core packages and their build > dependencies, use in glibc is more or less equivalent to use in GCC. (But > if build dependencies include those involved in testing, you already have > python as one for glibc, and Tcl for GCC, for example.) Testsuites aren't part of the bootstrap cycle if they would have to enlarge it unduly. Tcl and expect is, though (hmm, I wonder why), as is perl; they all have trivial buildrequires. Ciao, Michael.