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 10:05:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

yes, just did that and it worked now.  Thanks.  -Bill

On 03/21/2016 10:03 AM, Alex Litvak wrote:
> That should have been fixed, but you can move CHANGES to doc directory
> as a work around.
>
> On 03/21/2016 11:57 AM, Bill Durant wrote:
>> 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
>>
>> -- 
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>
>

-- 

V/r,

Bill Durant
G2 Software Systems, Inc.
SPAWAR Systems Center Pacific, Code 55140
53560 Hull Street, Bldg 606, Rm 139, San Diego, CA 92152
Office: 619-553-9752 / Fax: 619-553-9376
Lab: 619-553-3948 / Lab Conf. Room: 619-553-4125




reply via email to

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