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

Bug#884152: lintian: report about mismatches between the Build-IDs field and the content of /usr/lib/debug/



Package: lintian
Severity: wishlist

Some packages (libc6-dbg, libkrb5-dbg, libsqlite3-0-dbg for eg) have
mismatches between the Build-IDs field and the content of the
/usr/lib/debug/ directory. The Build-IDs field is supposed to be
derived from the content of the /usr/lib/debug/ directory so they
should match exactly.

$ for pkg in libc6-dbg libkrb5-dbg libsqlite3-0-dbg ; do
    dpkg -L $pkg | sed -n 's/.*build-id.//;s/\.debug$//p' | tr -d / | sort > $pkg-dpkg-L
    grep-aptavail --no-field-names --exact-match --show-field Build-IDs --field Package $pkg| tr \   \\n | sort > $pkg-grep-aptavail
    diff -u $pkg-*
  done
--- libc6-dbg-dpkg-L	2017-12-12 14:14:00.407590809 +0800
+++ libc6-dbg-grep-aptavail	2017-12-12 14:14:01.339580011 +0800
@@ -107,7 +107,6 @@
 5b795bceb53f91bae4c600a044fff14a7728940b
 5beadc39086eb109d0a31287ff4e6dd3d7b9bed2
 5cf9973a1c473b6d04e58d9f34e7860de08500c5
-5d2b8e2c72621ee018d7616fe204255babbdb805
 5dd38cbb810a0320891399a469ec044a6fafa3d3
 5f2abe26b0a5ee55200abe10f8b0d893f2b33913
 60b51078cc6e76798f066a04962ba99209267b6b
--- libkrb5-dbg-dpkg-L	2017-12-12 14:14:01.475578439 +0800
+++ libkrb5-dbg-grep-aptavail	2017-12-12 14:14:02.363568173 +0800
@@ -1,9 +1 @@
-16542f117c3ec45e057878b4383aaee772f05f46
-233447e363a324c82524401c0bdc8eeaa3f9f6eb
-317e836ac5d50966d0671fea0ddb596c1987192b
-35deffffd5423885e06b76be693089b777b6b512
-36bf15005e5d0833ec58617b95bf145ce54e9259
-5fa58738af3a963f3153804b619c4bd02027382f
-75182cb2f9a67884db8fbc3d3d8bbc457af0c41a
 c4379c6d240552a5a9e15f0ba7a8aed0ea45ffc6
-dce1f22057f4f1b72ee980446cf86fc984472b9a
--- libsqlite3-0-dbg-dpkg-L	2017-12-12 14:14:02.491566693 +0800
+++ libsqlite3-0-dbg-grep-aptavail	2017-12-12 14:14:03.375556474 +0800
@@ -1,5 +1 @@
-00abea0a7a967792f9bc9a4451e87a11c6422855
 63ec44572953ec25f41d3ac54669c5e8f87e4d41
-c88251158cbd970fd1e138c831e33620e8767021
-efb966dcb688a17e82834c3e6ae9cc4a90fcb659
-fde098258e504081f188151ef47322608ae51f67

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: