Bug 649901
Summary: | SSSD fails to build on 64 bit ppc architecture | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Jenny Severance <jgalipea> | ||||||||||
Component: | sssd | Assignee: | Stephen Gallagher <sgallagh> | ||||||||||
Status: | CLOSED NOTABUG | QA Contact: | Chandrasekar Kannan <ckannan> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | low | ||||||||||||
Version: | 6.0 | CC: | benl, dmalcolm, jgalipea, lockhart, sgallagh | ||||||||||
Target Milestone: | rc | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | ppc64 | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2010-11-04 19:56:29 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Attachments: |
|
Description
Jenny Severance
2010-11-04 18:53:05 UTC
What versions of gcc and of python? The issue here relates to bug 649023. What's happening is that the "configure" test tries to compile a test file with a: #include <Python.h> but does not supply "-m64" on the gcc command line. This leads to __WORDSIZE being 32, rather than 64, which leads to "pyconfig.h" using "pyconfig-32.h" rather than "pyconfig-64.h". These latter header files are currently packaged within the core "python" package, rather than python-devel. This doesn't play as well as it could with multilib: whilst you can have both 32-bit and 64-bit -libs and -devel packages installed, you typically only have one of the core "python" packages installed. See bug 649023, also bug 647413. On Fedora 15, and RHEL5.6 onwards, I've moved the bulk of the core python package's files into python-libs, which should resolve this. Perhaps we should make a similar change to RHEL6's python packages. Does setting: CFLAGS=-m64 $CFLAGS in the environment of the rpmbuild allow you to work around this problem? I believe that this is being set up by "mock" in the build environment in which we do our official builds for ppc64 for RHEL6. Created attachment 457938 [details]
out put from rpm -qa
Created attachment 457939 [details]
out put from rpm -Va
Created attachment 458210 [details]
output from clean system rpm -qa
Created attachment 458211 [details]
output from clean system rpm -Va
|