Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759610 - sci-physics/cernlib: missing compatibility with glibc 2.32+
Summary: sci-physics/cernlib: missing compatibility with glibc 2.32+
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords: PATCH, PMASKED
Depends on:
Blocks: glibc-2.32
  Show dependency tree
 
Reported: 2020-12-12 15:03 UTC by Rafal Lalik
Modified: 2021-02-01 09:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed glibc-2.32+ issue (glibc_2.32_comp.patch,968 bytes, patch)
2020-12-12 15:03 UTC, Rafal Lalik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rafal Lalik 2020-12-12 15:03:04 UTC
Created attachment 678184 [details, diff]
Fixed glibc-2.32+ issue

From man of sys_errlist:

Since glibc version 2.32, the declarations of sys_errlist and sys_nerr are no longer exposed by <stdio.h>.

As the cernlib still tries to compile agains these symbols, it fails if glibc-2.32 is used.

Attached patch fixes the problem. It should be compatible with all glibc versions presented in the tree.
Comment 1 Jonas Stein gentoo-dev 2020-12-12 23:45:02 UTC
Thank you. Did you write the patch? Is upstream informed? Is there a ticket upstream, which you could link here?
Comment 2 Rafal Lalik 2020-12-12 23:57:43 UTC
Yes, this is my patch.

As far as I know this is maintained by Debian group. I did not inform them yet. B Ut I did now and add you in cc in the e-mail.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-02-01 09:50:44 UTC
Package removed.