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

Bug 907752

Summary: net-analyzer/zabbix-6.4.11 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: Miroslav Šulc <fordfrog>
Status: CONFIRMED ---    
Severity: normal CC: flow
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=926175
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 926175    
Bug Blocks: 903611    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-06-03 12:48:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-analyzer/zabbix-6.4.3 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-03 12:48:43 UTC
Created attachment 863106 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-12 09:54:36 UTC
tinderbox_musl has reproduced this issue with version 6.4.11 - Updating summary.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-01 16:59:51 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).
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2024-03-03 18:43:40 UTC
Doesn't honor append-flags, doesnt honor CGO_CFLAGS.
Referring to maintainer.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2024-03-05 00:26:47 UTC
Fixed in zabbix-6.4.12