Bug#856550: unblock: systemtap/3.0-8
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package systemtap
This upload includes 2 minor bug fixes.
1 for adding a Depends on a missing package.
2 for setting the correct messaging about debug symbol pacakges
Debdiff attached with this report.
unblock systemtap/3.0-8
-- System Information:
Debian Release: 9.0
APT prefers unstable-debug
APT policy: (990, 'unstable-debug'), (990, 'testing-debug'), (990, 'unstable'), (990, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.10.1+ (SMP w/4 CPU cores)
Locale: LANG=en_IN.utf8, LC_CTYPE=en_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru systemtap-3.0/debian/changelog systemtap-3.0/debian/changelog
--- systemtap-3.0/debian/changelog 2016-09-13 23:38:58.000000000 +0530
+++ systemtap-3.0/debian/changelog 2017-03-01 15:52:57.000000000 +0530
@@ -1,3 +1,11 @@
+systemtap (3.0-8) unstable; urgency=medium
+
+ * [25d73e5] Add lsb-release to Depends (Closes: #856458)
+ * [9e770e1] Add patch to set correct messaging about debug symbol
+ packages (Closes: #856460)
+
+ -- Ritesh Raj Sarraf <rrs@debian.org> Wed, 01 Mar 2017 15:52:57 +0530
+
systemtap (3.0-7) unstable; urgency=medium
* d/patches: support for 4.7 kernel by applying upstream patch.
diff -Nru systemtap-3.0/debian/control systemtap-3.0/debian/control
--- systemtap-3.0/debian/control 2016-09-13 23:38:58.000000000 +0530
+++ systemtap-3.0/debian/control 2017-03-01 15:50:14.000000000 +0530
@@ -30,7 +30,7 @@
Package: systemtap
Architecture: linux-any
Depends: systemtap-runtime (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends},
- systemtap-common (= ${source:Version}), make
+ systemtap-common (= ${source:Version}), make, lsb-release
Suggests: systemtap-doc, vim-addon-manager
Description: instrumentation system for Linux
SystemTap provides infrastructure to simplify the gathering of
diff -Nru systemtap-3.0/debian/patches/series systemtap-3.0/debian/patches/series
--- systemtap-3.0/debian/patches/series 2016-09-13 23:38:58.000000000 +0530
+++ systemtap-3.0/debian/patches/series 2017-03-01 15:52:48.000000000 +0530
@@ -8,3 +8,4 @@
0001-Fixed-PR19940-by-updating-runtime-linux-access_proce.patch
0001-Fix-PR20158-by-updating-the-runtime-for-the-4.6-kern.patch
0001-Fix-PR20132-by-updating-the-runtime-to-handle-a-stru.patch
+stap-pkgname-correction.patch
diff -Nru systemtap-3.0/debian/patches/stap-pkgname-correction.patch systemtap-3.0/debian/patches/stap-pkgname-correction.patch
--- systemtap-3.0/debian/patches/stap-pkgname-correction.patch 1970-01-01 05:30:00.000000000 +0530
+++ systemtap-3.0/debian/patches/stap-pkgname-correction.patch 2017-03-01 15:52:57.000000000 +0530
@@ -0,0 +1,36 @@
+Add patch to set correct messaging for missing kernel debug symbols
+Debian recently has had sitewide debug symbol package building
+--- a/stap-prep
++++ b/stap-prep
+@@ -70,25 +70,19 @@
+ echo "make >= 0"
+ echo "linux-image-$ABINAME = $VERSION"
+ echo "linux-headers-$ABINAME = $VERSION"
+- case "$DISTRO" in
+- Debian)
+- echo "linux-image-$ABINAME-dbg = $VERSION"
+- ;;
+- Ubuntu)
+- echo "linux-image-$ABINAME-dbgsym = $VERSION"
+- ;;
+- esac
++ echo "linux-image-$ABINAME-dbgsym = $VERSION"
+ ) | while read package relation requiredversion; do
+ installedversion="$(dpkg-query -W "$package" 2> /dev/null | cut -f 2)"
+ if [ "$installedversion" = "" ]; then
+ availableversion="$(apt-cache show $package 2> /dev/null | grep ^Version: | cut -d " " -f 2)"
+- if [ "$availableversion" = "" ]; then
++ if [ "$availableversion" = "" -a "$(echo $package | grep dbgsym$)" ]; then
+ echo "You need package $package but it does not seem to be available"
+- if [ "$DISTRO" = "Ubuntu" -a "$(echo $package | grep dbgsym$)" ]; then
++ if [ "$DISTRO" = "Ubuntu" ]; then
+ echo " Ubuntu -dbgsym packages are typically in a separate repository"
+ echo " Follow https://wiki.ubuntu.com/DebuggingProgramCrash to add this repository"
+- elif [ "$DISTRO" = "Debian" -a "$(echo $package | grep dbg$)" ]; then
+- echo " Debian does not have -dbg packages for all kernels. Consider switching to a kernel that has one."
++ elif [ "$DISTRO" = "Debian" ]; then
++ echo " Debian -dbgsym packages are typically in a separate repository"
++ echo " Follow https://wiki.debian.org/AutomaticDebugPackages to add this repository"
+ fi
+ else
+ echo "Please install $package"
Reply to: