Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918937 - sys-libs/basu-0.2.1 - [clang] ld.lld: error: version script assignment of global to symbol sd_bus_attach_event failed: symbol not defined
Summary: sys-libs/basu-0.2.1 - [clang] ld.lld: error: version script assignment of glo...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arsen Arsenović
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 09:23 UTC by Toralf Förster
Modified: 2023-12-01 09:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.59 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,45.34 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
environment (environment,108.71 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,21.17 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,5.06 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,95.43 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
sys-libs:basu-0.2.1:20231130-234907.log (sys-libs:basu-0.2.1:20231130-234907.log,136.98 KB, text/plain)
2023-12-01 09:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,38.64 KB, application/x-xz)
2023-12-01 09:23 UTC, Toralf Förster
Details
var.tmp.clang.tar.xz (var.tmp.clang.tar.xz,2.31 KB, application/x-xz)
2023-12-01 09:23 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-12-01 09:23:18 UTC
too long lines were shrinked:

[87/94] clang  -o test-bus-match test-bus-match.p/src_libsystemd_sd-bus_test-bus-match.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -pie -Wl,--gc-sections -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-need
[88/94] clang -Itest-bus-introspect.p -I. -I../basu-0.2.1 -Isrc/basic -I../basu-0.2.1/src/basic -Isrc/systemd -I../basu-0.2.1/src/systemd -Isrc/test -I../basu-0.2.1/src/test -I../basu-0.2.1/src/libsystemd/sd-bus -I../basu-0.2.1/src/libsystemd/sd-daemon -I../basu-0.2.1/src/libsystemd/sd-id128 -fdiagn
[89/94] clang  -o libbasu.so.0  -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libbasu.so.0 -Wl,--whole-archive src/libsystemd/libsystemd_static.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -pie -Wl,--gc-sections -O2 -pipe -march=native -fno-diagnostics-color -Wer
FAILED: libbasu.so.0 
clang  -o libbasu.so.0  -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libbasu.so.0 -Wl,--whole-archive src/libsystemd/libsystemd_static.a -Wl,--no-whole-archive -Wl,-z,relro -Wl,-z,now -pie -Wl,--gc-sections -O2 -pipe -march=native -fno-diagnostics-color -Werror=impl
clang-17: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld.lld: error: version script assignment of 'global' to symbol 'sd_bus_attach_event' failed: symbol not defined
ld.lld: error: version script assignment of 'global' to symbol 'sd_bus_detach_event' failed: symbol not defined
ld.lld: error: version script assignment of 'global' to symbol 'sd_bus_get_event' failed: symbol not defined

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_clang-20231129-092259

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6+libcxx
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit ee28b7d58666c1d047b807566a84c34d155eae00
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 30 23:02:01 2023 +0000

    2023-11-30 23:02:01 UTC

emerge -qpvO sys-libs/basu
[ebuild  N    ] sys-libs/basu-0.2.1  USE="-audit -caps"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 09:23:19 UTC
Created attachment 876065 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 09:23:20 UTC
Created attachment 876066 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-01 09:23:21 UTC
Created attachment 876067 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-01 09:23:22 UTC
Created attachment 876068 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-01 09:23:23 UTC
Created attachment 876069 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 09:23:24 UTC
Created attachment 876070 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 09:23:25 UTC
Created attachment 876071 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2023-12-01 09:23:27 UTC
Created attachment 876072 [details]
sys-libs:basu-0.2.1:20231130-234907.log
Comment 9 Toralf Förster gentoo-dev 2023-12-01 09:23:28 UTC
Created attachment 876073 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-01 09:23:28 UTC
Created attachment 876074 [details]
var.tmp.clang.tar.xz