Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920159 - sys-fs/dd-rescue-1.99.13-r1 - fallocate64.h: error: unknown type name off64_t
Summary: sys-fs/dd-rescue-1.99.13-r1 - fallocate64.h: error: unknown type name off64_t
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL: https://sourceforge.net/p/ddrescue/ti...
Whiteboard:
Keywords:
Depends on: 939440
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-12-16 14:43 UTC by Toralf Förster
Modified: 2024-09-10 20:12 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.25 KB, text/plain)
2023-12-16 14:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.45 KB, text/plain)
2023-12-16 14:43 UTC, Toralf Förster
Details
environment (environment,91.88 KB, text/plain)
2023-12-16 14:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-16 14:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.14 KB, application/x-xz)
2023-12-16 14:43 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,6.71 KB, application/x-xz)
2023-12-16 14:43 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,151.20 KB, text/plain)
2023-12-16 14:43 UTC, Toralf Förster
Details
sys-fs:dd-rescue-1.99.13-r1:20231216-144044.log (sys-fs:dd-rescue-1.99.13-r1:20231216-144044.log,17.06 KB, text/plain)
2023-12-16 14:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,24.63 KB, application/x-xz)
2023-12-16 14:43 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-12-16 14:43:13 UTC
    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"
Comment 1 Toralf Förster gentoo-dev 2023-12-16 14:43:14 UTC
Created attachment 879612 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-16 14:43:15 UTC
Created attachment 879613 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-16 14:43:17 UTC
Created attachment 879614 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-16 14:43:17 UTC
Created attachment 879615 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-16 14:43:18 UTC
Created attachment 879616 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-16 14:43:19 UTC
Created attachment 879617 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-16 14:43:21 UTC
Created attachment 879618 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-16 14:43:22 UTC
Created attachment 879619 [details]
sys-fs:dd-rescue-1.99.13-r1:20231216-144044.log
Comment 9 Toralf Förster gentoo-dev 2023-12-16 14:43:23 UTC
Created attachment 879620 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-03-05 16:13:54 UTC
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(-)
Comment 11 ernsteiswuerfel archtester 2024-08-20 19:40:39 UTC
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.