Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715468 - sys-libs/libselinux-3.0 : /.../ld: undefined reference to symbol fts_close
Summary: sys-libs/libselinux-3.0 : /.../ld: undefined reference to symbol fts_close
Status: RESOLVED DUPLICATE of bug 712494
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard: fts_standalone
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 15:05 UTC by Toralf Förster
Modified: 2021-03-17 04:44 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.20 KB, text/plain)
2020-03-30 15:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,87.60 KB, text/plain)
2020-03-30 15:05 UTC, Toralf Förster
Details
environment (environment,105.53 KB, text/plain)
2020-03-30 15:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.15 KB, application/x-bzip)
2020-03-30 15:05 UTC, Toralf Förster
Details
sys-libs:libselinux-3.0:20200330-121702.log (sys-libs:libselinux-3.0:20200330-121702.log,26.10 KB, text/plain)
2020-03-30 15:05 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.61 KB, application/x-bzip)
2020-03-30 15:05 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 2020-03-30 15:05:23 UTC
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I../include -D_GNU_SOURCE    -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -L../src  selabel_digest.c  -lselinux -o selabel_digest
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I../include -D_GNU_SOURCE    -fPIC -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -L../src  selabel_get_digests_all_partial_matches.c  -lselinux -o selabel_get_digests_all_partial_matches
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/sys-libs/libselinux-3.0/temp/ccMaJdNM.o: undefined reference to symbol fts_close
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /usr/lib/libfts.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: selabel_get_digests_all_partial_matches] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 11:40:23 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-libs/libselinux
[ebuild  N    ] sys-libs/libselinux-3.0  USE="-pcre2 -python -ruby -static-libs" PYTHON_TARGETS="python3_6 -python3_7 -python3_8" RUBY_TARGETS="ruby24 ruby25 -ruby26"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 15:05:25 UTC
Created attachment 627448 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 15:05:28 UTC
Created attachment 627450 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 15:05:31 UTC
Created attachment 627452 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-30 15:05:33 UTC
Created attachment 627454 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-30 15:05:36 UTC
Created attachment 627456 [details]
sys-libs:libselinux-3.0:20200330-121702.log
Comment 6 Toralf Förster gentoo-dev 2020-03-30 15:05:39 UTC
Created attachment 627458 [details]
temp.tbz2
Comment 7 Michael 'veremitz' Everitt 2020-03-30 15:34:47 UTC
Likely a missing dependency on sys-libs/fts-standalone for ELIBC_MUSL .
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-17 04:44:26 UTC

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