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 AWhetter
Recipients AWhetter, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-12-02.23:38:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575329913.13.0.856957660536.issue38957@roundup.psfhosted.org>
In-reply-to
Content
get_externals.bat downloads and extracts libffi to a versioned directory (much like the other external libraries). See https://github.com/python/cpython/blob/v3.8.0/PCbuild/get_externals.bat#L55
However the binary release is downloaded to an unversioned directory. See https://github.com/python/cpython/blob/v3.8.0/PCbuild/get_externals.bat#L79
The visual studio project looks for the unversioned directory (https://github.com/python/cpython/blob/v3.8.0/PCbuild/python.props#L62), and so the binaries are always used.

So it is possible to build from source, but you have to move libffi yourself after running `get_externals_bat --libffi-src`. I think the fix here is to make get_externals.bat and visual studio always use a versioned directory.
History
Date User Action Args
2019-12-02 23:38:33AWhettersetrecipients: + AWhetter, paul.moore, tim.golden, zach.ware, steve.dower
2019-12-02 23:38:33AWhettersetmessageid: <1575329913.13.0.856957660536.issue38957@roundup.psfhosted.org>
2019-12-02 23:38:33AWhetterlinkissue38957 messages
2019-12-02 23:38:32AWhettercreate