Bug 2254328

Summary: centos-stream-8-x86_64: /lib64/libc.so.6: version `GLIBC_2.34' not found
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan>
Component: mockAssignee: Copr Team <copr-team>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: copr-team, msuchy, philip.wyett, praiskup, williams
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-02-16 06:43:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kratochvil 2023-12-13 10:23:11 UTC
centos-stream-8-x86_64 cannot be installed on Fedora 38 x86_64. Should it work? Should be such config provided when it does not work?

Reproducible: Always

Steps to Reproduce:
1. mock -r centos-stream-8-x86_64 --init

Actual Results:  
INFO: mock.py version 5.2 starting (python version = 3.11.6, NVR = mock-5.2-1.fc38), args: /usr/libexec/mock/mock -r centos-stream-8-x86_64 --init
Start(bootstrap): init plugins
INFO: selinux disabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux disabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
Finish: clean chroot
Mock Version: 5.2
INFO: Mock Version: 5.2
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Guessed host environment type: unknown
INFO: Using bootstrap image: quay.io/centos/centos:stream8
INFO: Pulling image: quay.io/centos/centos:stream8
INFO: Copy content of container quay.io/centos/centos:stream8 to /var/lib/mock/centos-stream-8-x86_64-bootstrap/root
INFO: Checking that quay.io/centos/centos:stream8 image matches host's architecture
INFO: mounting quay.io/centos/centos:stream8 with podman image mount
INFO: image quay.io/centos/centos:stream8 as /var/lib/containers/storage/overlay/a2492d239accdd487d2cba0cfd7f66b3f3e01f80755e9b8a27c6b8e2b0ffda40/merged
INFO: umounting image quay.io/centos/centos:stream8 (/var/lib/containers/storage/overlay/a2492d239accdd487d2cba0cfd7f66b3f3e01f80755e9b8a27c6b8e2b0ffda40/merged) with podman image umount
INFO: Package manager dnf detected and used (fallback)
INFO: Bootstrap image not marked ready
Start(bootstrap): installing dnf tooling
/usr/libexec/platform-python: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /var/tmp/tmp.mock.e4dllk_5/lib64/nosync.so)
ERROR: Command failed: 
 # /usr/bin/systemd-nspawn -q -M abf91dc228214a8a808e43afed01d4a1 -D /var/lib/mock/centos-stream-8-x86_64-bootstrap/root -a --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/var/lib/mock/centos-stream-8-x86_64-bootstrap/root/installation-homedir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=LC_MESSAGES=C.UTF-8 '--setenv=LD_PRELOAD=/var/tmp/tmp.mock.e4dllk_5/$LIB/nosync.so' --resolv-conf=off /usr/bin/dnf-3 --releasever 8 --setopt=deltarpm=False --setopt=allow_vendor_change=yes --allowerasing --disableplugin=local --disableplugin=spacewalk --disableplugin=versionlock install python3-dnf python3-dnf-plugins-core
/usr/libexec/platform-python: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by /var/tmp/tmp.mock.e4dllk_5/lib64/nosync.so)


Expected Results:  
Installed mock chroot.

Comment 1 Pavel Raiskup 2024-02-16 06:43:50 UTC
Thank you for the report.  This is a known issue:
https://github.com/rpm-software-management/mock/issues/846

Closing as a duplicate of the nosync package bug.

*** This bug has been marked as a duplicate of bug 2019329 ***