[Bug 1149679] Re: [check-mir] cannot parse dependencies with architecture restrictions
Robie Basak
1149679 at bugs.launchpad.net
Thu Jan 9 11:00:15 UTC 2014
I've checked the php5 case, and it's definitely a binary dependency that
parse_depends cannot parse.
>>> apt.apt_pkg.parse_depends('${misc:Depends},\n\t ${shlibs:Depends},\n\t sed (>= 4.1.1-1),\n\t psmisc (>= 22.15-1~),\n\t lsof [!kfreebsd-any !hurd-any],\n\t ucf')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Problem Parsing Dependency
>>> apt.apt_pkg.parse_depends('sed (>= 4.1.1-1),\n\t psmisc (>= 22.15-1~),\n\t lsof [!kfreebsd-any !hurd-any],\n\t ucf')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: Problem Parsing Dependency
>>>
Package: php5-common
Architecture: any
Depends: ${misc:Depends},
${shlibs:Depends},
sed (>= 4.1.1-1),
psmisc (>= 22.15-1~),
lsof [!kfreebsd-any !hurd-any],
ucf
I apologise if I made in error in the Libreoffice case.
** Changed in: python-apt (Ubuntu)
Status: Invalid => New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1149679
Title:
[check-mir] cannot parse dependencies with architecture restrictions
Status in “python-apt” package in Ubuntu:
New
Status in “ubuntu-dev-tools” package in Ubuntu:
Confirmed
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/check-mir", line 151, in <module>
main()
File "/usr/bin/check-mir", line 141, in main
unsupported_binary_deps = check_binary_dependencies(apt_cache, control)
File "/usr/bin/check-mir", line 109, in check_binary_dependencies
for or_group in apt.apt_pkg.parse_depends(control.section[field]):
ValueError: Problem Parsing Dependency
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1149679/+subscriptions
More information about the foundations-bugs
mailing list