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

Bug#496875: lintian reports "build-depends-on-obsolete-package" as an error



On Thu, August 28, 2008 14:07, Frank Lichtenheld wrote:
> On Thu, Aug 28, 2008 at 12:31:18AM -0700, Steve Langasek wrote:
[...]
>> But this package has a deliberate *or'ed* build-dependency to facilitate
>> backporting:
>>
>>   libcups2-dev | libcupsys2-dev
>>
>> So this is not an error, and lintian should not report it as such.
>
> This was fixed for dependencies in
> 76bb09a06cd86412505c33036ddd4ad89645ef42.
> Should probably be adapted for build-dependencies as well.

At the time, I only patched the code that deals with dependencies as it
was suggested that OR-ed build-depends on obsolete packages were generally
pointless due to the way sbuild interprets them (see #486145).

Backporting is one case where they do make sense however. It's a fairly
simple change to add support for OR-ed build-deps; I'll do so in the next
couple of days unless there are any objections.

Adam




Reply to: