too long lines were shrinked: libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -Wwrite-strings -pipe -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -Wwrite-strings -pipe -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -Wwrite-strings -pipe -fvisibility=hidden -O2 -pipe -march= libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I../include -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -Wwrite-strings -pipe -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -c /bin/sh ../libtool --tag=CC --mode=link clang -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wstrict-prototypes -Wformat=2 -Wwrite-strings -pipe -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -Wl,--version-script=./libnftnl.map -version-info 1 libtool: link: clang -shared -fPIC -DPIC .libs/utils.o .libs/batch.o .libs/flowtable.o .libs/common.o .libs/gen.o .libs/table.o .libs/trace.o .libs/chain.o .libs/object.o .libs/rule.o .libs/set.o .libs/set_elem.o .libs/ruleset.o .libs/udata.o .libs/expr.o .libs/expr_ops.o expr/.libs/bitwise.o expr ld.lld: error: version script assignment of 'LIBNFTNL_11' to symbol 'nftnl_chain_parse' failed: symbol not defined ld.lld: error: version script assignment of 'LIBNFTNL_11' to symbol 'nftnl_chain_parse_file' failed: symbol not defined ld.lld: error: version script assignment of 'LIBNFTNL_11' to symbol 'nftnl_set_elems_foreach' failed: symbol not defined ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_clang-20230924-160600 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.1 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.1+libcxx Python 3.11.5 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-1.72.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): [1] php8.1 * [2] php8.2 go version go1.21.1 linux/amd64 HEAD of ::gentoo commit 2bb842cc94982e926a763cfe91d20fc7004c0d15 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Sep 25 16:01:43 2023 +0000 2023-09-25 16:01:43 UTC emerge -qpvO net-libs/libnftnl [ebuild N ] net-libs/libnftnl-1.2.6 USE="(split-usr) -examples -static-libs -test -verify-sig"
Created attachment 871409 [details] emerge-info.txt
Created attachment 871410 [details] emerge-history.txt
Created attachment 871411 [details] environment
Created attachment 871412 [details] etc.clang.tar.xz
Created attachment 871413 [details] etc.portage.tar.xz
Created attachment 871414 [details] logs.tar.xz
Created attachment 871415 [details] net-libs:libnftnl-1.2.6:20230925-165005.log
Created attachment 871416 [details] temp.tar.xz
Can confirm this is still reproducible with ldd (Gentoo 2.38-r10 (patchset 10)) 2.38
For those still breaking on libnftnl-1.2.6-r1, create an env file changing the LDFLAGS to LDFLAGS=“${LDFLAGS} -Wl,—undefined-version"
(In reply to Andy from comment #10) > For those still breaking on libnftnl-1.2.6-r1, create an env file changing > the LDFLAGS to > LDFLAGS=“${LDFLAGS} -Wl,—undefined-version" is this an ebuild fix ?
(In reply to Toralf Förster from comment #11) > (In reply to Andy from comment #10) > > For those still breaking on libnftnl-1.2.6-r1, create an env file changing > > the LDFLAGS to > > LDFLAGS=“${LDFLAGS} -Wl,—undefined-version" > > is this an ebuild fix ? I woulnd't rate it as one. It's a package.env fix, solving the issue for this package and some others plagued by the same problem.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c839ffd09ed497f21c61c065b4de9a47ce6bb0e6 commit c839ffd09ed497f21c61c065b4de9a47ce6bb0e6 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-07-16 04:08:27 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-07-16 06:59:24 +0000 net-libs/libnftnl: add 1.2.7 Closes: https://bugs.gentoo.org/914710 Signed-off-by: Sam James <sam@gentoo.org> net-libs/libnftnl/Manifest | 2 + net-libs/libnftnl/libnftnl-1.2.7.ebuild | 71 +++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+)