Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1243111 - audit FTBFS during stage2 bootstrap - please, make the zos-remote plugin optional
audit FTBFS during stage2 bootstrap - please, make the zos-remote plugin opti...
Product: Fedora
Classification: Fedora
Component: audit (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Steve Grubb
Fedora Extras Quality Assurance
Depends On:
Blocks: fedora-bootstrap
  Show dependency treegraph
Reported: 2015-07-14 15:28 EDT by Jaromír Cápík
Modified: 2016-01-31 21:01 EST (History)
2 users (show)

See Also:
Fixed In Version: audit-2.4.3-1.fc21
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-07-28 21:56:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jaromír Cápík 2015-07-14 15:28:55 EDT
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[5]: 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
 #include <lber.h>
compilation terminated.
Makefile:461: recipe for target 'audispd_zos_remote-zos-remote-plugin.o' failed
make[5]: *** [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):

How reproducible:
Comment 1 Steve Grubb 2015-07-14 18:06:30 EDT
Fixed in upstream commit 1091.
Comment 2 Fedora Update System 2015-07-16 20:29:23 EDT
audit-2.4.3-1.fc21 has been submitted as an update for Fedora 21.
Comment 3 Fedora Update System 2015-07-17 21:59:46 EDT
Package audit-2.4.3-1.fc21:
* 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).
Comment 4 Fedora Update System 2015-07-28 21:56:43 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.