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

Bug 876951

Summary: dev-python/Levenshtein-0.20.5 - clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-python:Levenshtein-0.20.5:20221013-050706.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-13 08:05:47 UTC
[4/5] Linking CXX shared module src/Levenshtein/levenshtein_cpp.cpython-310-x86_64-linux-gnu.so
FAILED: src/Levenshtein/levenshtein_cpp.cpython-310-x86_64-linux-gnu.so 
: && /usr/lib/llvm/15/bin/clang++ -fPIC -pipe -march=native -fno-diagnostics-color -O2 -O3 -DNDEBUG -flto=thin  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared  -o src/Levenshtein/levenshtein_cpp.cpython-310-x86_64-linux-gnu.so src/Levenshtein/CMakeFiles/levenshtein_cpp.dir/levenshtein_cpp.cxx.o src/Levenshtein/CMakeFiles/levenshtein_cpp.dir/Levenshtein-c/_levenshtein.cpp.o   && :
/usr/bin/x86_64-pc-linux-gnu-ld: /usr/lib/llvm/15/bin/../lib64/LLVMgold.so: error loading plugin: /usr/lib/llvm/15/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
  File "/usr/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 645, in setup

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20221012-170019

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [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):
GNU Make 4.3

  HEAD of ::gentoo
commit 74e69c859d83fcdc83da1a6f60e8f4bb5b0795e5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 13 02:49:08 2022 +0000

    2022-10-13 02:49:07 UTC

emerge -qpvO dev-python/Levenshtein
[ebuild  N    ] dev-python/Levenshtein-0.20.5  USE="-test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-10-13 08:05:49 UTC
Created attachment 823807 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-13 08:05:50 UTC
Created attachment 823809 [details]
dev-python:Levenshtein-0.20.5:20221013-050706.log
Comment 3 Toralf Förster gentoo-dev 2022-10-13 08:05:51 UTC
Created attachment 823811 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-13 08:05:53 UTC
Created attachment 823813 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-13 08:05:54 UTC
Created attachment 823815 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-13 08:05:55 UTC
Created attachment 823817 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-13 08:05:56 UTC
Created attachment 823819 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-13 13:36:09 UTC
The bug has been closed via the following commit(s):

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

commit c58795da6dc1ffed35420e7e2340a35d106917bb
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-10-13 12:41:58 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-10-13 13:36:06 +0000

    dev-python/Levenshtein: Stop the build system from forcing LTO
    
    Closes: https://bugs.gentoo.org/876951
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../{Levenshtein-0.20.5.ebuild => Levenshtein-0.20.5-r1.ebuild}    | 7 +++++++
 1 file changed, 7 insertions(+)