Description of problem: Package compat-gcc-34-c++ is not installable on Fedora 26. Version-Release number of selected component (if applicable): 3.4.6 How reproducible: Steps to Reproduce: 1. sudo dnf install compat-gcc-34-c++ 2. 3. Actual results: Last metadata expiration check: 0:51:14 ago on Sun Nov 19 02:31:43 2017. Error: Problem: conflicting requests - nothing provides libstdc++ < 7.0.0 needed by compat-gcc-34-c++-3.4.6-41.fc26.x86_64 Expected results: Successful installation of compat-gcc-34-c++ Additional info: $ LANG=C dnf info libstdc++ Last metadata expiration check: 0:38:01 ago on Sun Nov 19 02:45:50 2017. Installed Packages Name : libstdc++ Version : 7.2.1 Release : 2.fc26 Arch : i686 Size : 1.9 M Source : gcc-7.2.1-2.fc26.src.rpm Repo : @System From repo : @commandline Summary : GNU Standard C++ Library URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD Description : The libstdc++ package contains a rewritten standard compliant GCC Standard : C++ Library. Name : libstdc++ Version : 7.2.1 Release : 2.fc26 Arch : x86_64 Size : 1.9 M Source : gcc-7.2.1-2.fc26.src.rpm Repo : @System From repo : @commandline Summary : GNU Standard C++ Library URL : http://gcc.gnu.org License : GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD Description : The libstdc++ package contains a rewritten standard compliant GCC Standard : C++ Library. $ LANG=C dnf info compat-gcc-34-c++ Last metadata expiration check: 0:38:19 ago on Sun Nov 19 02:45:50 2017. Available Packages Name : compat-gcc-34-c++ Version : 3.4.6 Release : 41.fc26 Arch : x86_64 Size : 9.9 M Source : compat-gcc-34-3.4.6-41.fc26.src.rpm Repo : fedora Summary : C++ support for compatibility compiler URL : http://gcc.gnu.org License : GPLv2+ and GPLv2+ with exceptions Description : This package includes a GCC 3.4.6-RH compatibility C++ compiler.
See also: bug 1423303.
Still present in Fedora 27.
"Requires: libstdc++ < 7.0.0" seems to be an attempt to ensure that an ABI-compatible version of libstdc++ is used, and conservatively names a version that is known to be compatible (rather than assuming that all future versions will be compatible). The libstdc++ from GCC 8.x is ABI compatible wiuth 3.4.x, so bumping the Requires: to 9.0.0 (allowing any GCC 8.x release) is fine.
I just fall into this issue with Fedora 26. I already have compat-gcc-34-c++-3.4.6-41.fc26.x86_64 installed. But it's now blocking any "dnf updates" because of the libstdc++ dependancy. What are the current action to solve this problem ? Are we waiting for an update on this package, or did I miss a workaround ?
compat-gcc-34-3.4.6-46.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b853bf34b
compat-gcc-34-3.4.6-46.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-61e0f160ba
(In reply to Stéphane PIQUEMAL from comment #4) > Are we waiting for an update on this package, or did I miss a workaround ? Updated packages are needed, but the maintainer has been very busy with gcc-8.0.1 in rawhide, and compat-gcc-34 is much lower priority. The updates have been submitted now and will be in updates-testing soon.
compat-gcc-34-3.4.6-46.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-61e0f160ba
compat-gcc-34-3.4.6-46.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7b853bf34b
Proposed update seem to works, I will provide feedback on bodhi: $ sudo dnf install compat-gcc-34-c++ --enablerepo=updates-testing [sudo] password for nico: Fedora 27 - x86_64 - Test Updates 750 kB/s | 4.4 MB 00:05 Last metadata expiration check: 0:00:05 ago on Fri Mar 2 00:03:14 2018. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: compat-gcc-34-c++ x86_64 3.4.6-46.fc27 updates-testing 9.9 M Upgrading: compat-gcc-34 x86_64 3.4.6-46.fc27 updates-testing 3.7 M Transaction Summary ================================================================================ Install 1 Package Upgrade 1 Package Total download size: 14 M Is this ok [y/N]: y Downloading Packages: [MIRROR] compat-gcc-34-3.4.6-46.fc27.x86_64.rpm: Status code: 404 for https://mirror.us-midwest-1.nexcess.net/fedora/updates/testing/27/x86_64/Packages/c/compat-gcc-34-3.4.6-46.fc27.x86_64.rpm [MIRROR] compat-gcc-34-c++-3.4.6-46.fc27.x86_64.rpm: Status code: 404 for https://mirror.us-midwest-1.nexcess.net/fedora/updates/testing/27/x86_64/Packages/c/compat-gcc-34-c++-3.4.6-46.fc27.x86_64.rpm [MIRROR] compat-gcc-34-3.4.6-46.fc27.x86_64.rpm: Status code: 404 for http://mirror.us-midwest-1.nexcess.net/fedora/updates/testing/27/x86_64/Packages/c/compat-gcc-34-3.4.6-46.fc27.x86_64.rpm [MIRROR] compat-gcc-34-c++-3.4.6-46.fc27.x86_64.rpm: Status code: 404 for http://mirror.us-midwest-1.nexcess.net/fedora/updates/testing/27/x86_64/Packages/c/compat-gcc-34-c++-3.4.6-46.fc27.x86_64.rpm (1/2): compat-gcc-34-3.4.6-46.fc27.x86_64.rpm 941 kB/s | 3.7 MB 00:03 (2/2): compat-gcc-34-c++-3.4.6-46.fc27.x86_64.r 2.2 MB/s | 9.9 MB 00:04 -------------------------------------------------------------------------------- Total 2.4 MB/s | 14 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : compat-gcc-34-3.4.6-46.fc27.x86_64 1/3 Installing : compat-gcc-34-c++-3.4.6-46.fc27.x86_64 2/3 Cleanup : compat-gcc-34-3.4.6-41.fc26.x86_64 3/3 Verifying : compat-gcc-34-c++-3.4.6-46.fc27.x86_64 1/3 Verifying : compat-gcc-34-3.4.6-46.fc27.x86_64 2/3 Verifying : compat-gcc-34-3.4.6-41.fc26.x86_64 3/3 Installed: compat-gcc-34-c++.x86_64 3.4.6-46.fc27 Upgraded: compat-gcc-34.x86_64 3.4.6-46.fc27 Complete! $ gcc34 --version gcc34 (GCC) 3.4.6 20060404 (Red Hat 3.4.6-46.fc27) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Wrong binary but still working: $ g++34 --version g++34 (GCC) 3.4.6 20060404 (Red Hat 3.4.6-46.fc27) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compat-gcc-34-3.4.6-46.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
compat-gcc-34-3.4.6-46.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.