[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.49-121-g94f0ee1

Andreas Beckmann anbe at debian.org
Sun Mar 3 11:26:56 UTC 2013


The following commit has been merged in the develop branch:
commit b2c6c111d3027d339798605298a80159e36f776f
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Feb 23 15:23:06 2013 +0100

    new known problem: should be rebuilt with newer tools
    
    packages producing warnings from e.g. install-info or tex-common
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/debian/changelog b/debian/changelog
index 16c757f..81829cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -95,6 +95,8 @@ piuparts (0.50) UNRELEASED; urgency=low
   * Add several exceptions for lenny and lenny2squeeze tests.
   * New script to enable Debug::pkgPackageManager during upgrades:
     scripts-debug-packagemanager/pre_distupgrade_debug_packagemanager
+  * New known problem: Packages that need to be rebuild or updated for newer
+    tools, e.g. due to obsolete install-info or tex-common usage.
   * New bug template: unhandled_symlink_to_directory_conversion.
   * New bug template: installs_over_existing_symlink.
 
diff --git a/known_problems/needs_rebuild_issue.conf b/known_problems/needs_rebuild_issue.conf
new file mode 100644
index 0000000..72a03dd
--- /dev/null
+++ b/known_problems/needs_rebuild_issue.conf
@@ -0,0 +1,11 @@
+#
+# detect packages which have the string "Please rebuild the package" or "package ... should be rebuilt" in their logs
+#
+COMMAND='grep -E "Please rebuild the package|should be rebuilt|should be rebuild|warning: maintainer scripts should not call install-info anymore"'
+WHERE='pass'
+ISSUE=1
+HEADER='Packages which have logs with the string "Please rebuild the package" or "package ... should be rebuilt"'
+HELPTEXT='
+<p>This is a recommendation to rebuild some packages with updated debhelper to enable new features, e.g. trigger support.</p>
+<p>Please identify the correct package causing this warning and retest the rdepends after that package was fixed.</p>
+'
diff --git a/piuparts-report.py b/piuparts-report.py
index bcad34e..b54b645 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -351,6 +351,7 @@ linktarget_by_template = [
     ("installs_over_symlink_issue.tpl", "but package installs something over existing symlinks"),
     ("broken_symlinks_issue.tpl", "but logfile contains 'broken symlinks'"),
     ("packages_have_been_kept_back_issue.tpl", "but logfile contains 'packages have been kept back'"),
+    ("needs_rebuild_issue.tpl", "but logfile recommends to rebuild some packages"),
     ("obsolete_conffiles_issue.tpl", "but logfile reports obsolete conffiles"),
 
     ("dependency_error.tpl", "due to unsatisfied dependencies"),

-- 
piuparts git repository



More information about the Piuparts-commits mailing list