Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912311 - net-irc/soju-0.6.2 - /.../internal.cgo2.c:13: undefined reference to sqlite3_auto_extension
Summary: net-irc/soju-0.6.2 - /.../internal.cgo2.c:13: undefined reference to sqlite3_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-08-15 17:21 UTC by Toralf Förster
Modified: 2023-11-17 12:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.27 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,73.58 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
environment (environment,89.90 KB, text/plain)
2023-08-15 17:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,900 bytes, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.77 KB, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details
net-irc:soju-0.6.2:20230815-114841.log.xz (net-irc:soju-0.6.2:20230815-114841.log.xz,38.77 KB, application/x-xz)
2023-08-15 17:21 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-15 17:21:53 UTC
too long lines were shrinked:

cd $WORK/b118
TERM='dumb' x86_64-gentoo-linux-musl-gcc -I /var/tmp/portage/net-irc/soju-0.6.2/work/go-mod/git.sr.ht/~emersion/go-sqlite3-fts5@v0.0.0-20230217131031-f2c8767594fc/internal -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b118=/tmp/go-build -gno-record-gcc-switches 
cd /var/tmp/portage/net-irc/soju-0.6.2/work/soju-0.6.2
TERM='dumb' x86_64-gentoo-linux-musl-gcc -I /var/tmp/portage/net-irc/soju-0.6.2/work/go-mod/git.sr.ht/~emersion/go-sqlite3-fts5@v0.0.0-20230217131031-f2c8767594fc/internal -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b118=/tmp/go-build -gno-record-gcc-switches 
# git.sr.ht/~emersion/go-sqlite3-fts5/internal
/usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: $WORK/b118/_x002.o: in function `go_fts5_init':
/tmp/go-build/internal.cgo2.c:13: undefined reference to `sqlite3_auto_extension'
collect2: error: ld returned 1 exit status
echo > $WORK/b118/dynimportfail

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20230814-144751

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 70ebcb7fe91ed1c365fff70523d7e696ee984b24
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 15 10:01:35 2023 +0000

    2023-08-15 10:01:34 UTC

emerge -qpvO net-irc/soju
[ebuild  N    ] net-irc/soju-0.6.2  USE="pam sqlite -moderncsqlite"
Comment 1 Toralf Förster gentoo-dev 2023-08-15 17:21:54 UTC
Created attachment 867885 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-15 17:21:55 UTC
Created attachment 867886 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-08-15 17:21:56 UTC
Created attachment 867887 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-08-15 17:21:57 UTC
Created attachment 867888 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-08-15 17:21:58 UTC
Created attachment 867889 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-15 17:21:59 UTC
Created attachment 867890 [details]
net-irc:soju-0.6.2:20230815-114841.log.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-15 17:21:59 UTC
The file size of ./files/temp.tar.xz is too big (17M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.0_musl_hardened-20230814-144751/var/tmp/tb/issues/20230815-114913-net-irc_soju-0.6.2/files/temp.tar.xz is valid.
Comment 8 Larry the Git Cow gentoo-dev 2023-11-17 12:07:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f0751d20026400268c4126f49634d28798df203

commit 5f0751d20026400268c4126f49634d28798df203
Author:     Alfred Persson Forsberg <cat@catcream.org>
AuthorDate: 2023-11-17 05:48:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-17 12:06:13 +0000

    net-irc/soju: pass -D_LARGEFILE64_SOURCE for musl-1.2.4
    
    [sam: The macro is not ideal at all but patching Go isn't exactly ideal
    itself. Besides, this was arleady in the ebuild, but ignored b/c Go doesn't
    yet in Gentoo respect CFLAGS et. al, although should soon.]
    
    See-also: https://github.com/mattn/go-sqlite3/issues/1164
    Closes: https://bugs.gentoo.org/912311
    Signed-off-by: Alfred Persson Forsberg <cat@catcream.org>
    Closes: https://github.com/gentoo/gentoo/pull/33863
    Signed-off-by: Sam James <sam@gentoo.org>

 net-irc/soju/soju-0.6.2.ebuild | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)