Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914635 - sys-libs/libnvme-1.5-r2 - [clang] ld.lld: error: version script assignment of LIBNVME_1_3 to symbol nvme_fdp_reclaim_unit_handle_status failed: symbol not def
Summary: sys-libs/libnvme-1.5-r2 - [clang] ld.lld: error: version script assignment of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 912821
  Show dependency tree
 
Reported: 2023-09-25 08:21 UTC by Toralf Förster
Modified: 2023-10-21 20:29 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.86 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,13.71 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
environment (environment,106.74 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-09-25 08:21 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,6.21 KB, application/x-xz)
2023-09-25 08:21 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.53 KB, application/x-xz)
2023-09-25 08:21 UTC, Toralf Förster
Details
sys-libs:libnvme-1.5-r2:20230925-032112.log (sys-libs:libnvme-1.5-r2:20230925-032112.log,21.72 KB, text/plain)
2023-09-25 08:21 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.07 KB, application/x-xz)
2023-09-25 08: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-09-25 08:21:31 UTC
too long lines were shrinked:

[17/60] clang -Isrc/libnvme-mi-test.so.p -Isrc -I../libnvme-1.5/src -I. -I../libnvme-1.5 -Iccan -I../libnvme-1.5/ccan -Iinternal -I../libnvme-1.5/internal -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -fomit-frame-pointer -D_GNU_SOURCE -include internal/config.h -O2 -pipe
[18/60] clang -Isrc/libnvme.so.1.5.0.p -Isrc -I../libnvme-1.5/src -I. -I../libnvme-1.5 -Iccan -I../libnvme-1.5/ccan -Iinternal -I../libnvme-1.5/internal -I/usr/include/json-c -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -fomit-frame-pointer -D_GNU_SOURCE -include interna
[19/60] clang -Isrc/libnvme-mi.so.1.5.0.p -Isrc -I../libnvme-1.5/src -I. -I../libnvme-1.5 -Iccan -I../libnvme-1.5/ccan -Iinternal -I../libnvme-1.5/internal -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -fomit-frame-pointer -D_GNU_SOURCE -include internal/config.h -O2 -pip
[20/60] clang  -o src/libnvme.so.1.5.0 src/libnvme.so.1.5.0.p/nvme_cleanup.c.o src/libnvme.so.1.5.0.p/nvme_nbft.c.o src/libnvme.so.1.5.0.p/nvme_fabrics.c.o src/libnvme.so.1.5.0.p/nvme_filters.c.o src/libnvme.so.1.5.0.p/nvme_ioctl.c.o src/libnvme.so.1.5.0.p/nvme_linux.c.o src/libnvme.so.1.5.0.p/nvme_
FAILED: src/libnvme.so.1.5.0 
clang  -o src/libnvme.so.1.5.0 src/libnvme.so.1.5.0.p/nvme_cleanup.c.o src/libnvme.so.1.5.0.p/nvme_nbft.c.o src/libnvme.so.1.5.0.p/nvme_fabrics.c.o src/libnvme.so.1.5.0.p/nvme_filters.c.o src/libnvme.so.1.5.0.p/nvme_ioctl.c.o src/libnvme.so.1.5.0.p/nvme_linux.c.o src/libnvme.so.1.5.0.p/nvme_log.c.o 
ld.lld: error: version script assignment of 'LIBNVME_1_3' to symbol 'nvme_fdp_reclaim_unit_handle_status' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBNVME_1_3' to symbol 'nvme_fdp_reclaim_unit_handle_update' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBNVME_1_0' to symbol 'nvme_attach_ns' 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 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]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *

  HEAD of ::gentoo
commit 3f8cd932f6b1a841ab840afe8dae021e7df921ee
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 25 02:31:40 2023 +0000

    2023-09-25 02:31:40 UTC

emerge -qpvO sys-libs/libnvme
[ebuild  N    ] sys-libs/libnvme-1.5-r2  USE="json ssl uuid -dbus -keyutils -python" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-09-25 08:21:32 UTC
Created attachment 871293 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-25 08:21:33 UTC
Created attachment 871294 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-25 08:21:34 UTC
Created attachment 871295 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-25 08:21:35 UTC
Created attachment 871296 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-25 08:21:36 UTC
Created attachment 871297 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-25 08:21:36 UTC
Created attachment 871298 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-25 08:21:37 UTC
Created attachment 871299 [details]
sys-libs:libnvme-1.5-r2:20230925-032112.log
Comment 8 Toralf Förster gentoo-dev 2023-09-25 08:21:38 UTC
Created attachment 871300 [details]
temp.tar.xz
Comment 9 Alfred Wingate 2023-10-10 01:34:14 UTC
Still exists in 1.6 but with only one symbol.
Comment 10 Larry the Git Cow gentoo-dev 2023-10-21 20:29:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c3ec43c781c83c1e699437f834869f4f8fc33d

commit 11c3ec43c781c83c1e699437f834869f4f8fc33d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-21 20:29:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-21 20:29:03 +0000

    sys-libs/libnvme: backport lld-17 fix
    
    Closes: https://bugs.gentoo.org/914635
    Thanks-to: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/libnvme/files/libnvme-1.6-lld-17.patch | 26 ++++++++
 sys-libs/libnvme/libnvme-1.6-r1.ebuild          | 82 +++++++++++++++++++++++++
 2 files changed, 108 insertions(+)