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

Bug 908590

Summary: sys-cluster/teleport-4.1.4 fails to compile (MUSL-SYSTEM): sqlite3-binding.c:32520:42: error: pread64 undeclared here (not in a function)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Graeme Lawes <graemelawes>
Status: CONFIRMED ---    
Severity: normal CC: proxy-maint
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

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

Issue: sys-cluster/teleport-4.1.4 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:50 UTC
Created attachment 863916 [details]
build.log

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


fatal: not a git repository (or any parent up to mount point /var/tmp)
sqlite3-binding.c:32520:42: error: 'pread64' undeclared here (not in a function); did you mean 'pread'?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-01 17:00:06 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).