Bug 154631 - gcc4 requires outdated libstdc++
Summary: gcc4 requires outdated libstdc++
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc4   
(Show other bugs)
Version: 3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-04-13 06:25 UTC by Florin Andrei
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-13 19:13:43 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Florin Andrei 2005-04-13 06:25:20 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050323 Firefox/1.0.2 Fedora/1.0.2-1.3.1

Description of problem:
# yum install gcc4 gcc4-c++
Setting up Install Process
Setting up Repos
base                      100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================|  951 B    00:00
Reading repository metadata in from local files
base      : ################################################## 2622/2622
primary.xml.gz            100% |=========================| 320 kB    00:01
MD Read   : ################################################## 778/778
updates-re: ################################################## 778/778
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc4-c++ to pack into transaction set.
gcc4-c%2B%2B-4.0.0-0.8.i3 100% |=========================| 7.2 kB    00:00
---> Package gcc4-c++.i386 0:4.0.0-0.8 set to be updated
---> Downloading header for gcc4 to pack into transaction set.
gcc4-4.0.0-0.8.i386.rpm   100% |=========================|  11 kB    00:00
---> Package gcc4.i386 0:4.0.0-0.8 set to be updated
--> Running transaction check
--> Processing Dependency: libstdc++-devel = 3.4.2 for package: gcc4-c++
--> Processing Dependency: libstdc++ = 3.4.2 for package: gcc4-c++
--> Finished Dependency Resolution
Error: Missing Dependency: libstdc++-devel = 3.4.2 is needed by package gcc4-c++Error: Missing Dependency: libstdc++ = 3.4.2 is needed by package gcc4-c++
# rpm -q libstdc++
libstdc++-3.4.3-22.fc3


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


How reproducible:
Always

Steps to Reproduce:
1.see above
2.
3.
  

Additional info:

Comment 1 Jakub Jelinek 2005-04-13 07:07:27 UTC
Are you using an outdated mirror or don't have updates among channels?
Yum is trying to download 4.0.0-0.8, which is the original FC3 gcc4/gcc4-c++,
but FC3 updates have 4.0.0-0.41.fc3, that requires 3.4.3 libstdc++-devel.

Comment 2 Florin Andrei 2005-04-13 16:41:22 UTC
Hm, i did exactly the same thing on another system (update gcc3 to 3.4.3, then
"yum install gcc4 gcc4-c++" and it was fine.
I will try again in a few minutes on the machine that had the error and report
back to you.

Comment 3 Florin Andrei 2005-04-13 17:15:27 UTC
Ok, i went back to the system that failed last night, i did "yum install" again
and this time it was fine. Must have been a bad mirror yesterday.

# yum install gcc4 gcc4-c++
Setting up Install Process
Setting up Repos
base                      100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================|  951 B    00:00
Reading repository metadata in from local files
base      : ################################################## 2622/2622
updates-re: ################################################## 839/839
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for gcc4-c++ to pack into transaction set.
gcc4-c%2B%2B-4.0.0-0.41.f 100% |=========================|  16 kB    00:00
---> Package gcc4-c++.i386 0:4.0.0-0.41.fc3 set to be updated
---> Downloading header for gcc4 to pack into transaction set.
gcc4-4.0.0-0.41.fc3.i386. 100% |=========================|  19 kB    00:00
---> Package gcc4.i386 0:4.0.0-0.41.fc3 set to be updated
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Install: gcc4.i386 0:4.0.0-0.41.fc3 - updates-released
  Install: gcc4-c++.i386 0:4.0.0-0.41.fc3 - updates-released
Total download size: 5.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): gcc4-c++-4.0.0-0.4 100% |=========================| 2.4 MB    00:12
(2/2): gcc4-4.0.0-0.41.fc 100% |=========================| 2.7 MB    00:15
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: gcc4 100 % done 1/2
Installing: gcc4-c++ 100 % done 2/2

Installed: gcc4.i386 0:4.0.0-0.41.fc3 gcc4-c++.i386 0:4.0.0-0.41.fc3
Complete!



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