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

Bug 918960

Summary: app-text/namazu-2.0.21 - [clang] ld.lld: error: undefined reference due to --no-allow-shlib-undefined: _nmz_memcmp
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-text:namazu-2.0.21:20231201-152940.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt
temp.tar.xz
var.tmp.clang.tar.xz

Description Toralf Förster gentoo-dev 2023-12-01 15:41:23 UTC
too long lines were shrinked:

2 warnings generated.
2 warnings generated.
/bin/sh ../libtool  --tag=CC   --mode=link clang  -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pedantic  -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o namazu form.o namazu.o output.o rcfile.o cha
/bin/sh ../libtool  --tag=CC   --mode=link clang  -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pedantic  -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o namazu.cgi form.o namazu.o output.o rcfile.o
libtool: link: clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pedantic -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/namazu form.o namazu.o output.o rcfile.o charset.o result.o usage.o namazu-cmd.o  -Wl,--as-needed ..
libtool: link: clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -pedantic -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/namazu.cgi form.o namazu.o output.o rcfile.o charset.o result.o usage.o cgi.o namazu-cgi.o  -Wl,--as
ld.lld: error: undefined reference due to --no-allow-shlib-undefined: _nmz_memcmp
>>> referenced by ../nmz/.libs/libnmz.so
ld.lld: error: undefined reference due to --no-allow-shlib-undefined: _nmz_memcmp

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

  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):
  [1]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 4f8cef8d5122e0362cad15c8712938113eb0bafb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 1 15:01:57 2023 +0000

    2023-12-01 15:01:56 UTC

emerge -qpvO app-text/namazu
[ebuild  N    ] app-text/namazu-2.0.21  USE="nls -emacs -static-libs -tk" L10N="-ja"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 15:41:24 UTC
Created attachment 876218 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 15:41:25 UTC
Created attachment 876219 [details]
app-text:namazu-2.0.21:20231201-152940.log
Comment 3 Toralf Förster gentoo-dev 2023-12-01 15:41:27 UTC
Created attachment 876220 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-01 15:41:28 UTC
Created attachment 876221 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-01 15:41:29 UTC
Created attachment 876222 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 15:41:30 UTC
Created attachment 876223 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 15:41:31 UTC
Created attachment 876224 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-01 15:41:32 UTC
Created attachment 876225 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-01 15:41:33 UTC
Created attachment 876226 [details]
temp.tar.xz
Comment 10 Toralf Förster gentoo-dev 2023-12-01 15:41:34 UTC
Created attachment 876227 [details]
var.tmp.clang.tar.xz
Comment 11 Agostino Sarubbo gentoo-dev 2023-12-22 07:55:36 UTC
gcc14_tinderbox detected this bug as duplicate of 884023 - If this an error, please let me know

*** This bug has been marked as a duplicate of bug 884023 ***