[Swan] compilation failed

Paul paul at nohats.ca
Sun May 11 22:09:56 EEST 2014


I believe tb requires the spec file to be at some specific location in the tarball

Sent from my iPhone

> On May 11, 2014, at 14:40, Nick Howitt <nick at howitts.co.uk> wrote:
> 
> Any idea why I can't get it to compile with rpmbuild -tb but can with -bb? I can compile other packages such as kmod driver packages with -tb.
> 
> Nick
> 
>> On 11/05/2014 19:18, Paul wrote:
>> We have been neglecting those because we have libreswan in epel now. I'll bring them up to date later today
>> 
>> Sent from my iPhone
>> 
>> On May 11, 2014, at 12:18, Nick Howitt <nick at howitts.co.uk> wrote:
>> 
>>> 
>>>> On 11/05/2014 16:25, Paul Wouters wrote:
>>>> 
>>>> On Sun, 11 May 2014, Ahmed Shabana wrote: 
>>>> 
>>>>> I did what you suggest below and get the below error ,
>>>> 
>>>> You know we offer precompiled packages for RHEL6 at 
>>>> download.libreswan.org ?
>>> except you have not yet compiled the security release 3.8  :-( 
>>> 
>>>  
>>> 
>>> 
>>> I've compiled it myself but cannot do it with rpmbuild -tb as           it fails with a spec file issue:
>>> [build at server SOURCES]$ rpmbuild -tb --target=x64_64 --clean --quiet libreswan-3.8.tar.gz
>>> Building target platforms: x64_64
>>> Building for target x64_64
>>> error: line 291: second %prep
>>> 
>>> but I can do it by extracting the rhel spec file and building with:
>>> rpmbuild -bb --target=x86_64 --clean --quiet libreswan-3.8/packaging/rhel/6/libreswan.spec
>>> This is on ClearOS, a rhel look alike and generally binary compatible.
>>> 
>>> Regards,
>>> 
>>> Nick
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20140511/7dd64074/attachment.html>


More information about the Swan mailing list