RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 649901 - SSSD fails to build on 64 bit ppc architecture
Summary: SSSD fails to build on 64 bit ppc architecture
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.0
Hardware: ppc64
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-04 18:53 UTC by Jenny Severance
Modified: 2015-01-04 23:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-04 19:56:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
out put from rpm -qa (155.81 KB, application/octet-stream)
2010-11-04 21:09 UTC, Jenny Severance
no flags Details
out put from rpm -Va (136.88 KB, application/octet-stream)
2010-11-04 21:09 UTC, Jenny Severance
no flags Details
output from clean system rpm -qa (17.95 KB, application/octet-stream)
2010-11-05 18:57 UTC, Jenny Severance
no flags Details
output from clean system rpm -Va (519 bytes, application/octet-stream)
2010-11-05 18:58 UTC, Jenny Severance
no flags Details

Description Jenny Severance 2010-11-04 18:53:05 UTC
Description of problem:
SSSD is failing to build on 64 bit ppc architecture.  

807-checking for python extension module directory... ${exec_prefix}/lib64/python2.6/site-packages 808-checking for headers required to compile python extensions... not found 809-configure: error: Could not find python headers 810-configure: error: ./configure failed for src 

http://nest.test.redhat.com/mnt/qa/scratch/ppcp-6s-m1/2010:10126/tps/tps-srpmtest.html

Version-Release number of selected component (if applicable):

sssd-1.2.1-28.el6.ppc64

How reproducible:
always

Steps to Reproduce:
1. ppc64 rpmbuild --rebuild --define "dist .el6_0" --target=ppc64 --rcfile /tmp/tps_rpmrc_DbMteo: /mnt/redhat/brewroot/packages/sssd/1.2.1/28.el6_0.2/src/sssd-1.2.1-28.el6_0.2.src.rpm 
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Dave Malcolm 2010-11-04 19:04:26 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.

Comment 3 Dave Malcolm 2010-11-04 19:05:51 UTC
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.

Comment 6 Jenny Severance 2010-11-04 21:09:16 UTC
Created attachment 457938 [details]
out put from rpm -qa

Comment 7 Jenny Severance 2010-11-04 21:09:48 UTC
Created attachment 457939 [details]
out put from rpm -Va

Comment 8 Jenny Severance 2010-11-05 18:57:54 UTC
Created attachment 458210 [details]
output from clean system rpm -qa

Comment 9 Jenny Severance 2010-11-05 18:58:37 UTC
Created attachment 458211 [details]
output from clean system rpm -Va


Note You need to log in before you can comment on or make changes to this bug.