Red Hat Bugzilla – Bug 1243111
audit FTBFS during stage2 bootstrap - please, make the zos-remote plugin optional
Last modified: 2016-01-31 21:01:43 EST
Description of problem:
During the stage2 bootstrap we experience the following FTBFS caused by the zos-remote plugin that requires <lber.h> header.
Making all in zos-remote
make: Entering directory '/stage2/builds/audit/audisp/plugins/zos-remote'
gcc -DHAVE_CONFIG_H -I. -I/stage2/rpmbuild/BUILD/audit-2.4.2/audisp/plugins/zos-remote -I../../.. -I/stage2/rpmbuild/BUILD/audit-2.4.2 -I/stage2/rpmbuild/BUILD/audit-2.4.2/li
/stage2/rpmbuild/BUILD/audit-2.4.2/audisp/plugins/zos-remote/zos-remote-plugin.c:39:18: fatal error: lber.h: No such file or directory
Makefile:461: recipe for target 'audispd_zos_remote-zos-remote-plugin.o' failed
make: *** [audispd_zos_remote-zos-remote-plugin.o] Error 1
However, the zos-remote plugin is not required in stage2 and we have to disable the plugin with the following sed call in order to get over the issue:
sed -i 's|zos-remote||g' $SRC/audit-*/audisp/plugins/Makefile.in
The missing header should be caught by the configure checks and it would be nice to make the zos-remote plugin optional with the --disable-zos or similar switch so that we don't have to pull unnecessary dependencies.
The problem has been discussed a half year ago here:
It would be great, if you could fix that and propagate the patch upstream.
Version-Release number of selected component (if applicable):
Fixed in upstream commit 1091.
audit-2.4.3-1.fc21 has been submitted as an update for Fedora 21.
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing audit-2.4.3-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
audit-2.4.3-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.