Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908662 - sys-fs/dmraid-1.0.0_rc16-r7 fails to compile (MUSL-SYSTEM): file.c:(.text+0x13f): undefined reference to lseek64
Summary: sys-fs/dmraid-1.0.0_rc16-r7 fails to compile (MUSL-SYSTEM): file.c:(.text+0x1...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-06-17 12:26 UTC by Agostino Sarubbo
Modified: 2024-04-28 11:17 UTC (History)
0 users

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


Attachments
build.log (build.log,111.78 KB, text/plain)
2023-06-17 12:26 UTC, Agostino Sarubbo
Details
lfs64.patch (from Alpine Linux) (lfs64.patch,543 bytes, patch)
2023-10-16 19:44 UTC, ernsteiswuerfel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-06-17 12:26:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/dmraid-1.0.0_rc16-r7 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-06-17 12:26:46 UTC
Created attachment 864026 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-17 12:26:47 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


file.c:(.text+0x13f): undefined reference to `lseek64'
collect2: error: ld returned 1 exit status
Comment 3 ernsteiswuerfel archtester 2023-10-16 19:44:27 UTC
Created attachment 873009 [details, diff]
lfs64.patch (from Alpine Linux)

This Alpine patch fixes the issue: https://git.alpinelinux.org/aports/tree/main/dmraid/lfs64.patch
Comment 4 Larry the Git Cow gentoo-dev 2024-03-03 20:44:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4c1e9f9ad2b3efe2d2080261675a72f69686137

commit c4c1e9f9ad2b3efe2d2080261675a72f69686137
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-03 20:43:49 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-03 20:43:49 +0000

    sys-fs/dmraid: Apply musl-1.2.4 largefile workaround
    
    Bug: https://bugs.gentoo.org/908662
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-fs/dmraid/dmraid-1.0.0_rc16-r7.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)