Bugzilla – Bug 1218627
Prettyprinter for gcc11 not installable
Last modified: 2024-01-09 09:16:43 UTC
``` # zypper in libstdc++6-pp-gcc11 Loading repository data... Reading installed packages... Resolving package dependencies... Problem: nothing provides 'libstdc++6 = 11.3.0+git1637-150000.1.11.2' needed by the to be installed libstdc++6-pp-gcc11-11.3.0+git1637-150000.1.11.2.x86_64 Solution 1: do not install libstdc++6-pp-gcc11-11.3.0+git1637-150000.1.11.2.x86_64 Solution 2: break libstdc++6-pp-gcc11-11.3.0+git1637-150000.1.11.2.x86_64 by ignoring some of its dependencies ``` As a result, it is impossible to get pretty-printing for binaries that were created using /usr/bin/g++-11.
on 15.5 while we ship pp-gcc11, thedefault libstdc++6 even in GA was from GCC12, there never was a libstdc++6 11 version on 15.5. So libstdc++6 is 12 or higher. its sadly unfixable currently in my eyes, or can the gcc12 pretty print work too?
is this a SUSE/openSUSE binary, we could rebuild it with gcc12 or 13
It works as designed - the pretty-printers are tied to a specific shared library version, you are supposed to use libstdc++6-pp-gccN from the compiler that provides the shared library - likely lihbstdc++6-pp-gcc13 by now. This should also magically be installed via Supplements: (gdb and libstdc++%{libstdcxx_sover}@variant@ = %{version}-%{release}) it's correct that libstdc++6-pp-gcc11 is not installable.
Could we add something like libstdc++6-pp(13): Obsoletes: libstdc++6-pp-gcc11?
Or rather, you are supposed to install simply libstdc++6-pp[-32bit]
(In reply to Jan Engelhardt from comment #4) > Could we add something like > > libstdc++6-pp(13): Obsoletes: libstdc++6-pp-gcc11? No, the -gccN packages should never appear in any repository nor should they be ever installed (they shouldn't ever be installable).