Summary: | sys-fs/mdadm-4.2-r1 - restripe.c: error: off64_t undeclared (first use in this function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | base-system |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 903611 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 sys-fs:mdadm-4.2-r1:20230523-224206.log temp.tar.bz2 lfs64.patch (from Alpine Linux) off64_t fix for musl |
Description
Toralf Förster
![]() Created attachment 862384 [details]
emerge-info.txt
Created attachment 862385 [details]
emerge-history.txt
Created attachment 862386 [details]
environment
Created attachment 862387 [details]
etc.clang.tar.bz2
Created attachment 862388 [details]
etc.portage.tar.bz2
Created attachment 862389 [details]
sys-fs:mdadm-4.2-r1:20230523-224206.log
Created attachment 862390 [details]
temp.tar.bz2
Created attachment 872995 [details, diff] lfs64.patch (from Alpine Linux) The patch taken from Alpine Linux fixes the issue. https://git.alpinelinux.org/aports/tree/main/mdadm/lfs64.patch Created attachment 874140 [details, diff]
off64_t fix for musl
Alternate fix using different FTM
I'm not sure which impact resorting to off_t exactly has, esp. on non 64-Bit systems. (In reply to Sven E. from comment #9) > Created attachment 874140 [details, diff] [details, diff] > off64_t fix for musl > > Alternate fix using different FTM As per the tracker, that is not a valid fix and will break with the next musl release. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dd1d90f9d2e064ed0c85043264f09734a6a842a commit 5dd1d90f9d2e064ed0c85043264f09734a6a842a Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-03-03 16:50:12 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-03-03 16:50:12 +0000 sys-fs/mdadm: Apply musl-1.2.4 largefile workaround Bug: https://bugs.gentoo.org/907082 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-fs/mdadm/mdadm-4.2-r2.ebuild | 5 ++++- sys-fs/mdadm/mdadm-4.2-r3.ebuild | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) |