Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779529 - sys-process/audit-3.0.1 - /.../ld: ../.../libauparse.so: undefined reference to audit_detect_machine
Summary: sys-process/audit-3.0.1 - /.../ld: ../.../libauparse.so: undefined reference ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-31 11:14 UTC by Toralf Förster
Modified: 2023-12-27 10:13 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.26 KB, text/plain)
2021-03-31 11:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,42.46 KB, text/plain)
2021-03-31 11:14 UTC, Toralf Förster
Details
environment (environment,134.20 KB, text/plain)
2021-03-31 11:14 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.04 KB, application/x-bzip)
2021-03-31 11:14 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.22 KB, application/x-bzip)
2021-03-31 11:14 UTC, Toralf Förster
Details
sys-process:audit-3.0.1:20210331-104108.log (sys-process:audit-3.0.1:20210331-104108.log,193.78 KB, text/plain)
2021-03-31 11:14 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,38.36 KB, application/x-bzip)
2021-03-31 11:14 UTC, Toralf Förster
Details
https://https://github.com/linux-audit/audit-userspace/pull/160github.com/linux-audit/audit-userspace/pull/160 (audit-slibtool.patch,9.82 KB, patch)
2021-03-31 13:02 UTC, orbea
Details | Diff
https://github.com/linux-audit/audit-userspace/pull/160 (audit-slibtool.patch,9.82 KB, patch)
2021-03-31 13:02 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-31 11:14:29 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libaudit.so.1, needed by ../../../auparse/.libs/libauparse.so, not found (try using -rpath or -rpath-link)
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../auparse/.libs/libauparse.so: undefined reference to `audit_detect_machine'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../auparse/.libs/libauparse.so: undefined reference to `audit_msg_type_to_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../auparse/.libs/libauparse.so: undefined reference to `audit_flag_to_name'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../../auparse/.libs/libauparse.so: undefined reference to `audit_elf_to_machine'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210331-001544

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
Python 3.8.8
Available Ruby profiles:
  (none found)
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Mar 31 08:51:28 UTC 2021

emerge -qpvO sys-process/audit
[ebuild  N    ] sys-process/audit-3.0.1  USE="(split-usr) -gssapi -ldap -python -static-libs" PYTHON_TARGETS="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-03-31 11:14:31 UTC
Created attachment 696465 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-31 11:14:32 UTC
Created attachment 696468 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-03-31 11:14:33 UTC
Created attachment 696471 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-03-31 11:14:35 UTC
Created attachment 696474 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-03-31 11:14:36 UTC
Created attachment 696477 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-31 11:14:38 UTC
Created attachment 696480 [details]
sys-process:audit-3.0.1:20210331-104108.log
Comment 7 Toralf Förster gentoo-dev 2021-03-31 11:14:39 UTC
Created attachment 696483 [details]
temp.tar.bz2
Comment 9 orbea 2021-03-31 13:02:57 UTC
Created attachment 696513 [details, diff]
https://github.com/linux-audit/audit-userspace/pull/160

Fixed description field...
Comment 11 Larry the Git Cow gentoo-dev 2021-05-09 08:35:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b585fe61267e021273ad381650aa00bcb5df3eab

commit b585fe61267e021273ad381650aa00bcb5df3eab
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-07 17:02:43 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-09 08:35:36 +0000

    sys-process/audit: Fix for slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Upstream: https://github.com/linux-audit/audit-userspace/commit/a417399
    Closes: https://bugs.gentoo.org/779529
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-process/audit/audit-3.0.1.ebuild               |   5 +-
 sys-process/audit/files/audit-3.0.1-slibtool.patch | 207 +++++++++++++++++++++
 2 files changed, 211 insertions(+), 1 deletion(-)
Comment 12 Piku 2023-12-27 10:13:16 UTC
I am still facing this issue while using arm-none-linux-gnueabi toolchain 

mv -f .deps/audisp_syslog-audisp-syslog.Tpo .deps/audisp_syslog-audisp-syslog.Po
/bin/bash ../../../libtool  --tag=CC   --mode=link arm-none-linux-gnueabi-gcc -fPIE -DPIE -g -D_GNU_SOURCE -Wundef -Wno-unused-but-set-variable -g -O2 -pie -Wl,-z,relro -Wl,-z,now  -o audisp-syslog audisp_syslog-audisp-syslog.o  ../../../common/libaucommon.la ../../../auparse/libauparse.la
libtool: link: arm-none-linux-gnueabi-gcc -fPIE -DPIE -g -D_GNU_SOURCE -Wundef -Wno-unused-but-set-variable -g -O2 -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/audisp-syslog audisp_syslog-audisp-syslog.o  ../../../common/.libs/libaucommon.a ../../../auparse/.libs/libauparse.so
/sources/C2030_ws_signed/tools/arm-linux/arm-2011.09/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libaudit.so.1, needed by ../../../auparse/.libs/libauparse.so, not found (try using -rpath or -rpath-link)
../../../auparse/.libs/libauparse.so: undefined reference to `audit_detect_machine'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_msg_type_to_name'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_flag_to_name'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_elf_to_machine'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_name_to_msg_type'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_syscall_to_name'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_ftype_to_name'
../../../auparse/.libs/libauparse.so: undefined reference to `secure_getenv'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_machine_to_name'
../../../auparse/.libs/libauparse.so: undefined reference to `audit_errno_to_name'