Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908801 - sys-apps/sandbox - musl LFS64 deprecation
Summary: sys-apps/sandbox - musl LFS64 deprecation
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4 929967
  Show dependency tree
 
Reported: 2023-06-18 20:07 UTC by Mike Gilbert
Modified: 2024-05-03 08:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2023-06-18 20:07:37 UTC
According to the musl-1.2.4 release notes, support for the LFS64 structures and functions is deprecated and will be removed in a future release.

https://musl.libc.org/releases.html

sandbox uses these all over the place.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-18 20:56:16 UTC
As discussed on IRC, we'll almost-certainly need to typedef. We've had to tread a very delicate line with handling it on glibc (see e.g. https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=f4872fb69fe16fc416e4211d12811da61e8738b2).
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2024-03-05 00:40:28 UTC
Dunno what the problem is. It builds perfectly.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-05 00:46:47 UTC
(In reply to Andreas K. Hüttel from comment #2)
> Dunno what the problem is. It builds perfectly.

No, it builds fine because configure.ac passes -D_LARGEFILE64_SOURCE right now. That will stop working in future.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2024-03-05 00:52:49 UTC
OK. At least not a stable blocker for 1.2.4 ...
Comment 5 Jory A. Pratt gentoo-dev 2024-04-21 13:07:13 UTC
(In reply to Andreas K. Hüttel from comment #4)
> OK. At least not a stable blocker for 1.2.4 ...

The only issue I have seen is sandbox needs to be rebuild after musl update. Mozilla packages will fail with unresolved symbols open64 if not rebuild. There are most likely other packages that will fail in the same way, I have not done a full system rebuild to test the 1k packages or so this system has installed yet.