Hide Forgot
== 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.
Created attachment 530745 [details] rpm.tar
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.