This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Alexander Kanavin
Recipients Alexander Kanavin
Date 2018-03-15.16:46:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521132370.51.0.467229070634.issue33080@psf.upfronthosting.co.za>
In-reply-to
Content
You can see here:

https://github.com/python/cpython/blob/master/Makefile.pre.in#L708

that regen-importlib is building a binary from .o files which are built from .c and .h files, which are, at the same time, regenerated by other regen- targets.

This does cause build errors in heavily parallelized builds, we've been seeing it regularly in Yocto Project lately:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=12596

I tried to see if I can easily correct target dependencies in the makefile, but couldn't figure it out. So, a workaround, for us, would be to issue 'make regen-importlib' ahead of other things:

    make regen-importlib
    make regen-all
History
Date User Action Args
2018-03-15 16:46:10Alexander Kanavinsetrecipients: + Alexander Kanavin
2018-03-15 16:46:10Alexander Kanavinsetmessageid: <1521132370.51.0.467229070634.issue33080@psf.upfronthosting.co.za>
2018-03-15 16:46:10Alexander Kanavinlinkissue33080 messages
2018-03-15 16:46:10Alexander Kanavincreate