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

Re: Fwd: dpkg-source: error: expected [ +-] at start of line



On Sat, 8 Oct 2011 00:45:33 +0200, Thomas Preud'homme wrote:
Le samedi 8 octobre 2011 00:43:07, Rodolfo kix Garcia a écrit :
On Sat, 8 Oct 2011 00:05:42 +0200, Thomas Preud'homme wrote:
> Le vendredi 7 octobre 2011 22:41:05, Rodolfo kix Garcia a écrit :
>> Hi,
>>
>> I have a problem with dpkg-buildpackage. I have three patches in the
>> debian folder. All apply fine using quilt, but using
>> dpkg-buildpackage I
>> get an error:
>>
>> dpkg-source: info: using options from
>> wmaker-crm/debian/source/options:
>>
>> --extend-diff-ignore=(^|/)(config\.sub|config\.guess|Makefile|configure| >> Mak efile\.in)$ dpkg-source: error: expected [ +-] at start of line 17
>> of diff
>> `wmaker-crm/debian/patches/52_libwmaker0dev.diff'
>> dpkg-buildpackage: error: dpkg-source --before-build wmaker-crm gave
>> error exit status 25
>
> The lines should start with spaces, not directly tab.

But... is a patch! In the original file (upstream version) there are
tabs.
Just add a space before the tab. A line start either by a + (added line), - (removed line) or space (unmodified line) followed by the line to be added,
removed or untouched.

Best regards.

Thomas,

now is ok :-) Thaaaaanks a lot!!!!

But, IMHO, this is a bug. Because I can patch using quilt but not with dpkg-buildpackage. Same code, different behavior.

Best Regards.

kix
--
||// //\\// Rodolfo "kix" Garcia
||\\// //\\ http://www.kix.es/


Reply to: