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

Bug 918482

Summary: sys-auth/pam_mktemp-1.1.1 - [clang] ld.lld: error: version script assignment of global to symbol pam_sm_authenticate failed: symbol not defined
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sven Wegener <swegener>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt
sys-auth:pam_mktemp-1.1.1:20231125-041030.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-11-25 09:01:13 UTC
too long lines were shrinked:

>>> Configuring source in /var/tmp/portage/sys-auth/pam_mktemp-1.1.1/work/pam_mktemp-1.1.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-auth/pam_mktemp-1.1.1/work/pam_mktemp-1.1.1 ...
make -j4 CC=clang 'CFLAGS=-O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 --shared -Wl,--version-script,$(MAP)' USE_SELINUX=0 USE_APPEND_FL=0 
clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -c pam_mktemp.c
clang -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 --shared -Wl,--version-script,pam_mktemp.map pam_mktemp.o -lpam -o pam_mktemp.so
ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_authenticate' failed: symbol not defined
ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_chauthtok' failed: symbol not defined
ld.lld: error: version script assignment of 'global' to symbol 'pam_sm_setcred' failed: symbol not defined

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.5
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.5+libcxx
Python 3.11.6
Available Rust versions:
  [1]   rust-bin-1.73.0 *
php cli (if any):

  HEAD of ::gentoo
commit bf73a3024233244a52ac8b5146e71cb6ef8cea96
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 24 18:47:12 2023 +0000

    2023-11-24 18:47:11 UTC

emerge -qpvO sys-auth/pam_mktemp
[ebuild  N    ] sys-auth/pam_mktemp-1.1.1  USE="-prevent-removal (-selinux)"
Comment 1 Toralf Förster gentoo-dev 2023-11-25 09:01:14 UTC
Created attachment 875549 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-25 09:01:15 UTC
Created attachment 875550 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-25 09:01:17 UTC
Created attachment 875551 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-25 09:01:17 UTC
Created attachment 875552 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-25 09:01:18 UTC
Created attachment 875553 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-25 09:01:19 UTC
Created attachment 875554 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2023-11-25 09:01:20 UTC
Created attachment 875555 [details]
sys-auth:pam_mktemp-1.1.1:20231125-041030.log
Comment 8 Toralf Förster gentoo-dev 2023-11-25 09:01:21 UTC
Created attachment 875556 [details]
temp.tar.xz