Bug 749925 - Fedora15_Oct17: gcc-gfortran 32bit rpm installation conflict with 64bit rpm
Summary: Fedora15_Oct17: gcc-gfortran 32bit rpm installation conflict with 64bit rpm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 16
Hardware: ppc64
OS: All
unspecified
urgent
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-28 21:30 UTC by IBM Bug Proxy
Modified: 2011-11-10 16:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-29 17:57:31 UTC
Type: ---


Attachments (Terms of Use)
rpm.tar (40.00 KB, application/x-tar)
2011-10-28 21:30 UTC, IBM Bug Proxy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 76187 0 None None None Never

Description IBM Bug Proxy 2011-10-28 21:30:23 UTC
== Comment: #0 - Jifang Zhang <jizhang.com> - 2011.10.24 09:19:14 ==
I am testing toolchain for Fedora 10/17 build. In compiling 32 bit spec2006 it request gfortran 32 lib,etc. however,when I install the rpm it would give following conflict error with 64 bit rpms. 

Transaction Check Error:
  file /usr/lib/gcc/ppc64-redhat-linux/4.6.1/libgfortran.a from install of gcc-gfortran-4.6.1-10.fc16.ppc conflicts with file from package gcc-gfortran-4.6.1-10.fc16.ppc64
  file /usr/lib/gcc/ppc64-redhat-linux/4.6.1/libgfortran.so from install of gcc-gfortran-4.6.1-10.fc16.ppc conflicts with file from package gcc-gfortran-4.6.1-10.fc16.ppc64
  file /usr/lib/gcc/ppc64-redhat-linux/4.6.1/libgfortranbegin.a from install of gcc-gfortran-4.6.1-10.fc16.ppc conflicts with file from package gcc-gfortran-4.6.1-10.fc16.ppc64
  file /usr/lib/gcc/ppc64-redhat-linux/4.6.1/finclude/omp_lib.mod from install of gcc-gfortran-4.6.1-10.fc16.ppc conflicts with file from package gcc-gfortran-4.6.1-10.fc16.ppc64
  file /usr/lib/gcc/ppc64-redhat-linux/4.6.1/finclude/omp_lib_kinds.mod from install of gcc-gfortran-4.6.1-10.fc16.ppc conflicts with file from package gcc-gfortran-4.6.1-10.fc16.ppc64

Error Summary
-------------

== Comment: #1 - Jifang Zhang <jizhang.com> - 2011.10.24 15:22:33 ==
Here was what I was trying to install when I encountered above conflict:

On the node the following two 64bit rpms were installed

 rpm -qa|grep fortran
gcc-gfortran-4.6.1-10.fc16.ppc64
libgfortran-4.6.1-10.fc16.ppc64

So I tried to install their 32bit rpms.


yum install  gcc-gfortran-4.6.1-10.fc16.ppc

and it gave me the above error.

== Comment: #7 - Jifang Zhang <jizhang.com> - 2011.10.28 15:03:45 ==

rpm.tar

This tar have all files in /etc/rpm/.

== Comment: #8 - Jifang Zhang <jizhang.com> - 2011.10.28 15:05:02 ==
This still happens on Alpha release, that is 32bit install conflicts with 64bit rpm installed. 

== Comment: #9 - Steven J. Munroe <sjmunroe.com> - 2011.10.28 17:18:43 ==
This looks like a Fedora packaging bug. Basically can't decide if its is 23-/64- primary and builds both.

The Run-time RPM gcc-gfortran-4.6.1-10.fc16.ppc64 should be all you need for both 32-/64-bit runtime on a multi-arch PPC64 install. But there should be separate gcc-gfortran-devel rpm's to provide the 32-/64-bit static archives.

Comment 1 IBM Bug Proxy 2011-10-28 21:30:37 UTC
Created attachment 530745 [details]
rpm.tar

Comment 2 Jakub Jelinek 2011-10-29 17:57:31 UTC
gcc-* subpackages are to be installed for the primary architecture only, lib*{,-devel} subpackages can be installed for both architectures.
So, if you are installing gcc-gfortran.ppc by hand, it is a user error, you should just install libgfortran-*.ppc.


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