| Summary: | cracklib-2.8.15 fail due to pyport.h:685:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alessandro Surace <zioalex> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info | ||
Created attachment 229197 [details]
emerge --info
(In reply to comment #0) > In file included from /usr/local/include/python2.6/Python.h:58, > from _cracklibmodule.c:27: > /usr/local/include/python2.6/pyport.h:685:2: error: #error "LONG_BIT definition Fix your system: You shouldn't have Python in /usr/local. Not a bug in cracklib. Oky but why it searchs in /usr/local ! I'll investigate |
sys-libs/cracklib-2.8.15 fail to build with the error: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DDEFAULT_CRACKLIB_DICT=\"/usr/lib64/cracklib_dict\" -DPYTHON_H=\"python2.6/Python.h\" -I. -I.. -I../lib -O2 -pipe -MT _cracklibmodule.lo -MD -MP -MF .deps/_cracklibmodule.Tpo -c _cracklibmodule.c -fPIC -DPIC -o .libs/_cracklibmodule.o In file included from /usr/local/include/python2.6/Python.h:58, from _cracklibmodule.c:27: /usr/local/include/python2.6/pyport.h:685:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)." make[2]: *** [_cracklibmodule.lo] Error 1 make[2]: Leaving directory `/opt/tmp/portage/sys-libs/cracklib-2.8.15/work/cracklib-2.8.15/python' make[1]: *** [all-recursive] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge -auvDN world 2. 3.