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

Bug 913730

Summary: sys-apps/toybox-0.8.9 - /.../ld: cannot find -lselinux: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrick Lauer <patrick>
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
sys-apps:toybox-0.8.9:20230906-183503.log
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-09-06 18:38:47 UTC
too long lines were shrinked:

echo -n  -lcrypt
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wundef -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-pointer-sign -funsigned-char -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -xc - -lm -o generated/unstripped/libprobe
echo -n  -lm
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wundef -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-pointer-sign -funsigned-char -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -xc - -lresolv -o generated/unstripped/libprobe
echo -n  -lresolv
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wundef -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-pointer-sign -funsigned-char -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -xc - -lselinux -o generated/unstripped/libprobe
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lselinux: No such file or directory
collect2: error: ld returned 1 exit status
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wundef -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-pointer-sign -funsigned-char -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -xc - -lsmack -o generated/unstripped/libprobe

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20230903-194504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit 4720a9f83f1d9cd63a7e17751e7cd78db00190d6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Sep 6 17:17:27 2023 +0000

    2023-09-06 17:17:27 UTC

emerge -qpvO sys-apps/toybox
[ebuild  N    ] sys-apps/toybox-0.8.9  USE="-savedconfig"
Comment 1 Toralf Förster gentoo-dev 2023-09-06 18:38:48 UTC
Created attachment 869960 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-06 18:38:50 UTC
Created attachment 869961 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-09-06 18:38:51 UTC
Created attachment 869962 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-06 18:38:52 UTC
Created attachment 869963 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-06 18:38:52 UTC
Created attachment 869964 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-06 18:38:53 UTC
Created attachment 869965 [details]
sys-apps:toybox-0.8.9:20230906-183503.log
Comment 7 Toralf Förster gentoo-dev 2023-09-06 18:38:54 UTC
Created attachment 869966 [details]
temp.tar.xz