Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317267 - cracklib-2.8.15 fail due to pyport.h:685:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
Summary: cracklib-2.8.15 fail due to pyport.h:685:2: error: #error "LONG_BIT definitio...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 08:23 UTC by Alessandro Surace
Modified: 2010-08-13 14:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,5.29 KB, text/plain)
2010-04-26 08:25 UTC, Alessandro Surace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Surace 2010-04-26 08:23:24 UTC
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.
Comment 1 Alessandro Surace 2010-04-26 08:25:25 UTC
Created attachment 229197 [details]
emerge --info
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-26 08:41:06 UTC
(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.
Comment 3 Alessandro Surace 2010-08-13 14:15:07 UTC
Oky but why it searchs in /usr/local !
I'll investigate