1 | #define _GNU_SOURCE | ffs.h:19: note: this is the location of the previous definition 19 | #define _GNU_SOURCE 1 | In file included from dd_rescue.c:159: fallocate64.h:25:9: error: unknown type name 'off64_t' 25 | typedef off64_t __off64_t; | ^~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20231214-201013 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-gentoo-linux-musl-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: [1] ruby31 (with Rubygems) * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm [3] openjdk-bin-21 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit fb47e87191c2866c91fdbdeb5327b7453a4e70d1 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Dec 16 14:03:52 2023 +0000 2023-12-16 14:03:52 UTC emerge -qpvO sys-fs/dd-rescue [ebuild N ] sys-fs/dd-rescue-1.99.13-r1 USE="lzo xattr -static" CPU_FLAGS_X86="avx2 sse4_2"
Created attachment 879612 [details] emerge-info.txt
Created attachment 879613 [details] emerge-history.txt
Created attachment 879614 [details] environment
Created attachment 879615 [details] etc.clang.tar.xz
Created attachment 879616 [details] etc.portage.tar.xz
Created attachment 879617 [details] logs.tar.xz
Created attachment 879618 [details] qlist-info.txt
Created attachment 879619 [details] sys-fs:dd-rescue-1.99.13-r1:20231216-144044.log
Created attachment 879620 [details] temp.tar.xz
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dff586ec1e93dae97dd97cfa2e310edbd633515 commit 2dff586ec1e93dae97dd97cfa2e310edbd633515 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-03-05 16:13:09 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-03-05 16:13:44 +0000 sys-fs/dd-rescue: Add nonstandard workaround for musl-1.2.4 See comments in the ebuild... Bug: https://bugs.gentoo.org/920159 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-fs/dd-rescue/dd-rescue-1.99.13-r1.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-)
I reported this upstream: https://sourceforge.net/p/ddrescue/tickets/7/ Meanwhile upstream got the musl issues sorted out and latest DD_RESCUE_1_99_BRANCH git builds fine on musl-1.2.4 (and 1.2.5). So with latest DD_RESCUE_1_99_BRANCH git the workaround is no longer needed.