Issue 36194: Add "make regen-configure" (original) (raw)

Issue36194

Created on 2019-03-05 13:50 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg337186 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2019-03-05 13:50
The policy of Fedora is to regenerate generated files in the source code of a package. python3.spec runs "autoconf" and "autoheader" to regenerate configure and pyconfig.h. IMHO it would be good to have such recipe upstream, something like "make regen-all". I'm not sure if we can include it in "make regen-all". Currently, the main mandatory Linux job on Travis CI runs "make regen-all" and then ensure that no file has been modified. Problem: configure changes depending on the autoconf version, and usually a Linux distribution only includes a single autoconf version... That's why you may have noticed the "rpath dance" in the generated configure script... Depending on the autoconf version, you get rpath or not... Fedora issue: https://bugzilla.redhat.com/show_bug.cgi?id=1377240
msg361761 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2020-02-11 00:01
Most developers seem to be used to "autoconf && autoheader", so it's not obvious that "make regen-configure" would benefit to anyone. I just close the issue.
History
Date User Action Args
2022-04-11 14:59:12 admin set github: 80375
2020-02-11 00:01:33 vstinner set status: open -> closedresolution: rejectedmessages: + stage: resolved
2019-03-05 13:50:43 vstinner create