debian/test/control: negative architecture restictions are rejected in dependencies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
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-
adt-run [21:27:37]: ERROR: erroneous package: InvalidControl test ubuntu-
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'(
r'(
r'(
Changed in autopkgtest (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
status: | Triaged → In Progress |
Fixed in http:// anonscm. debian. org/cgit/ autopkgtest/ autopkgtest. git/commit/ ?id=ff12d47a2 .
I rolled this out to the production machines, in case you want to use it in the kernel packages.