rpmbuild of latest nagios-plugins fails

VALIYEV Ruslan valiyev at unicc.org
Thu Jun 6 09:15:40 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: <https://www.monitoring-lists.org/archive/users/attachments/20130606/499dbbab/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list