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

Bug 908589

Summary: sys-cluster/k3s-1.25.4_p1 fails to compile (MUSL-SYSTEM): sqlite3-binding.c:35901:42: error: pread64 undeclared here (not in a function)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2023-06-16 08:17:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-cluster/k3s-1.25.4_p1 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-16 08:17:46 UTC
Created attachment 863915 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-01 16:59:58 UTC
Just needs to use a newer version of go-sqlite3 (maybe it is already, please check - see https://github.com/mattn/go-sqlite3/issues/1164).