rpmbuild nagios-3.5.0

alexus alexus at gmail.com
Wed Jul 24 16:38:23 CEST 2013


[root at uftwfnagios ~]# tar -ztvf nagios-3.5.0.tar.gz | head -1
drwxrwxr-x nagios/nagios     0 2013-03-15 07:18 nagios/
[root at uftwfnagios ~]#

I see nagios inside of nagios-3.5.0.tar.gz not nagios-3.5.0.

[root at uftwfnagios nagios]# grep BuildRoot nagios.spec
BuildRoot: %{_tmppath}/%{name}-buildroot
[root at uftwfnagios nagios]#

as I mention earlier I was able to build w/out any issue 3.2.3
I'm thinking I should probably submit this as bug to nagios?



On Wed, Jul 24, 2013 at 10:19 AM, Werner Flamme <werner.flamme at ufz.de>wrote:

> alexus [24.07.2013 15:56]:
> > # md5sum nagios-3.5.0.tar.gz
> > aeef195d2033cc362bf6cb972bcc8f07  nagios-3.5.0.tar.gz
> > # rpmbuild -tb nagios-3.5.0.tar.gz
> > warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger,
> chkconfig,
> > sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
> > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOVWNc
> > + umask 022
> > + cd /root/rpmbuild/BUILD
> > + LANG=C
> > + export LANG
> > + unset DISPLAY
> > + cd /root/rpmbuild/BUILD
> > + rm -rf nagios-3.5.0
> > + /usr/bin/gzip -dc /root/nagios-3.5.0.tar.gz
> > + /bin/tar -xf -
> > + STATUS=0
> > + '[' 0 -ne 0 ']'
> > + cd nagios-3.5.0
> > /var/tmp/rpm-tmp.VOVWNc: line 38: cd: nagios-3.5.0: No such file or
> > directory
> > error: Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep)
> >
> >
> > RPM build errors:
> >     line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig,
> > sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
> >     Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep)
> > # cat /etc/redhat-release
> > Red Hat Enterprise Linux Server release 6.4 (Santiago)
> > # uname -a
> > Linux XXX.XXX.XXX 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21
> EDT
> > 2013 x86_64 x86_64 x86_64 GNU/Linux
> > #
> >
> > I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was
> > 3.2.3.
> > any ideas/suggestions?
>
> The first error I see is "cd: nagios-3.5.0: No such file or directory"
>
> Is  there a directory named "nagios-3.5.0" in the tar ball or is it
> named only "nagios"?
>
> What does you spec file say? Maybe you have to adapt the BuildRoot?
> Like, from "%{_tmppath}/%{name}-%{version}" to "%{_tmppath}/%{name}"?
>
> Just a guess,
> Werner
>
> --
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> 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
>



-- 
http://alexus.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130724/6d8febfe/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
-------------- 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