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.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org

Reply via email to