Summary: | sys-process/audit: audit_strsplit_r is missing in static lib (was: net-misc/openssh-8.5_p1-r1: undefined reference to `audit_strsplit_r') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Rolf Eike Beer <eike> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | IN_PROGRESS --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/linux-audit/audit-userspace/commit/dcbc6c76b10651c1d1b27b95869ab82ee2153afe | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Rolf Eike Beer
![]() The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5373a2cab22d081f6427af2a8a6c9faee91bc767 commit 5373a2cab22d081f6427af2a8a6c9faee91bc767 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-03-30 23:22:20 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-03-30 23:39:45 +0000 sys-process/audit: bump to v3.0.1 Bug: https://bugs.gentoo.org/779430 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> sys-process/audit/Manifest | 1 + sys-process/audit/audit-3.0.1.ebuild | 154 +++++++++++++++++++++++++++++++++++ 2 files changed, 155 insertions(+) But now it will fail with:
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libaudit.a(libaudit.o): in function `audit_can_control':
> (.text+0x2cf7): undefined reference to `capng_save_state'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2d0a): undefined reference to `capng_have_capability'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2d15): undefined reference to `capng_restore_state'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libaudit.a(libaudit.o): in function `audit_can_write':
> (.text+0x2e67): undefined reference to `capng_save_state'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2e7a): undefined reference to `capng_have_capability'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2e85): undefined reference to `capng_restore_state'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libaudit.a(libaudit.o): in function `audit_can_read':
> (.text+0x2ec7): undefined reference to `capng_save_state'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2eda): undefined reference to `capng_have_capability'
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: (.text+0x2ee5): undefined reference to `capng_restore_state'
> collect2: error: ld returned 1 exit status
>
However,
# pkg-config --libs --static audit
-laudit -lcap-ng
|