Your message dated Wed, 06 Jan 2021 15:18:38 +0000 with message-id <[email protected]> and subject line Bug#978448: fixed in audit 1:3.0-2 has caused the Debian Bug report #978448, regarding Static linking fails with undefined reference to `audit_strsplit_r' to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 978448: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978448 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libaudit-dev Version: 1:3.0-1 Severity: normal Control: affects aide Control: block 978245 -1 Dear Maintainer, static linking fails with libaudit-dev 1:3.0-1, due to "undefined reference to `audit_strsplit_r'". Minimal example: $ cat main.c #include <stdio.h> #include <libaudit.h> int main() { audit_log_user_message(0, AUDIT_USER_LOGIN, "test", NULL, NULL, NULL, 0); return 0; } $ gcc -static -o /tmp/main main.c -laudit -lcap-ng /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libcap-ng.a(cap-ng.o): in function `capng_change_id': (.text+0x18df): warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libaudit.a(libaudit.o): in function `audit_rule_fieldpair_data': (.text+0x2324): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: (.text+0x2988): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libcap-ng.a(cap-ng.o): in function `capng_change_id': (.text+0x18c3): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libaudit.a(audit_logging.o): in function `_resolve_addr.constprop.0': (.text+0x246): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/libaudit.a(libaudit.o): in function `load_libaudit_config.constprop.0': (.text+0x23a): undefined reference to `audit_strsplit_r' /usr/bin/ld: (.text+0x25a): undefined reference to `audit_strsplit_r' /usr/bin/ld: (.text+0x280): undefined reference to `audit_strsplit_r' /usr/bin/ld: (.text+0x298): undefined reference to `audit_strsplit_r' /usr/bin/ld: /tmp/main: hidden symbol `audit_strsplit_r' isn't defined /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status Best regards Hannes
--- End Message ---
--- Begin Message ---Source: audit Source-Version: 1:3.0-2 Done: Laurent Bigonville <[email protected]> We believe that the bug you reported is fixed in the latest version of audit, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Laurent Bigonville <[email protected]> (supplier of updated audit package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 06 Jan 2021 15:47:08 +0100 Source: audit Architecture: source Version: 1:3.0-2 Distribution: unstable Urgency: medium Maintainer: Laurent Bigonville <[email protected]> Changed-By: Laurent Bigonville <[email protected]> Closes: 978056 978448 Changes: audit (1:3.0-2) unstable; urgency=medium . [ Helmut Grohne ] * Missing Build-Depends: linux-libc-dev (>= 5.9). (Closes: #978056) . [ Laurent Bigonville ] * d/t/libaudit-static-build: Add test for static linking against libaudit * Fix missing symbol in the static library, patch from upstream (Closes: #978448) Checksums-Sha1: 7cc3ca301bce7ba1e4a5e2f67d337d8054f88118 2397 audit_3.0-2.dsc d1148539c643079bf025c923437d537c62b147bb 18640 audit_3.0-2.debian.tar.xz 0652954b9b6f184835e5dcb0d753c299acdd533d 6972 audit_3.0-2_source.buildinfo Checksums-Sha256: 3cb83cc7649bb854c76f9cb6744b34091e667e433a91a57323938fdf3f353227 2397 audit_3.0-2.dsc 10193fa9823eb66dfb1220fb109b8b8e01f3f720c5a1630e9015d92aa7a8ce3a 18640 audit_3.0-2.debian.tar.xz 8cd333744e454caf1666d440bd57a9d3e2c567a0403bd8d56ae0c93cb4140696 6972 audit_3.0-2_source.buildinfo Files: f1609be5d4ad8e7f76e1b67567d84b06 2397 libs optional audit_3.0-2.dsc 15347d49dc0d258083f760f8ac148222 18640 libs optional audit_3.0-2.debian.tar.xz 530225ca89211b6ba9ec70ea09c8e62a 6972 libs optional audit_3.0-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAvFiEEmRrdqQAhuF2x31DwH8WJHrqwQ9UFAl/1z3YRHGJpZ29uQGRl Ymlhbi5vcmcACgkQH8WJHrqwQ9VDogf+LmgBEh1fSVA4C1s6CqDBbbI6g12avBA4 BazM1yb3EVdyZ+K/1NGO+JNLbVKQVtOsE8ZnBc8yH6jkJ9i6MRJ6wKSbeD+R9sJ/ 3RmjGCqe7ZdBG7AeXkhQtomz6e6Qz8xqa9Z9dRgH5kv1IE44dSj30fauPaB9j3lN 0MqYy4ujHlMLcNQiKQaQb2hiNhkhAlvGQF5XWfgTw6PZJPr3gjkBy5XE64kDRJMv zCPLm5TZYxcGOOJWcI+v3nmCYb7IV7MDfbBF+trLPwt4oxCelMojYf+HzTYFmsjB 2c0KiVz6+AvrYMuQwK7zoGikrYk+VimnOZJuF5ayTyggnPgRmYHbvQ== =F8pZ -----END PGP SIGNATURE-----
--- End Message ---

