[New-bugs-announce] [issue32461] the first build after a change to Makefile.pre.in uses the old Makefile
Xavier de Gaye
report at bugs.python.org
Sun Dec 31 02:53:32 EST 2017
New submission from Xavier de Gaye <xdegaye at gmail.com>:
After applying the attached Makefile.pre.in.diff that changes the text of the message printed by the 'Makefile' target, the make command gives:
$ make
CONFIG_FILES=Makefile.pre CONFIG_HEADERS= /bin/sh config.status
config.status: creating Makefile.pre
make -f Makefile.pre Makefile
make[1]: Entering directory '/path/to/master'
/bin/sh ./Modules/makesetup -c ./Modules/config.c.in \
-s Modules \
Modules/Setup.local \
Modules/Setup
This is the new Makefile. The Makefile was updated, you may need to re-run make. <--- new Makefile
make[1]: Leaving directory '/path/to/master'
/bin/sh ./Modules/makesetup -c ./Modules/config.c.in \
-s Modules \
Modules/Setup.local \
Modules/Setup
The Makefile was updated, you may need to re-run make. <--- old Makefile
gcc -pthread -c -Wno-unused-result -Wsign-compare -g -Og -Wall -Wstrict-prototypes -std=c99 -Wext
ra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-functio
n-declaration -I. -I./Include -DPy_BUILD_CORE \
-DABIFLAGS='"dm"' \
-DMULTIARCH=\"x86_64-linux-gnu\" \
-o Python/sysmodule.o ./Python/sysmodule.c
....
The two messages printed by the 'Makefile' target show that make is still running the previous Makefile after completing the sub-make (i.e. after the line "make[1]: Leaving directory '/path/to/master'").
----------
components: Build
files: Makefile.pre.in.diff
keywords: patch
messages: 309270
nosy: xdegaye
priority: normal
severity: normal
stage: needs patch
status: open
title: the first build after a change to Makefile.pre.in uses the old Makefile
type: behavior
versions: Python 2.7, Python 3.6, Python 3.7
Added file: https://bugs.python.org/file47356/Makefile.pre.in.diff
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32461>
_______________________________________
More information about the New-bugs-announce
mailing list