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

Bug 712712

Summary: sys-process/audit-2.8.5 : /.../ld: /.../libauparse.so: undefined reference to rawmemchr
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: robbat2, selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-process:audit-2.8.5:20200315-152558.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-15 15:50:02 UTC
libtool: link: x86_64-gentoo-linux-musl-gcc -fPIE -DPIE -g -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pthread -Wno-pointer-sign -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -o .libs/auditd auditd-auditd.o auditd-auditd-event.o auditd-auditd-config.o auditd-auditd-reconfig.o auditd-auditd-sendmail.o auditd-auditd-dispatch.o auditd-auditd-listen.o  -Wl,--as-needed -Llibev -lev -L../lib -L../auparse /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5-abi_x86_64.amd64/auparse/.libs/libauparse.so /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5-abi_x86_64.amd64/lib/.libs/libaudit.so -lcap-ng -lpthread -lrt -lm -pthread
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5-abi_x86_64.amd64/auparse/.libs/libauparse.so: undefined reference to rawmemchr
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5-abi_x86_64.amd64/auparse/.libs/libauparse.so: undefined reference to strndupa
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:581: auditd] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200311-204810

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.2.0 *
 [2] 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-bin-1.41.1
  [2]   rust-1.41.1 *
The following VMs are available for generation-2:

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 15 Mar 2020 14:08:54 +0000
emerge -qpvO sys-process/audit
[ebuild  N    ] sys-process/audit-2.8.5  USE="(split-usr) -gssapi -ldap -python -static-libs" PYTHON_TARGETS="python3_6 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-03-15 15:50:05 UTC
Created attachment 619848 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-15 15:50:08 UTC
Created attachment 619850 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-15 15:50:11 UTC
Created attachment 619852 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-15 15:50:14 UTC
Created attachment 619854 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-15 15:50:16 UTC
Created attachment 619856 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-15 15:50:19 UTC
Created attachment 619858 [details]
sys-process:audit-2.8.5:20200315-152558.log
Comment 7 Toralf Förster gentoo-dev 2020-03-15 15:50:22 UTC
Created attachment 619860 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-03-16 16:12:24 UTC
The first attempt to tinderbox a musl image failed at all.

I'll mass close therefore all filed bug reports of the last days related to this tinderbox image.

Please feel free to re-open if you think that the bug is real in musl and not fixed by the musl overlay.