Bug 33090

Summary: Cannot bootstrap ghc-9.4.4 with ghc-bootstrap unless glibc-2.38 or higher is available
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: BackportsAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: 9   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: glibc CVE:
Status comment:

Description Kristoffer Grundström 2024-04-10 21:33:16 CEST
Description of problem: I'd like to request that glibc-2.39 gets backported to Mageia 9 from Cauldron because when I run rpmbuild -ba ghc-bootstrap.spec I end up with this error about not finding glibc-2.38:

/home/kristoffer/rpmbuild/BUILDROOT/ghc-bootstrap-9.4.4-1.mga9.x86_64/opt/lib/ghc-9.4.4/bin/ghc-pkg: /usr/lib64/libtinfo.so.6: no version information available (required by /home/kristoffer/rpmbuild/BUILDROOT/ghc-bootstrap-9.4.4-1.mga9.x86_64/opt/lib/ghc-9.4.4/bin/../lib/x86_64-linux-ghc-9.4.4/libHSterminfo-0.4.1.5-ghc9.4.4.so)
/home/kristoffer/rpmbuild/BUILDROOT/ghc-bootstrap-9.4.4-1.mga9.x86_64/opt/lib/ghc-9.4.4/bin/ghc-pkg: /usr/lib64/libc.so.6: version `GLIBC_2.38' not found (required by /home/kristoffer/rpmbuild/BUILDROOT/ghc-bootstrap-9.4.4-1.mga9.x86_64/opt/lib/ghc-9.4.4/bin/../lib/x86_64-linux-ghc-9.4.4/libHSrts-1.0.2-ghc9.4.4.so)
make: *** [Makefile:215: update_package_db] Error 1
error: Bad end status from /var/tmp/rpm-tmp.hrz5Gi (%install)

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

How reproducible: Everytime I try to build ghc-bootstrap using rpmbuild.

Steps to Reproduce:
1. Download https://drive.google.com/file/d/1FgXPRNhimrBXz94IdlahMsH25BaDAhnT/view?usp=sharing which is the src.rpm I built using rpmbuild -bs.
2. Try rebuilding the src.rpm using rpmbuild --rebuild ghc-bootstrap-8.10.1-1.mga9.src.rpm
3. The rebuild will fail saying that glibc-2.38 cannot be found.
Comment 1 sturmvogel 2024-04-11 03:33:30 CEST
...

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

Resolution: (none) => DUPLICATE
Status: NEW => RESOLVED