[Nagiosplug-devel] rpmbuild of latest nagios-plugins fails

Ruslan Valiyev linuxoid at gmail.com
Thu Jun 6 09:17:43 CEST 2013


Hi all,

I'm getting an error during rpmbuild when trying to build rpm from latest nagios-plugins-HEAD.tar.gz

Looks like this library is shipped with the plugins package(?)

Any hints on how to get rid of the error?

+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: nagios-plugins-1.4.16-1.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/nagios-plugins-1.4.16-1.x86_64/usr/lib/nagios/plugins/libnpcommon.a
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hZvPb5
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd nagios-plugins-1.4.16
+ DOCDIR=/root/rpmbuild/BUILDROOT/nagios-plugins-1.4.16-1.x86_64/usr/share/doc/nagios-plugins-1.4.16
+ export DOCDIR
+ rm -rf /root/rpmbuild/BUILDROOT/nagios-plugins-1.4.16-1.x86_64/usr/share/doc/nagios-plugins-1.4.16
+ /bin/mkdir -p /root/rpmbuild/BUILDROOT/nagios-plugins-1.4.16-1.x86_64/usr/share/doc/nagios-plugins-1.4.16
+ cp -pr CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS /root/rpmbuild/BUILDROOT/nagios-plugins-1.4.16-1.x86_64/usr/share/doc/nagios-plugins-1.4.16
+ cp -pr ChangeLog command.cfg /root/rpmbuild/BUILDROOT/nagios-plugins-1.4.16-1.x86_64/usr/share/doc/nagios-plugins-1.4.16
+ exit 0


RPM build errors:
    File not found: /root/rpmbuild/BUILDROOT/nagios-plugins-1.4.16-1.x86_64/usr/lib/nagios/plugins/libnpcommon.a


Thanks.

Ruslan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nagios-plugins.org/archive/devel/attachments/20130606/736466c2/attachment.html>


More information about the Devel mailing list