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
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.
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
(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).
Created attachment 439009 [details] root.log from koji.afroditi.hellasgrid.gr
Created attachment 439010 [details] build.log from koji.afroditi.hellasgrid.gr
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
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
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.