CrackLib-2.10.2 python module

"Bruce Dubbs" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
I've been checking the packages that use Python with python-3.13.

In the cracklib build I've been unable to build the python module that we mention
in BLFS:

   Installed Libraries: libcrack.so and the _cracklib.so (Python module)

First, the configure command refuses to find python3.13/Python.h, yet that exists:

-rw-r--r-- 1 root root 3960 Oct 28 13:26 /usr/include/python3.13/Python.h

If I hack configure to force it to build the module, I get:

libtool: compile:  gcc -DHAVE_CONFIG_H 
-DDEFAULT_CRACKLIB_DICT=\"/usr/local/share/cracklib/pw_dict\" 
-DPYTHON_H=\"python3.13/Python.h\" -I. -I.. -DLOCALEDIR=\"/usr/local/share/locale\" 
-I../lib -Wall -g -O2 -MT _cracklib.lo -MD -MP -MF .deps/_cracklib.Tpo -c _cracklib.c 
  -fPIC -DPIC -o .libs/_cracklib.o
In file included from /usr/include/python3.13/pyatomic.h:9,
                  from /usr/include/python3.13/Python.h:70,
                  from _cracklib.c:28:
/usr/include/python3.13/cpython/pyatomic.h:532:12: fatal error: 
cpython/pyatomic_gcc.h: No such file or directory
   532 | #  include "cpython/pyatomic_gcc.h"
       |            ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

We do not mention cpython anywhere in BLFS although the Python build installs 50 
header files in the /usr/include/python3.13/cpython/ directory including pyatomic_gcc.h

I do note that Arch Linux passes --without-python to configure.

The easy way to go is to just remove the mention of the python module.

What do you think?

   -- Bruce

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.