Summary: | sys-fs/xfsprogs-6.3.0 - rdwr.c: error: unknown type name off64_t | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, vimproved |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/32008 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 903611, 920477 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.clang.tar.bz2 etc.portage.tar.bz2 logs.tar.bz2 sys-fs:xfsprogs-6.3.0:20230523-045150.log temp.tar.bz2 FEATURE TEST MACRO fix for musl |
Description
Toralf Förster
![]() Created attachment 862317 [details]
emerge-info.txt
Created attachment 862318 [details]
emerge-history.txt
Created attachment 862319 [details]
environment
Created attachment 862320 [details]
etc.clang.tar.bz2
Created attachment 862321 [details]
etc.portage.tar.bz2
Created attachment 862322 [details]
logs.tar.bz2
Created attachment 862323 [details]
sys-fs:xfsprogs-6.3.0:20230523-045150.log
Created attachment 862324 [details]
temp.tar.bz2
Created attachment 874139 [details, diff]
FEATURE TEST MACRO fix for musl
A more elaborate patch should probably detect the availability of the corresponding FTM
(In reply to Sven E. from comment #9) > Created attachment 874139 [details, diff] [details, diff] > FEATURE TEST MACRO fix for musl > > A more elaborate patch should probably detect the availability of the > corresponding FTM As discussed in the tracker bug, this is not a proper fix, and will break with the next musl release. Sent vimproved's fix upstream at https://lore.kernel.org/linux-xfs/20231105183939.1025279-1-sam@gentoo.org/T/#u. (In reply to Sam James from comment #10) > (In reply to Sven E. from comment #9) > > Created attachment 874139 [details, diff] [details, diff] [details, diff] > > FEATURE TEST MACRO fix for musl > > > > A more elaborate patch should probably detect the availability of the > > corresponding FTM > > As discussed in the tracker bug, this is not a proper fix, and will break > with the next musl release. I see. Will the alpine patch be limited to musl? Just asking, because a sys w/o file offset bits support might end up producing something with off_t being 32 bits. You'd certainly not want that. Wondering, it seems xfsprogs did use AC_SYS_LARGEFILE some time back, why was that dropped and instead off64_t used esp. since it does not go together with file offset bits but rather largefile64 offset? Confirmed this patch successfully works on armv6 via both RPI zero and qemu-arm with no early issues running the compiled code. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d64e0a8bf2551bcd233b11faca7cc49d01b10bc2 commit d64e0a8bf2551bcd233b11faca7cc49d01b10bc2 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-05 23:27:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-05 23:28:07 +0000 sys-fs/xfsprogs: add 6.6.0 Closes: https://bugs.gentoo.org/907039 Signed-off-by: Sam James <sam@gentoo.org> sys-fs/xfsprogs/Manifest | 1 + .../0001-Remove-use-of-LFS64-interfaces.patch | 652 +++++++++++++++++++++ .../files/0002-io-Adapt-to-64-bit-time_t.patch | 37 ++ ...uild-Request-64-bit-time_t-where-possible.patch | 31 + sys-fs/xfsprogs/xfsprogs-6.6.0.ebuild | 100 ++++ 5 files changed, 821 insertions(+) |