[issue36194] Add "make regen-configure"

STINNER Victor report at bugs.python.org
Tue Mar 5 08:50:43 EST 2019


New submission from STINNER Victor <vstinner at redhat.com>:

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

----------
components: Build
messages: 337186
nosy: vstinner, zach.ware
priority: normal
severity: normal
status: open
title: Add "make regen-configure"
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36194>
_______________________________________


More information about the Python-bugs-list mailing list