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

Bug#799827: python3-apt: Parses incomplete list of dependencies



Control: tag -1 confirmed

On Wed, Sep 23, 2015 at 02:59:18AM +0300, Mert Dirik wrote:
> Package: python3-apt
> Version: 0.9.3.12
> Severity: normal
> 
> Dear Maintainer,
> 
> TagSection object gives an incomplete list of dependencies if dependency
> list is multi-line and have some comment lines between dependencies.

This is to be expected. Multi-line field values cannot have comment
lines in them, sort of. But yes, the control files can.

We can change the code to parse the value with the # lines, but that
won't help anyone, as the build dependency parsing would fail.

So, what we need is a way to strip the comments from the file when
scanning it. But: That's not possible with APT's current architecture,
as far as I can tell.

So, this might take some time to fix.

There's a bug report in APT for it as well, IIRC. That one should
block this one.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to (`inline'). Thank you.


Reply to: