[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: Downgrade severity of build-depends-on-obsolete-package from error to warning. (Closes: #889638)



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit eadf7fd69fa0594407cacd34cbdfe1851bf6ec7b
Author: Chris Lamb <lamby@debian.org>
Date:   Mon Feb 5 08:58:50 2018 +0000

    Downgrade severity of build-depends-on-obsolete-package from error to warning. (Closes: #889638)
---
 checks/fields.desc                            | 2 +-
 debian/changelog                              | 3 +++
 t/tests/fields-build-depends-general/tags     | 4 ++--
 t/tests/fields-java/desc                      | 1 +
 t/tests/fields-java/tags                      | 2 +-
 t/tests/legacy-debconf/tags                   | 2 +-
 t/tests/legacy-scripts/tags                   | 2 +-
 t/tests/patch-systems-dpatch-description/desc | 1 +
 t/tests/patch-systems-dpatch-description/tags | 2 +-
 t/tests/patch-systems-quilt-general/desc      | 1 +
 t/tests/patch-systems-quilt-general/tags      | 2 +-
 11 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/checks/fields.desc b/checks/fields.desc
index 1197e26..65d5224 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -536,7 +536,7 @@ Info: The package depends on an ORed group of packages which includes
  a package that has been superseded.
 
 Tag: build-depends-on-obsolete-package
-Severity: important
+Severity: normal
 Certainty: possible
 Info: The package build-depends on a package that has been superseded.
  If the superseded package is part of an ORed group, it should not be
diff --git a/debian/changelog b/debian/changelog
index 93686e2..ae87ff1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,9 @@ lintian (2.5.74) UNRELEASED; urgency=medium
       (Closes: #889486)
   * checks/files.pm:
     + [BR] Add context for privacy breach in order to improve debugging.
+  * checks/fields.desc:
+    + [CL] Downgrade severity of build-depends-on-obsolete-package from
+      error to warning.  (Closes: #889638)
   * checks/patch-systems.pm:
     + [CL] Avoid emitting "Can't use an undefined value as an ARRAY
       reference" warnings when debian/patches is a file, not a directory.
diff --git a/t/tests/fields-build-depends-general/tags b/t/tests/fields-build-depends-general/tags
index e6d2840..1350527 100644
--- a/t/tests/fields-build-depends-general/tags
+++ b/t/tests/fields-build-depends-general/tags
@@ -3,8 +3,6 @@ E: fields-build-depends-general source: build-depends-on-build-essential build-d
 E: fields-build-depends-general source: build-depends-on-essential-package-without-using-version build-depends: bash
 E: fields-build-depends-general source: build-depends-on-metapackage build-depends: xorg-dev
 E: fields-build-depends-general source: build-depends-on-non-build-package build-depends: java-propose-classpath
-E: fields-build-depends-general source: build-depends-on-obsolete-package build-depends: hardening-wrapper (>= 2.2) => use dpkg-buildflags instead
-E: fields-build-depends-general source: build-depends-on-obsolete-package build-depends: x-dev (>= 1.0)
 E: fields-build-depends-general source: conflicting-negation-in-source-relation build-depends: baz [i386 !amd64]
 E: fields-build-depends-general source: depends-on-build-essential-package-without-using-version make [build-depends: make]
 E: fields-build-depends-general source: invalid-arch-string-in-source-relation all [build-depends: foo [all]]
@@ -13,6 +11,8 @@ E: fields-build-depends-general source: invalid-arch-string-in-source-relation s
 I: fields-build-depends-general source: build-depends-on-python-dev-with-no-arch-any
 I: fields-build-depends-general source: ored-build-depends-on-obsolete-package build-depends: xlibmesa-gl-dev
 W: fields-build-depends-general source: build-depends-on-1-revision build-depends: revision-1 (>= 1.0-1)
+W: fields-build-depends-general source: build-depends-on-obsolete-package build-depends: hardening-wrapper (>= 2.2) => use dpkg-buildflags instead
+W: fields-build-depends-general source: build-depends-on-obsolete-package build-depends: x-dev (>= 1.0)
 W: fields-build-depends-general source: build-depends-on-versioned-berkeley-db build-depends:libdb5.1++-dev
 W: fields-build-depends-general source: build-depends-on-versioned-berkeley-db build-depends:libdb5.1-java-dev
 W: fields-build-depends-general source: depends-on-packaging-dev build-depends
diff --git a/t/tests/fields-java/desc b/t/tests/fields-java/desc
index a096b39..97a623c 100644
--- a/t/tests/fields-java/desc
+++ b/t/tests/fields-java/desc
@@ -2,6 +2,7 @@ Testname: fields-java
 Version: 1.0
 Description: General tests for java package (build) dependencies
 Test-For:
+ build-depends-on-obsolete-package
  build-depends-on-specific-java-doc-package
  build-depends-on-an-obsolete-java-package
  depends-on-specific-java-doc-package
diff --git a/t/tests/fields-java/tags b/t/tests/fields-java/tags
index 1486627..8f67bcd 100644
--- a/t/tests/fields-java/tags
+++ b/t/tests/fields-java/tags
@@ -1,7 +1,7 @@
-E: fields-java source: build-depends-on-obsolete-package build-depends: openjdk-6-jdk
 I: libfields-java-java: javalib-but-no-public-jars
 I: libfields-java-java: ored-depends-on-obsolete-package depends: openjdk-6-jre
 W: fields-java source: build-depends-on-an-obsolete-java-package java-compiler
+W: fields-java source: build-depends-on-obsolete-package build-depends: openjdk-6-jdk
 W: fields-java source: build-depends-on-specific-java-doc-package openjdk-6-doc
 W: fields-java source: virtual-package-depends-without-real-package-depends build-depends: java-compiler
 W: libfields-java-java-doc: depends-on-specific-java-doc-package recommends
diff --git a/t/tests/legacy-debconf/tags b/t/tests/legacy-debconf/tags
index ad9e6d6..f814b32 100644
--- a/t/tests/legacy-debconf/tags
+++ b/t/tests/legacy-debconf/tags
@@ -1,4 +1,3 @@
-E: debconf source: build-depends-on-obsolete-package build-depends: dpatch
 E: debconf source: declares-possibly-conflicting-debhelper-compat-versions rules=5 compat=5
 E: debconf source: untranslatable-debconf-templates debconf-test.templates: 47
 E: debconf source: untranslatable-debconf-templates debconf-test.templates: 58
@@ -32,6 +31,7 @@ I: debconf-test: unused-debconf-template debconf/testnote
 I: debconf-test: unused-debconf-template debconf/teststring
 I: debconf-test: unused-debconf-template debconf/translate
 W: debconf source: ancient-standards-version 3.7.2 (released 2006-05-03) (current is CURRENT)
+W: debconf source: build-depends-on-obsolete-package build-depends: dpatch
 W: debconf source: debian-rules-calls-debhelper-in-odd-order dh_makeshlibs (line 56)
 W: debconf source: debian-rules-calls-debhelper-in-odd-order dh_makeshlibs (line 60)
 W: debconf source: debian-rules-sets-DH_COMPAT line 3
diff --git a/t/tests/legacy-scripts/tags b/t/tests/legacy-scripts/tags
index 6f63d5e..d0b21e9 100644
--- a/t/tests/legacy-scripts/tags
+++ b/t/tests/legacy-scripts/tags
@@ -1,4 +1,3 @@
-E: scripts source: build-depends-on-obsolete-package build-depends-indep: dpatch
 E: scripts source: dpatch-index-references-non-existent-patch 01_not_here_right_now.dpatch
 E: scripts source: dpatch-index-references-non-existent-patch 01_some_other_patch_thats_not_in_the_package.dpatch
 E: scripts source: missing-build-dependency debhelper
@@ -42,6 +41,7 @@ I: scripts: script-in-usr-share-doc usr/share/doc/scripts/py2foo
 I: scripts: script-in-usr-share-doc usr/share/doc/scripts/rubyfoo
 W: scripts source: ancient-standards-version 3.2.1 (released 2000-08-24) (current is CURRENT)
 W: scripts source: binary-arch-rules-but-pkg-is-arch-indep
+W: scripts source: build-depends-on-obsolete-package build-depends-indep: dpatch
 W: scripts source: changelog-should-mention-nmu
 W: scripts source: debhelper-but-no-misc-depends scripts
 W: scripts source: debhelper-compat-file-is-missing
diff --git a/t/tests/patch-systems-dpatch-description/desc b/t/tests/patch-systems-dpatch-description/desc
index f1c9de7..43b3367 100644
--- a/t/tests/patch-systems-dpatch-description/desc
+++ b/t/tests/patch-systems-dpatch-description/desc
@@ -5,6 +5,7 @@ Extra-Build-Depends: dpatch
 Options: --pedantic -I
 Skeleton: pedantic
 Test-For:
+ build-depends-on-obsolete-package
  dpatch-index-references-non-existent-patch
  dpatch-missing-description
  package-uses-deprecated-dpatch-patch-system
diff --git a/t/tests/patch-systems-dpatch-description/tags b/t/tests/patch-systems-dpatch-description/tags
index 06f9751..e9415d0 100644
--- a/t/tests/patch-systems-dpatch-description/tags
+++ b/t/tests/patch-systems-dpatch-description/tags
@@ -1,7 +1,7 @@
-E: patch-systems-dpatch-description source: build-depends-on-obsolete-package build-depends: dpatch
 E: patch-systems-dpatch-description source: dpatch-index-references-non-existent-patch 01_not_here_right_now.dpatch
 E: patch-systems-dpatch-description source: dpatch-index-references-non-existent-patch 01_some_other_patch_thats_not_in_the_package.dpatch
 I: patch-systems-dpatch-description source: dpatch-missing-description 02_i_dont_have_a_description.patch
 I: patch-systems-dpatch-description source: dpatch-missing-description 04_i_dont_have_a_description_either.patch
 P: patch-systems-dpatch-description source: package-uses-deprecated-dpatch-patch-system
+W: patch-systems-dpatch-description source: build-depends-on-obsolete-package build-depends: dpatch
 W: patch-systems-dpatch-description source: patch-file-present-but-not-mentioned-in-series 03_specified_without_dpatch.dpatch
diff --git a/t/tests/patch-systems-quilt-general/desc b/t/tests/patch-systems-quilt-general/desc
index b002a8a..0034557 100644
--- a/t/tests/patch-systems-quilt-general/desc
+++ b/t/tests/patch-systems-quilt-general/desc
@@ -4,6 +4,7 @@ Version: 1.0-1
 Extra-Build-Depends: quilt, dpatch
 Description: General tests of a quilt patch system
 Test-For:
+ build-depends-on-obsolete-package
  dpatch-build-dep-but-no-patch-list
  more-than-one-patch-system
  patch-modifying-debian-files
diff --git a/t/tests/patch-systems-quilt-general/tags b/t/tests/patch-systems-quilt-general/tags
index 7eccf4a..4e3fa66 100644
--- a/t/tests/patch-systems-quilt-general/tags
+++ b/t/tests/patch-systems-quilt-general/tags
@@ -1,7 +1,7 @@
-E: patch-systems-quilt-general source: build-depends-on-obsolete-package build-depends: dpatch
 E: patch-systems-quilt-general source: patch-modifying-debian-files some-file debian/some-file
 E: patch-systems-quilt-general source: quilt-series-references-non-existent-patch ../../debian-patch
 E: patch-systems-quilt-general source: quilt-series-references-non-existent-patch some-nonexistent-patch
+W: patch-systems-quilt-general source: build-depends-on-obsolete-package build-depends: dpatch
 W: patch-systems-quilt-general source: dpatch-build-dep-but-no-patch-list
 W: patch-systems-quilt-general source: more-than-one-patch-system
 W: patch-systems-quilt-general source: patch-file-present-but-not-mentioned-in-series file-not-referenced-in-series

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: