Bug 624217

Summary: Building of packages depending on mpich2-devel fails on Koji
Product: [Fedora] Fedora EPEL Reporter: Paschalis Korosoglou <pkoro>
Component: mpich2Assignee: Deji Akingunola <dakingun>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: el5CC: dakingun
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mpich2-1.2.1p1-1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-03 21:55:59 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 Flags
root.log from koji.afroditi.hellasgrid.gr
none
build.log from koji.afroditi.hellasgrid.gr none

Description Paschalis Korosoglou 2010-08-14 15:05:05 UTC
Description of problem:

Trying to build an rpm with BuildRequires dependancy on mpich2-devel I get an error using Koji (building fails) as it installs both i386 and x86_64 rpms. However a post install script fails with exit code !=0 (something having to do with the other arch beeing installed first) and this breaks the building procedure. In effect this means that whenever mpich2-devel is required by another package building on Koji will fail. ExcludeArch or ExclusiveArch spec tags do not remedy the situation. 

I have bypassed the problem by using the following line:

BuildRequires: libTraceInput.so()(64bit)

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

mpich2-devel.1.2.1-3.el5.i386.rpm

How reproducible:

Include the following line in a spec file and submit the build to a Koji interface. 

BuildRequires: mpich2-devel

Actual results:

DEBUG util.py:256:  /usr/bin/mp32-mpicc has not been configured as an alternative for mpicc
DEBUG util.py:256:  error: %post(mpich2-devel-1.2.1-3.el5.i386) scriptlet failed, exit status 2

Comment 1 Deji Akingunola 2010-08-14 18:58:26 UTC
Can you please post the link to the failed koji build? I'm intrigued on how you get both i386 and x86_64 rpms installed to satisfy mpich2-devel dependency.

Comment 2 Paschalis Korosoglou 2010-08-16 06:48:48 UTC
The Koji interface I am using is koji.afroditi.hellasgrid.gr (number 0 on [1]) and I am afraid that for the moment access is limited to only a few people. 

The thing is I only need one of these packages for the build (just x86_64 in my case). However Koji tries to install both and fails. If you suggest that this behavior is problematic on the Koji side then I will further discuss the issue with the Koji administrator. 

Best,
Paschalis

[1] http://fedoraproject.org/wiki/Koji/RunsHere

Comment 3 Deji Akingunola 2010-08-16 16:44:13 UTC
(In reply to comment #2)
> The Koji interface I am using is koji.afroditi.hellasgrid.gr (number 0 on [1])
> and I am afraid that for the moment access is limited to only a few people. 
> 
Can you attach the root and build logs from the koji instance then? Otherwise I'm afraid I have to close this bug as 'INSUFFICIENT_DATA'

> The thing is I only need one of these packages for the build (just x86_64 in my
> case). However Koji tries to install both and fails. If you suggest that this
> behavior is problematic on the Koji side then I will further discuss the issue
> with the Koji administrator. 
> 
I think there's something wrong with that setup, mpich2 SHOULD NOT be requiring both i386 and x86_64 packages for building on x86_64 (unless it is being forced somehow).

Comment 4 Paschalis Korosoglou 2010-08-16 19:47:02 UTC
Created attachment 439009 [details]
root.log from koji.afroditi.hellasgrid.gr

Comment 5 Paschalis Korosoglou 2010-08-16 19:47:37 UTC
Created attachment 439010 [details]
build.log from koji.afroditi.hellasgrid.gr

Comment 6 Fedora Update System 2010-08-18 16:32:35 UTC
mpich2-1.2.1p1-1.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/mpich2-1.2.1p1-1.el5

Comment 7 Fedora Update System 2010-08-19 21:58:46 UTC
mpich2-1.2.1p1-1.el5 has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mpich2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/mpich2-1.2.1p1-1.el5

Comment 8 Fedora Update System 2010-09-03 21:55:54 UTC
mpich2-1.2.1p1-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.