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

Bug 905912

Summary: dev-libs/libbsd-0.11.7-r2 fails to compile on musl 1.2.4 (unknown type name 'off64_t)
Product: Gentoo Linux Reporter: Violet Purcell <vimproved>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: freedesktop-bugs
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gitlab.freedesktop.org/libbsd/libbsd/-/merge_requests/24
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: build.log

Description Violet Purcell 2023-05-08 04:04:47 UTC
Caused by musl 1.2.4 LFS64 shim removal.

Reproducible: Always

Steps to Reproduce:
1. Setup llvm/musl with a 23.0 profile
2. emerge -av sys-libs/musl
3. emerge -av dev-libs/libbsd
Comment 1 Violet Purcell 2023-05-08 04:05:35 UTC
Created attachment 861288 [details]
build.log
Comment 3 Larry the Git Cow gentoo-dev 2023-05-09 13:43:55 UTC
The bug has been closed via the following commit(s):

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

commit 6d35e642cd7c454256eb22759ac1afe28a0c38ef
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-05-09 13:42:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-05-09 13:43:39 +0000

    dev-libs/libbsd: fix build w/ musl-1.2.4
    
    Closes: https://bugs.gentoo.org/905912
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libbsd/files/libbsd-0.11.7-musl-lfs.patch | 32 ++++++++++++++++++++++
 dev-libs/libbsd/libbsd-0.11.7-r2.ebuild            |  1 +
 2 files changed, 33 insertions(+)