Hi folks,
If anyone has built the development version of CPython on Fedora in recent weeks you've likely received the following message:
``` The necessary bits to build these optional modules were not found: _uuid ```
This is a consequence of the new uuid accelerator module introduced in https://bugs.python.org/issue11063, which means there's a new optional build dependency in 3.7 that "sudo dnf builddep python3" won't pick up yet.
The first way that this can fail is simply because the new build dependency is missing:
$ ./configure | grep uuid checking for uuid_generate_time_safe... no
The fix for that is to install libuuid-devel:
$ sudo dnf install libuuid-devel $ ./configure | grep uuid checking for uuid_generate_time_safe... yes
However, there was also a bug in the build time check for the existence of `uuid.h` and I've only just submitted the PR to fix that: https://github.com/python/cpython/pull/4565
Cheers, Nick.
----- Original Message -----
From: "Nick Coghlan" ncoghlan@gmail.com To: "Fedora Python SIG" python-devel@lists.fedoraproject.org Sent: Sunday, November 26, 2017 3:52:50 AM Subject: Building the _uuid accelerator module for CPython 3.7
Hi folks,
If anyone has built the development version of CPython on Fedora in recent weeks you've likely received the following message:
The necessary bits to build these optional modules were not found: _uuidThis is a consequence of the new uuid accelerator module introduced in https://bugs.python.org/issue11063, which means there's a new optional build dependency in 3.7 that "sudo dnf builddep python3" won't pick up yet.
The first way that this can fail is simply because the new build dependency is missing:
$ ./configure | grep uuid checking for uuid_generate_time_safe... noThe fix for that is to install libuuid-devel:
$ sudo dnf install libuuid-devel $ ./configure | grep uuid checking for uuid_generate_time_safe... yesHowever, there was also a bug in the build time check for the existence of `uuid.h` and I've only just submitted the PR to fix that: https://github.com/python/cpython/pull/4565
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-leave@lists.fedoraproject.org
Thanks a bunch for the heads up Nick!
python-devel@lists.fedoraproject.org