FS#73791 - gcc broken due to glibc mismatch

Attached to Project: Arch Linux
Opened by Tom Payne (twpayne) - Monday, 14 February 2022, 22:22 GMT
Last edited by Allan McRae (Allan) - Monday, 14 February 2022, 22:55 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Using a recent ArchLinux docker image:

$ pacman -Sy --noconfirm gcc
...
$ gcc --version
gcc: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by gcc)

Steps to reproduce:

Using Docker, note tag "base-20220213.0.47747" corresponds to "latest" at the time of reporting.

$ docker pull archlinux:base-20220213.0.47747
...
$ docker run -it archlinux:base-20220206.0.46909 sh -c "pacman -Sy --noconfirm gcc && gcc --version"
:: Synchronizing package databases...
core downloading...
extra downloading...
community downloading...
resolving dependencies...
looking for conflicting packages...

Package (4) Old Version New Version Net Change Download Size

core/binutils 2.38-3 30.45 MiB 6.02 MiB
core/gcc-libs 11.1.0-3 11.2.0-3 1.44 MiB 30.62 MiB
core/libmpc 1.2.1-1 0.15 MiB 0.07 MiB
core/gcc 11.2.0-3 156.72 MiB 42.32 MiB

Total Download Size: 79.03 MiB
Total Installed Size: 311.11 MiB
Net Upgrade Size: 188.76 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
gcc-11.2.0-3-x86_64 downloading...
gcc-libs-11.2.0-3-x86_64 downloading...
binutils-2.38-3-x86_64 downloading...
libmpc-1.2.1-1-x86_64 downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
:: Processing package changes...
upgrading gcc-libs...
installing binutils...
Optional dependencies for binutils
debuginfod: for debuginfod server/client functionality
installing libmpc...
installing gcc...
Optional dependencies for gcc
lib32-gcc-libs: for generating code for 32-bit ABI
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
gcc: /usr/lib/libc.so.6: version `GLIBC_2.34' not found (required by gcc)

This task depends upon

Closed by  Allan McRae (Allan)
Monday, 14 February 2022, 22:55 GMT
Reason for closing:  Not a bug
Comment by Tom Payne (twpayne) - Monday, 14 February 2022, 22:24 GMT
Oops, I mixed up a couple of docker image tags in the report. The problem occurs for both base-20220206.0.46909 and base-20220213.0.47747.
Comment by Doug Newgard (Scimmia) - Monday, 14 February 2022, 22:42 GMT
You did a partial update. This is unsupported, and what you're seeing is normal and expected.
Comment by Tom Payne (twpayne) - Monday, 14 February 2022, 22:48 GMT
Thanks for the fast response and sorry for the noise.

Loading...