This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Add "make regen-configure"
Type: Stage: resolved
Components: Build Versions: Python 3.8
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: vstinner, zach.ware
Priority: normal Keywords:

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:
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.
Date User Action Args
2022-04-11 14:59:12adminsetgithub: 80375
2020-02-11 00:01:33vstinnersetstatus: open -> closed
resolution: rejected
messages: + msg361761

stage: resolved
2019-03-05 13:50:43vstinnercreate