New submission from Charalampos Stratakis <cstra...@redhat.com>:

Currently in Fedora glibc stopped providing libcrypt[0] a change which is 
slowly being upstreamed as well[1] in favor of the libxcrypt project[2].

This causes a segfault when importing the crypt module as python assumes that 
crypt.h is always available.

Providing a working patch from the libxcrypt maintainer. I'll convert the patch 
into a PR.

[0] https://fedoraproject.org/wiki/Changes/Replace_glibc_libcrypt_with_libxcrypt
[1] https://sourceware.org/ml/libc-alpha/2017-08/msg01257.html
[2] https://github.com/besser82/libxcrypt

----------
files: 00290-cryptmodule-Include-crypt.h-for-declaration-of-crypt.patch
keywords: patch
messages: 310490
nosy: cstratak
priority: normal
severity: normal
status: open
title: test_crypt segfaults when using libxcrypt instead of libcrypt
Added file: 
https://bugs.python.org/file47402/00290-cryptmodule-Include-crypt.h-for-declaration-of-crypt.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32635>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to