[issue23404] 'make touch' does not work with git clones of the source repository
Chi Hsuan Yen
report at bugs.python.org
Fri Feb 10 04:25:38 EST 2017
Chi Hsuan Yen added the comment:
Just tried boot-flag.patch with https://github.com/python/cpython/commit/16e07881bd3867d471dd0a25c5117672b65c90ee. Doesn't work out-of-box:
#./Programs/_freeze_importlib \
./Lib/importlib/_bootstrap.py Python/importlib.h
/bin/sh: line 1: ./Lib/importlib/_bootstrap.py: Permission denied
make: *** [Makefile:749: Python/importlib.h] Error 126
My fix is: merge the two lines into a single one. See my attached patch.
By the way, the BOOT hack is quite similar to GENERATED_COMMENT in introduced in issue27641. Maybe they can merge?
My environment:
* Arch Linux x86_64
* /bin/sh symlinks to bash, which is 4.4.12
* GNU Make 4.2.1
----------
nosy: +Chi Hsuan Yen
Added file: http://bugs.python.org/file46620/boot-flag.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23404>
_______________________________________
More information about the Python-bugs-list
mailing list