[Nagiosplug-devel] Nagios-plugins.spec issues

Harper Mann hmann at itgroundwork.com
Tue Jan 18 11:39:30 CET 2005


Hi,

I get errors off the nagios-plugins.spec trying to build an RPM.

I downloaded the CVS Head this morning with a fresh CVS checkout.

tools/setup, configure and make ran without errors.

I did "make nagios-plugins-spec" to get the file.

Running "rpmbuild -bb ./nagios-plugins-spec" gives the error:
rpmbuild -bb ./nagios-plugins.spec
error: line 2: Illegal char '-' in version: Version: 1.4-beta2

I deleted the "-" from the spec then created
/usr/src/redhat/SOURCES/nagios-plugins-1.4beta2.tar.gz from the checkout
tree and re-ran the rpm build.  It gives:

<snip>
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.16632
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd nagios-plugins-1.4beta2
+
DOCDIR=/var/tmp/nagios-plugins-1.4beta2-1-root-root/usr/share/doc/nagios-plu
gins-1.4beta2
+ export DOCDIR
+ rm -rf
/var/tmp/nagios-plugins-1.4beta2-1-root-root/usr/share/doc/nagios-plugins-1.
4beta2
+ /bin/mkdir -p
/var/tmp/nagios-plugins-1.4beta2-1-root-root/usr/share/doc/nagios-plugins-1.
4beta2
+ cp -pr CODING COPYING FAQ INSTALL LEGAL README REQUIREMENTS SUPPORT THANKS
/var/tmp/nagios-plugins-1.4beta2-1-root-root/usr/share/doc/nagios-plugins-1.
4beta2
cp: cannot stat `THANKS': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.16632 (%doc)
Processing files: nagios-plugins-debuginfo-1.4beta2-1
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
RPM build errors:
    File not found:
/var/tmp/nagios-plugins-1.4beta2-1-root-root/usr/lib/nagios/plugins/check_fp
ing
    File not found:
/var/tmp/nagios-plugins-1.4beta2-1-root-root/usr/lib/nagios/plugins/check_ga
me
    File not found:
/var/tmp/nagios-plugins-1.4beta2-1-root-root/usr/lib/nagios/plugins/check_pg
sql
    Bad exit status from /var/tmp/rpm-tmp.16632 (%doc)

Anyone else see this one?

Regards,

- Harper

Harper Mann
Groundwork Open Source Solutions
510-599-2075 (cell)
http://itgroundwork.com







More information about the Devel mailing list