[Nagiosplug-devel] Nagios-plugins.spec issues

Andreas Ericsson ae at op5.se
Wed Jan 19 01:26:09 CET 2005


Voon, Ton wrote:
> Harper,
> 
> There is a bug raised in SF for the spec.in file, but I don't use it and
> don't understand it enough to know what needs to be done. What do you
> recommend needs to be done to keep this file up to date?
> 

I can fix it. For starters, you can't have dashes in version OR release 
names (although I believe %version would be 1.4 and %release would be 
betax, so that should work itself out anyway).

> Ton
> 
> -----Original Message-----
> From: Harper Mann [mailto:hmann at itgroundwork.com] 
> Sent: 18 January 2005 19:40
> To: nagiosplug-devel at lists.sourceforge.net
> Subject: [Nagiosplug-devel] Nagios-plugins.spec issues
> 
> 
> 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
> 
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE
> limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE --
> well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________________
> Nagios Plugin Development Mailing List
> Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 
> -----------------------------------------
> Egg is a trading name of the Egg group of companies which includes: Egg plc
> (reg no 2448340), Egg Financial Products ltd (reg no 3319027), Egg
> International ltd (reg no 4059266), Egg Financial Intermediation ltd (reg
> no 382828), Egg Investments ltd (reg no 3403963) and Egg Banking plc (reg
> no 2999842.  Egg Investments Ltd, Egg Banking plc and Egg Financial
> Intermediation Ltd are authorised and regulated by the Financial Services
> Authority (FSA) and are entered in the FSA register under numbers 190518,
> 205621 and 309551 respectively. These members of the Egg group are
> registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.    This e-mail is confidential and for
> use by the addressee only.  If you are not the intended recipient of this
> e-mail and have received it in error, please return the message to the
> sender by replying to it and then delete it from your mailbox.  Internet
> e-mails are not necessarily secure. The Egg group of companies do not
> accept responsibility for changes made to this message after it was sent.
> Whilst all reasonable care has been taken to avoid the transmission of
> viruses, it is the responsibility of the recipient to ensure that the
> onward transmission, opening or use of this message and any attachments
> will not adversely affect its systems or data. No responsibility is
> accepted by the Egg group of companies in this regard and the recipient
> should carry out such virus and other checks as it considers appropriate.
> This communication does not create or modify any contract.
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Devel mailing list