Debian Bug report logs -
#829575
undefined reference to `capng_have_capability'
Reported by: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Date: Sun, 3 Jul 2016 21:21:02 UTC
Severity: serious
Found in version aide/0.16~b1-1
Fixed in version aide/0.16-1
Done: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Laurent Bigonville <bigon@debian.org>:
Bug#829500; Package libaudit-dev.
(Sun, 03 Jul 2016 21:21:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
New Bug report received and forwarded. Copy sent to Laurent Bigonville <bigon@debian.org>.
(Sun, 03 Jul 2016 21:21:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: libaudit-dev
Version: 1:2.6.1-1
Severity: important
Dear Maintainer,
AIDE fails to build from source with libaudit-dev 1:2.6.1-1, due to
"undefined reference to `capng_have_capability'":
[...]
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o): In function `audit_is_enabled':
(.text+0x740): undefined reference to `capng_have_capability'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o): In function `audit_can_control':
(.text+0x273b): undefined reference to `capng_have_capability'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o): In function `audit_can_write':
(.text+0x274b): undefined reference to `capng_have_capability'
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o): In function `audit_can_read':
(.text+0x275b): undefined reference to `capng_have_capability'
collect2: error: ld returned 1 exit status
Makefile:586: recipe for target 'aide' failed
make[3]: *** [aide] Error 1
make[3]: Leaving directory '/build/aide-0.16~b1/aide'
Makefile:434: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/build/aide-0.16~b1/aide'
dh_auto_build: make -j1 returned exit code 2
debian/rules:33: recipe for target 'override_dh_auto_build-arch' failed
make[1]: *** [override_dh_auto_build-arch] Error 2
make[1]: Leaving directory '/build/aide-0.16~b1'
debian/rules:25: recipe for target 'build' failed
make: *** [build] Error 2
The full build log is attached.
Best regards
Hannes
[aide_0.16~b1-1_amd64.build.gz (application/gzip, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#829500; Package libaudit-dev.
(Mon, 04 Jul 2016 11:33:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Laurent Bigonville <bigon@debian.org>:
Extra info received and forwarded to list.
(Mon, 04 Jul 2016 11:33:07 GMT) (full text, mbox, link).
Message #10 received at 829500@bugs.debian.org (full text, mbox, reply):
clone -1
reassign -1 src:aide 0.16~b1-1
severity -1 serious
thanks
On Sun, 3 Jul 2016 23:17:43 +0200 Hannes von Haugwitz
<hannes@vonhaugwitz.com> wrote:
> Dear Maintainer,
>
> AIDE fails to build from source with libaudit-dev 1:2.6.1-1, due to
> "undefined reference to `capng_have_capability'":
>
> [...]
>
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o):
In function `audit_is_enabled':
> (.text+0x740): undefined reference to `capng_have_capability'
>
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o):
In function `audit_can_control':
> (.text+0x273b): undefined reference to `capng_have_capability'
>
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o):
In function `audit_can_write':
> (.text+0x274b): undefined reference to `capng_have_capability'
>
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libaudit.a(libaudit.o):
In function `audit_can_read':
> (.text+0x275b): undefined reference to `capng_have_capability'
> collect2: error: ld returned 1 exit status
> Makefile:586: recipe for target 'aide' failed
> make[3]: *** [aide] Error 1
> make[3]: Leaving directory '/build/aide-0.16~b1/aide'
> Makefile:434: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/build/aide-0.16~b1/aide'
> dh_auto_build: make -j1 returned exit code 2
> debian/rules:33: recipe for target 'override_dh_auto_build-arch' failed
> make[1]: *** [override_dh_auto_build-arch] Error 2
> make[1]: Leaving directory '/build/aide-0.16~b1'
> debian/rules:25: recipe for target 'build' failed
> make: *** [build] Error 2
There are actually 2 issues here:
1) libaudit.pc file doesn't have a dependency against libcap-ng
(something like Requires.private: libcap-ng) and this needs to be added.
2) The aide configure files doesn't use the pkg-config file at all to
guess the needed flags for audit. So the flags need to be added to
AUDITLIB variable (or the configure should be changed to use pkg-config)
Bug 829500 cloned as bug 829575
Request was from Laurent Bigonville <bigon@debian.org>
to control@bugs.debian.org.
(Mon, 04 Jul 2016 11:39:07 GMT) (full text, mbox, link).
Bug reassigned from package 'libaudit-dev' to 'src:aide'.
Request was from Laurent Bigonville <bigon@debian.org>
to control@bugs.debian.org.
(Mon, 04 Jul 2016 11:39:08 GMT) (full text, mbox, link).
No longer marked as found in versions audit/1:2.6.1-1.
Request was from Laurent Bigonville <bigon@debian.org>
to control@bugs.debian.org.
(Mon, 04 Jul 2016 11:39:09 GMT) (full text, mbox, link).
Marked as found in versions aide/0.16~b1-1.
Request was from Laurent Bigonville <bigon@debian.org>
to control@bugs.debian.org.
(Mon, 04 Jul 2016 11:39:10 GMT) (full text, mbox, link).
Severity set to 'serious' from 'important'
Request was from Laurent Bigonville <bigon@debian.org>
to control@bugs.debian.org.
(Mon, 04 Jul 2016 11:39:11 GMT) (full text, mbox, link).
Reply sent
to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
You have taken responsibility.
(Tue, 26 Jul 2016 22:27:09 GMT) (full text, mbox, link).
Notification sent
to Hannes von Haugwitz <hannes@vonhaugwitz.com>:
Bug acknowledged by developer.
(Tue, 26 Jul 2016 22:27:09 GMT) (full text, mbox, link).
Message #25 received at 829575-close@bugs.debian.org (full text, mbox, reply):
Source: aide
Source-Version: 0.16-1
We believe that the bug you reported is fixed in the latest version of
aide, 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 829575@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hannes von Haugwitz <hannes@vonhaugwitz.com> (supplier of updated aide 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 26 Jul 2016 21:50:19 +0200
Source: aide
Binary: aide aide-xen aide-dynamic aide-common
Architecture: source
Version: 0.16-1
Distribution: unstable
Urgency: medium
Maintainer: Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>
Changed-By: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Description:
aide - Advanced Intrusion Detection Environment - static binary
aide-common - Advanced Intrusion Detection Environment - Common files
aide-dynamic - Advanced Intrusion Detection Environment - dynamic binary
aide-xen - Advanced Intrusion Detection Environment - static binary for XEN
Closes: 829575
Changes:
aide (0.16-1) unstable; urgency=medium
.
* new upstream version, changes include:
- fix compilation with latest libaudit (closes: #829575)
* adapt debian/patches/10-manpages.patch
* debian/control:
- bump to Standards-Version 3.9.8 (no changes necessary)
Checksums-Sha1:
5845e8fd9c7fde3f8de1775e24509d278e5d5629 2142 aide_0.16-1.dsc
b97f65bb12701a42baa2cce45b41ed6367a70734 391009 aide_0.16.orig.tar.gz
88ba6256354bc4e69bc43bc6bce1a55082c7c1f4 79512 aide_0.16-1.debian.tar.xz
Checksums-Sha256:
722605ad7e05c5de8d5760c3b446f1add3c599788c77bfe05afd7d5b0896f377 2142 aide_0.16-1.dsc
a81c53a131c4fd130b169b3a26ac35386a2f6e1e014f12807524cc273ed97345 391009 aide_0.16.orig.tar.gz
501e9613c148068509ae3b6fd609effc127253a1cc663b54e36b8ce6f044ac55 79512 aide_0.16-1.debian.tar.xz
Files:
819ec8ef98fbe43de1c7274005d1fd4e 2142 admin optional aide_0.16-1.dsc
25c616f67c667acd4088747ae7f6a9a3 391009 admin optional aide_0.16.orig.tar.gz
a8b9fbbf94874672cde256772781dee7 79512 admin optional aide_0.16-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQGcBAEBCAAGBQJXl8g2AAoJEBjuhjhgIu9XNIkL/1NmZOe24gElNcqtNo8eN/Lk
nuiyr+0I187m3WxWyy1BiuYYafEgZ3El3WPSmA40j8C8m6YMMFynHlNUmZoYNh/8
ldhAeN9MwWzxMYKqaEBmOXeFNje+yY2zi7xYqd0QOFBSNzOqYoPuWUOkZJDH3mAq
PtuqMu/o+3lGwuVZyI8jmpvMaLXwYAOl7x1wvN01r6Z+NltRJ2Ds4oGiCxYDz2J7
Zq/8Dnmaa0Spkd7ej2b0G4RoqjgK46Zc8JGErZNMCNdzLSiGXUyvcklsBAGLJ2Qd
uppWTrk7LfGbMzITeyFII45pJzaRVsdjbSA9+a+V+ZXYkwpsqiAjTalA/lDP2Qnd
JOpbKiOHoam0bMxBF/KgtJOTZAjf+CMB87KC34WgkUGYPMlZXfGqpDmm3epnjEQM
olaLJHJx0jsm0+nVeXZxE7jMJDu7VqyWpBCqBp8jUAyM5dC0NthHO6OCgclC/2AY
zxIRxwcBfmOEljnBNyGxweAKzBKCwOtXhkP0kjeOpA==
=LiJl
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 24 Aug 2016 07:35:06 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 08:51:55 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.