Bug 718781

Summary: Broken dependencies of gcc. libgomp and libgcc.
Product: [Fedora] Fedora Reporter: Alexander Tanyukevich <atanyukevich>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: jakub
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-05 18:52:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
/etc/yum.repos.d none

Description Alexander Tanyukevich 2011-07-04 15:20:07 UTC
Description of problem:

Hi.
I've meet something like that.
It looks like gcc want's to install i686 version of libgomp but not x86_64.

# yum install gcc
Loaded plugins: langpacks, presto, refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.6.0-9.fc15 will be installed
--> Processing Dependency: libgomp = 4.6.0-9.fc15 for package: gcc-4.6.0-9.fc15.x86_64
--> Running transaction check
---> Package libgomp.i686 0:4.6.0-9.fc15 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libc.so.6 for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.0) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.0) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libpthread.so.0 for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: librt.so.1(GLIBC_2.2) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.3.4) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: librt.so.1 for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libgcc_s.so.1 for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libpthread.so.0(GLIBC_2.1) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libc.so.6(GLIBC_2.6) for package: libgomp-4.6.0-9.fc15.i686
--> Processing Dependency: libgcc_s.so.1(GCC_3.3.1) for package: libgomp-4.6.0-9.fc15.i686
--> Running transaction check
---> Package glibc.i686 0:2.14-4 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.14-4.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.14-4.i686
---> Package libgcc.i686 0:4.6.0-9.fc15 will be installed
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.12.10-2.fc15 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: libgcc-4.6.0-9.fc15.i686 != libgcc-4.6.0-10.fc15.x86_64
Error: Protected multilib versions: libgomp-4.6.0-9.fc15.i686 != libgomp-4.6.0-10.fc15.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest


Steps to Reproduce:
1. New fc15 installation
2. yum install gcc
3.
  
Additional info:

After
yumdownloader gcc
rpm -i --nodeps gcc-4.6.0-9.fc15.x86_64.rpm 
gcc looks good, but any way. From my point of view Package is broken.

Comment 1 Jakub Jelinek 2011-07-04 15:27:51 UTC
It is definitely not a bug in the package, most likely you have enabled updates-testing repo when updating, but not when installing gcc.

Comment 2 Alexander Tanyukevich 2011-07-04 15:41:10 UTC
I don't have any testing repo enabled. 
That's why I've wrote about that.

Comment 3 Alexander Tanyukevich 2011-07-04 15:42:25 UTC
Created attachment 511202 [details]
/etc/yum.repos.d

My /etc/yum.repos.d/ directory