Bug 757047 - pth does not build on s390x
Summary: pth does not build on s390x
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pth
Version: 16
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-25 10:57 UTC by Andreas Schwab
Modified: 2011-11-25 13:56 UTC (History)
1 user (show)

Fixed In Version: pth-2.0.7-14.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-25 13:56:29 UTC
Type: ---


Attachments (Terms of Use)

Description Andreas Schwab 2011-11-25 10:57:30 UTC
+++ pwd
++ /builddir/build/BUILD/pth-2.0.7/pth-config --libdir
+ l=/usr/lib
+ '[' /usr/lib64 == /usr/lib64 ']'
+ '[' /usr/lib == /usr/lib64 ']'
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.LhfUIz (%check)
    Bad exit status from /var/tmp/rpm-tmp.LhfUIz (%check)
Child returncode was: 1

Comment 1 Michael Schwendt 2011-11-25 11:22:22 UTC
That's the %check section which discovered that %_libdir is /usr/lib64, but 'pth-config --libdir' returned something different.

You may need to update Patch2 for the target arch and pay attention to the commented part in the %build section, which removes a possibly hardcoded pth_libdir=/usr/lib64 from the pth-config script to make its checksum the same for all archs. I cannot help with s390x due to no access to such a machine.

Dan Horák has recently applied this patch for s390x and sparc64:
http://lists.fedoraproject.org/pipermail/scm-commits/2011-November/684379.html

Comment 2 Andreas Schwab 2011-11-25 11:52:35 UTC
What is your question?

Comment 3 Michael Schwendt 2011-11-25 11:58:31 UTC
You need to provide more details or supply me with a patch.

Comment 4 Michael Schwendt 2011-11-25 12:03:43 UTC
Apparently built successfully for s390x and s390:
http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=81935

Comment 5 Andreas Schwab 2011-11-25 12:14:35 UTC
This is about f16.

Comment 6 Michael Schwendt 2011-11-25 12:28:09 UTC
Please don't be so terse, but tell exactly what you want me to do. I cannot read your mind. Issues with secondary archs are handled by the Architecture Maintainer Teams: http://fedoraproject.org/wiki/Architectures#Packaging_Issues

I reassign this to Dan, who has fixed the package for s390x already, and who could tell how to proceed.

Comment 7 Dan Horák 2011-11-25 13:09:18 UTC
I think all what needs to be done here is to rebase the f16 branch to current master and build an update. It's not necessary to submit the update to bodhi. I will then grab the srpm from x86 koji and rebuild it in s390x koji. I will take care of all of that.


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