monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to build Redhat RPM for Monit 5.17.1


From: Bill Durant
Subject: Re: Unable to build Redhat RPM for Monit 5.17.1
Date: Mon, 21 Mar 2016 09:57:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hello Martin:

I am unable to build the rpm from source for Monit 5.17.1:

$ rpmbuild -tb monit-5.17.1.tar.gz
...
...
+ rm -rf
/home/admin/rpmbuild/BUILDROOT/monit-5.17.1-1.x86_64/usr/share/doc/monit-5.17.1
+ /bin/mkdir -p
/home/admin/rpmbuild/BUILDROOT/monit-5.17.1-1.x86_64/usr/share/doc/monit-5.17.1
+ cp -pr COPYING README doc/CHANGES
/home/admin/rpmbuild/BUILDROOT/monit-5.17.1-1.x86_64/usr/share/doc/monit-5.17.1
cp: cannot stat `doc/CHANGES': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.C0Cd8h (%doc)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.C0Cd8h (%doc)
==============================================

It looks like the tar ball doesn't include doc/CHANGES:

$ tar htvf monit-5.17.1.tar.gz | grep doc/
drwxr-xr-x 1001/1001         0 2016-03-06 03:01 monit-5.17.1/doc/
-rw-r--r-- 1001/1001    117078 2016-03-06 03:00 monit-5.17.1/doc/monit.pod

The CHANGES file is actually under monit-5.17.1:

$ tar htvf monit-5.17.1.tar.gz | grep CHANGES
-rw-r--r-- 1001/1001        38 2016-03-06 03:00 monit-5.17.1/CHANGES

Is there a workaround besides manually reconstructing the tar ball and
copying the CHANGES file to doc/CHANGES?

Thanks,

Bill

On 01/26/2016 11:55 AM, Martin Pala wrote:
> Hi,
>
> you can build rpm from the source code release directly:
>
>       rpmbuild -tb monit-5.15.tar.gz
>
> Regards,
> Martin
>
>
>
>> On 26 Jan 2016, at 20:48, Bill Durant <address@hidden> wrote:
>>
>> Greetings:
>>
>> Is there a Redhat RPM available for the latest version of Monit (5.15)?
>>
>> Thanks,
>>
>> Bill
>>
>>
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]