[Nagiosplug-devel] [ nagiosplug-Bugs-1105015 ] nagios.spec.in docs subdir fails rpmbuild

SourceForge.net noreply at sourceforge.net
Fri Feb 18 16:03:19 CET 2005


Bugs item #1105015, was opened at 2005-01-18 21:19
Message generated for change (Comment added) made by harpermann
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1105015&group_id=29880

Category: Argument proccessing
Group: CVS
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Harper Mann (harpermann)
Assigned to: Harper Mann (harpermann)
Summary: nagios.spec.in docs subdir fails rpmbuild

Initial Comment:
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


----------------------------------------------------------------------

>Comment By: Harper Mann (harpermann)
Date: 2005-02-18 16:02

Message:
Logged In: YES 
user_id=939531

This works with the complete release.  It was incorrect from 
CVS with the I18N stuff, but the released tar works fine and 
builds good RPMS. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1105015&group_id=29880




More information about the Devel mailing list