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

Bug 907811

Summary: net-irc/soju-0.6.1 fails to compile (MUSL-SYSTEM): sqlite3-binding.c:35911:42: error: pread64 undeclared here (not in a function)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alfred Persson <cat>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/mattn/go-sqlite3/issues/1164
https://github.com/gentoo/gentoo/pull/31336
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 903611    
Attachments: build.log

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

Issue: net-irc/soju-0.6.1 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 20:41:08 UTC
Created attachment 863163 [details]
build.log

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


/tmp/go-build/internal.cgo2.c:13: undefined reference to `sqlite3_auto_extension'
sqlite3-binding.c:35911:42: error: 'pread64' undeclared here (not in a function); did you mean 'pread'?
Comment 3 Larry the Git Cow gentoo-dev 2023-06-11 08:44:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4141cf9c10519adfd589c404dcf18b09371f65d7

commit 4141cf9c10519adfd589c404dcf18b09371f65d7
Author:     Alfred Persson Forsberg <cat@catcream.org>
AuthorDate: 2023-06-07 02:11:47 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-06-11 08:44:29 +0000

    net-irc/soju: add 0.6.2
    
    Closes: https://bugs.gentoo.org/907811
    Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 net-irc/soju/Manifest          |  2 ++
 net-irc/soju/soju-0.6.2.ebuild | 69 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)