Amanda-Users

Re: Problems with 2.6.1 p1

2009-10-03 16:01:30
Subject: Re: Problems with 2.6.1 p1
From: Sebastian Henrich <shss AT gmx DOT de>
To: "Dustin J. Mitchell" <dustin AT zmanda DOT com>
Date: Sat, 03 Oct 2009 21:42:22 +0200
Sebastian Henrich schrieb:
> Sebastian Henrich schrieb:
>   
>> Dustin J. Mitchell schrieb:
>>   
>>     
>>> On Fri, Oct 2, 2009 at 12:55 PM, Sebastian Henrich <shss AT gmx DOT de> 
>>> wrote:
>>>   
>>>     
>>>       
>>>> I'm unable to find this build rule. My config/amanda/tape.m4 ends at
>>>> line 187. I greped through the whole amanda 2.6.1p1 source and the
>>>> string DEFAULT_TAPE_NON_BLOCKING_OPEN is never found. I downloaded
>>>> amanda-2.6.1p1.tar.gz from sourceforge. It's md5sum is
>>>> eae0a75f21aa708a8dccf9ea7ac1c631.
>>>>     
>>>>       
>>>>         
>>> Oh!  This was fixed relatively recently -- to my surprise, apparently
>>> since 2.6.1 was released.
>>>
>>>   
>>>     
>>>       
>> It seems that in the amanda 2.6.1 p1 tarballs this path is missing. I
>> can't find it inside the changelog.
>>   
>>     
>>> You can apply the patch:
>>>
>>>   
>>> http://github.com/zmanda/amanda/commit/7c2db2917b26ca8386661e7f1dddf8571f8b54bd
>>>
>>>
>>>   
>>>     
>>>       
>> How do I apply this patch? I downloaded the patch using the url
>> "http://github.com/zmanda/amanda/commit/7c2db2917b26ca8386661e7f1dddf8571f8b54bd.patch";.
>> Then I tried to patch my amanda 2.6.1 p1 sources by doing a "patch <
>> 7c2db2917b26ca8386661e7f1dddf8571f8b54bd.patch". This results in a lot
>> file not found errors.
>>   
>>     
> I was able to fix the file not founds by adding -p1 during patching. Now
> I get the following output:
>
> ----8<----8<----
>
> patching file ChangeLog
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
> patching file config/amanda/tape.m4
> patching file device-src/tape-device.c
> Hunk #3 succeeded at 310 (offset -6 lines).
> Hunk #4 succeeded at 379 (offset -6 lines).
> Hunk #5 succeeded at 498 (offset -5 lines).
> Hunk #6 succeeded at 511 (offset -5 lines).
> patching file device-src/tape-device.h
> patching file man/xml-source/amanda-devices.7.xml
> Hunk #1 succeeded at 445 (offset -15 lines).
> patching file server-src/amdevcheck.pl
> Hunk #1 FAILED at 128.
> 1 out of 1 hunk FAILED -- saving rejects to file
> server-src/amdevcheck.pl.rej
>
> ----8<----8<----
>
>   
I found out why patching server-src/amdevcheck.pl failed. The file has
only 109 lines. The patch expects 128 lines.

In my opinion the patch never made it in any release. I was able to find
it in trunk.

What should I do now? Using trunk?


Sebastian

<Prev in Thread] Current Thread [Next in Thread>