Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 908664

Summary: sys-fs/f2fs-tools-1.16.0 fails to compile (MUSL-SYSTEM): libf2fs_io.c:73:23: error: conflicting types for lseek; have off_t(int, __u64, int) {aka long int(int, long long unsigned int, int)}
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: ceamac
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?id=b15b6cc56ac7764be17acbdbf96448f388992adc
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-06-17 12:26:52 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/f2fs-tools-1.16.0 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:54 UTC
Created attachment 864028 [details]
build.log

build log and emerge --info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-21 17:20:50 UTC
Please backport.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-21 17:33:22 UTC
i'll do it, actually
Comment 5 Larry the Git Cow gentoo-dev 2023-10-21 17:46:54 UTC
The bug has been closed via the following commit(s):

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

commit c5b54e85b0ab5dfaf9d9020ffa9e636d91b1dffc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-21 17:46:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-21 17:46:24 +0000

    sys-fs/f2fs-tools: fix build w/ musl-1.2.4
    
    Closes: https://bugs.gentoo.org/908664
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/f2fs-tools/f2fs-tools-1.16.0-r1.ebuild      |  56 +++
 .../files/f2fs-tools-1.16.0-musl-1.2.4-lfs.patch   | 403 +++++++++++++++++++++
 2 files changed, 459 insertions(+)