-
00d9e017
by Felix Lechner
at 2021-09-25T20:14:09-07:00
Implement unrestricted package relationships logically and without error-prone string edits.
Works on parsed data instead of the original string from Deb822.
Gbp-Dch: ignore
-
a8e6a37a
by Felix Lechner
at 2021-09-25T20:14:20-07:00
Look for autopkgtest prerequisites in d/tests/control; rename tag and test.
The tag appears to have been copied largely unchanged from
debian-rules-uses-supported-python-versions-without-python-all-build-depends but
test prerequisites are customarily declared in d/tests/control and not in
d/control.
Adjusts tag name, check and tag description.
Gbp-Dch: ignore
-
7492791d
by Felix Lechner
at 2021-09-25T20:14:24-07:00
Rename tag to control-interpreter-without-predepends; add context.
Makes the tag more similar to control-interpreter-without-depends.
Regenerates profiles.
Gbp-Dch: ignore
-
ec728f42
by Felix Lechner
at 2021-09-25T20:14:27-07:00
Add multiarch acceptor :any to the Python prerequisite recommendations in tag descriptions.
The multiarch resover hints were possibly requested for easier bootstrapping
but not adequately enforced by Lintian prior to the fix for Bug#994902.
Gbp-Dch: ignore
-
66ea8811
by Felix Lechner
at 2021-09-25T20:14:30-07:00
Broaden multiarch acceptor to: any in some tests; Lintian too loose.
Should have triggered hints in the past but did not. Lintian will catch them
after the next commit, if they are missing.
Gbp-Dch: ignore
-
9bc560a6
by Felix Lechner
at 2021-09-25T20:14:36-07:00
Implement the multiarch selector :any in package relationships. (Closes: #994902)
The previous detection logic for these resolver hints was possbly reversed. As
an example, the prerequisite 'make' seems to have implied 'make:any'.
The preceeding five commits show the extensive preparatory work that was needed
for this fix.
We built the example from tha bug report, postgresql-common, from Git using
commit 38ec687b. Lintian no longer produces the offending tag:
➤ ../lintian/git/bin/lintian postgresql-server-dev-all_229_amd64.deb
I: postgresql-server-dev-all: package-contains-documentation-outside-usr-share-doc usr/share/postgresql-common/dh_make_pgxs/debian/copyright
For comparison, here is the output that prompted the bug report:
➤ ../lintian/git/bin/lintian postgresql-server-dev-all_229_amd64.deb
E: postgresql-server-dev-all: missing-dep-for-interpreter make => make | build-essential | dpkg-dev (usr/share/postgresql-common/dh_make_pgxs/debian/rules) /usr/bin/make
I: postgresql-server-dev-all: package-contains-documentation-outside-usr-share-doc usr/share/postgresql-common/dh_make_pgxs/debian/copyright
Thank you to Christoph Berg for bringing the matter to our attention!