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

Bug 922293

Summary: app-containers/lxd-5.20 fails to compile (MUSL-SYSTEM): sqlite3-binding.c:38268:42: error: pread64 undeclared here (not in a function)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Joonas Niilola <juippis>
Status: CONFIRMED ---    
Severity: normal CC: brahmajit.xyz, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-01-17 08:09:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-containers/lxd-5.20 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 2024-01-17 08:09:41 UTC
Created attachment 882459 [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 17:00:33 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).