Marc-Andre Lemburg <[email protected]> added the comment:
R. David Murray wrote:
>
> R. David Murray <[email protected]> added the comment:
>
> Hmm. Some at least of the buildbots have failed to build after that patch:
>
> ./python ./Python/freeze_importlib.py \
> ./Lib/importlib/_bootstrap.py Python/importlib.h
> make: ./python: Command not found
> make: *** [Python/importlib.h] Error 127
> program finished with exit code 2
>
> (http://www.python.org/dev/buildbot/all/builders/AMD64%20Gentoo%20Wide%203.x/builds/3771)
Thanks for mentioning this. I've reverted the change for now and
will have a look tomorrow.
The logs of the failing bots are not very informative about what
is going on:
gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I.
-I./Include
-DPy_BUILD_CORE -o Python/dynamic_annotations.o Python/dynamic_annotations.c
gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I.
-I./Include
-DPy_BUILD_CORE -o Python/errors.o Python/errors.c
./python ./Python/freeze_importlib.py \
./Lib/importlib/_bootstrap.py Python/importlib.h
make: ./python: Command not found
make: *** [Python/importlib.h] Error 127
program finished with exit code 2
vs.
gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I.
-I./Include
-DPy_BUILD_CORE -o Python/dynamic_annotations.o Python/dynamic_annotations.c
gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I.
-I./Include
-DPy_BUILD_CORE -o Python/errors.o Python/errors.c
gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I.
-I./Include
-DPy_BUILD_CORE -o Python/frozen.o Python/frozen.c
gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I.
-I./Include
-DPy_BUILD_CORE -o Python/frozenmain.o Python/frozenmain.c
gcc -pthread -c -Wno-unused-result -g -O0 -Wall -Wstrict-prototypes -I.
-I./Include
-DPy_BUILD_CORE -o Python/future.o Python/future.c
I guess some commands are not printed to stdout.
Looking at the buildbots again: reverting the patch has not caused
the lights to go green again. Very strange indeed.
Looking further I found this line in the Makefile:
############################################################################
# Importlib
Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py
$(srcdir)/Python/freeze_importlib.py
./$(BUILDPYTHON) $(srcdir)/Python/freeze_importlib.py \
$(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h
Since the patch modified _bootstrap.py, make wants to recreate importlib.h,
but at that time $(BUILDPYTHON) doesn't yet exist.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14605>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com