classification
Title: Add "make regen-configure"
Type: Stage: resolved
Components: Build Versions: Python 3.8
process
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 2020-02-11 00:01 by vstinner. 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
2020-02-11 00:01:33vstinnersetstatus: open -> closed
resolution: rejected
messages: + msg361761

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