[Bug 1516959] Re: debian/test/control: negative architecture restictions are rejected in dependencies
Martin Pitt
martin.pitt at ubuntu.com
Tue Nov 17 10:33:47 UTC 2015
** Changed in: autopkgtest (Ubuntu)
Status: New => Triaged
** Changed in: autopkgtest (Ubuntu)
Importance: Undecided => Medium
** Changed in: autopkgtest (Ubuntu)
Assignee: (unassigned) => Martin Pitt (pitti)
** Changed in: autopkgtest (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1516959
Title:
debian/test/control: negative architecture restictions are rejected in
dependencies
Status in autopkgtest package in Ubuntu:
In Progress
Bug description:
If we specify a negative architecture dependency in
debian/test/control we get an invalid syntax error:
blame: linux
badpkg: InvalidControl test ubuntu-regression-suite: Test Depends field contains an invalid dependency `gcc-multilib [!ppc64el]'
adt-run [21:27:37]: ERROR: erroneous package: InvalidControl test ubuntu-regression-suite: Test Depends field contains an
invalid dependency `gcc-multilib [!ppc64el]'
Exit request sent.
This appears to be because ! is simply not expected by the parser:
lib/testdesc.py:
dep_re = re.compile(
r'(?P<package>[a-z0-9+-.]+)(?::native)?\s*'
r'(\((?P<relation><<|<=|>=|=|>>)\s*(?P<version>[^\)]*)\))?'
r'(\s*\[[[a-z0-9+-. ]+\])?$')
Full log:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-xenial-canonical-kernel-team-
unstable/xenial/i386/l/linux/20151113_212749@/log.gz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1516959/+subscriptions
More information about the foundations-bugs
mailing list