[check-mir] cannot parse dependencies with architecture restrictions
Bug #1149679 reported by
Benjamin Drung
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
ubuntu-dev-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
check-mir fails when run in the libreoffice source.
$ check-mir
Checking support status of build dependencies...
Checking support status of binary dependencies...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
unsupported
File "/usr/bin/
for or_group in apt.apt_
ValueError: Problem Parsing Dependency
Related branches
lp:~racb/ubuntu-dev-tools/check-mir-depends-arch-spec
- Martin Pitt: Approve
-
Diff: 32 lines (+7/-1)2 files modifiedcheck-mir (+2/-1)
debian/changelog (+5/-0)
summary: |
- [check-mir] fails on libreoffice + [check-mir] cannot parse dependencies with architecture restrictions |
To post a comment you must log in.
The problem element appears to be "libreoffice- report- builder- bin [!hppa !kfreebsd-amd64 !kfreebsd-i386]". If I remove the architecture restriction, then apt.apt_ pkg.parse_ depends succeeds.
The problem also occurs with php5, for example with "lsof [!kfreebsd-any !hurd-any]".
It looks like the underlying reason is that apt.apt_ pkg.parse_ depends cannot parse architecture restrictions, and the API does not represent it.