Message159242
| Author |
lemburg |
| Recipients |
Arfrever, brett.cannon, eric.araujo, eric.snow, lemburg, ncoghlan, python-dev, r.david.murray |
| Date |
2012年04月25日.00:27:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<4F974504.60100@egenix.com> |
| In-reply-to |
<1335311536.97.0.643239861429.issue14605@psf.upfronthosting.co.za> |
| Content |
R. David Murray wrote:
>
> R. David Murray <rdmurray@bitdance.com> 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. |
|