Your message dated Sun, 11 Apr 2021 16:48:29 +0000
with message-id <[email protected]>
and subject line Bug#984959: fixed in trace-cmd 2.9.2-1
has caused the Debian Bug report #984959,
regarding trace-cmd: bash-completion script installed to wrong location
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
984959: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=984959
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: trace-cmd
Version: 2.9.1-1
Severity: normal
Tags: patch
Dear Maintainer,
trace-cmd installs a bash-completion script to
/usr/share/bash-completion/completions/trace-cmd/trace-cmd.bash
Unfortunately, it will not be used because bash-completion dynamically
loads completion scripts from
/usr/share/bash-completion/completions/$cmd, so completions for
trace-cmd must be installed as
/usr/share/bash-completion/completions/trace-cmd.
I've attached a patch to fix the issue.
Thanks for considering,
Kevin
>From ac5a9a6cef51186da0b498c87534baeec5020640 Mon Sep 17 00:00:00 2001
Message-Id:
<ac5a9a6cef51186da0b498c87534baeec5020640.1615420512.git.ke...@kevinlocke.name>
From: Kevin Locke <[email protected]>
Date: Wed, 10 Mar 2021 16:53:26 -0700
Subject: [PATCH] install bash-completion script to correct location
bash-completion scripts for $cmd must be installed as
/usr/share/bash-completion/completions/$cmd to be dynamically loaded.
The script was installed as
/usr/share/bash-completion/completions/trace-cmd/trace-cmd.bash
because dh_install naively installs the named file to the named
directory. Use dh-exec to rename the file during install, as suggested
in dh_install(1), so that it is installed as
/usr/share/bash-completion/completions/trace-cmd.
Signed-off-by: Kevin Locke <[email protected]>
---
debian/control | 2 +-
debian/trace-cmd.install | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index df9661f..69e7614 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
Priority: optional
Homepage: http://kernelshark.org/
Maintainer: Sudip Mukherjee <[email protected]>
-Build-Depends: debhelper-compat (= 13), cmake, libjson-c-dev, freeglut3-dev,
libxmu-dev, libegl-dev [mipsel], libxi-dev, qtbase5-dev, asciidoc, docbook-xsl,
xsltproc, policykit-1, libcunit1-dev
+Build-Depends: debhelper-compat (= 13), dh-exec, cmake, libjson-c-dev,
freeglut3-dev, libxmu-dev, libegl-dev [mipsel], libxi-dev, qtbase5-dev,
asciidoc, docbook-xsl, xsltproc, policykit-1, libcunit1-dev
Standards-Version: 4.5.0
Rules-Requires-Root: no
Vcs-Browser: https://github.com/sudipm-mukherjee/trace-cmd.git
diff --git a/debian/trace-cmd.install b/debian/trace-cmd.install
index df98a91..eff9aa4 100644
--- a/debian/trace-cmd.install
+++ b/debian/trace-cmd.install
@@ -1,3 +1,4 @@
+#!/usr/bin/dh-exec
usr/bin/trace-cmd
usr/lib/trace-cmd/plugins/*
-usr/etc/bash_completion.d/trace-cmd.bash
/usr/share/bash-completion/completions/trace-cmd
+usr/etc/bash_completion.d/trace-cmd.bash =>
/usr/share/bash-completion/completions/trace-cmd
--
2.30.1
--- End Message ---
--- Begin Message ---
Source: trace-cmd
Source-Version: 2.9.2-1
Done: Sudip Mukherjee <[email protected]>
We believe that the bug you reported is fixed in the latest version of
trace-cmd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sudip Mukherjee <[email protected]> (supplier of updated trace-cmd
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 11 Apr 2021 17:15:55 +0100
Source: trace-cmd
Architecture: source
Version: 2.9.2-1
Distribution: experimental
Urgency: medium
Maintainer: Sudip Mukherjee <[email protected]>
Changed-By: Sudip Mukherjee <[email protected]>
Closes: 984959
Changes:
trace-cmd (2.9.2-1) experimental; urgency=medium
.
* Update to upstream v2.9.2
* Fix bash-completion path. (Closes: #984959)
Checksums-Sha1:
d9a9d1fd824add374e7d8f373e3852bd629e2b1c 2076 trace-cmd_2.9.2-1.dsc
46cdc142262b2e4f7a4eb8aa192b601bbc6238eb 4316692 trace-cmd_2.9.2.orig.tar.gz
35296d30ceed89eb6aca62de2dca7c5b7094beb3 6072 trace-cmd_2.9.2-1.debian.tar.xz
3604e73680925e10a6082f7b849620fbd48ccff5 12712
trace-cmd_2.9.2-1_amd64.buildinfo
Checksums-Sha256:
ba600bd4d13a2818abbf759643e726e61ed416f30f873a1f63bbeb1a21e5b921 2076
trace-cmd_2.9.2-1.dsc
f526d1be16a485764ba9d60693f4e8e0bdfb980ec1775c519992cc0e87e1e5a9 4316692
trace-cmd_2.9.2.orig.tar.gz
19eb97168a27cfebfaf485c18953ff1a4cbcc13b6f7a97575a37608da52c5ec4 6072
trace-cmd_2.9.2-1.debian.tar.xz
4dd3b10007276adf181202b37b461ee93e8116857dc36ef5ce7bd712c41cb642 12712
trace-cmd_2.9.2-1_amd64.buildinfo
Files:
5d29d6619e58fd5d0ebd4d17f90d7c61 2076 devel optional trace-cmd_2.9.2-1.dsc
748ad9d5e47a46c35d99ca8f2dbe512b 4316692 devel optional
trace-cmd_2.9.2.orig.tar.gz
bdefb1b3e664a09071a9d038c7d404b9 6072 devel optional
trace-cmd_2.9.2-1.debian.tar.xz
6bccf35631ddee572bba7e73f06c34ec 12712 devel optional
trace-cmd_2.9.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAmBzJdYACgkQR5mjUUbR
KzVTvQ/9HH3O0oxXIF7UcK1DSvH2v9+LfCIiZNUr1Qq71i4BcU2Fv5NkebUdppAT
1ZjHoEIIdkpF0pz9p18ISvx47onFBNn7BNNrQjN7sGvy5Yx8xLq9Xex0xFGyJ8Ut
30u2/kxPM+rZ6SLUom9jKW8RTV3gPPIPepAFkOUArfw+CaSagM1DiLt7FVvrfMsZ
H3xEbfy09WXi+fMCpJnVE1vXGW9us2m9ruRRBsO8NO6CmHT+TwauH4UeeuO7B38O
crFJ7GXBa8tw6XSnTre+vxFzkMifBzWF3HatSYxAIY50HwSJzzOqmdQxzES1H0kT
aCbUUDXSYhGYwxwpYjJWINrFXvYUTy9dnRgx8UcnU32DFvaY4jadZ40gmvMlw+cX
GaCDxZCZlamN6xvknEWu31XxdT6qjyCe/Yalcdv0EoB8LEVOoFnaUB/GB8klylbg
XdqVjpKkr4J5tFwdpJXzmH8v2trfkltElOrhzYCUTTTU5HwnV7GkWX+HbN47Laj4
9iSkCxb2+hueVsziMARuZd/Fo685CKWMq7D+1yM6JsC86yloRJDsx+3IKp+xTEdi
UgFvG6yXXhtj6F4TGWyiLO8CZ9Q8MX+MIYrWlFQYs/1ztK7rHPYDXG5fo5mAfrXe
AhlrTOSClJJojEeYPgbvjE5mPDwFoK+TTOXPVEs16+9P2sc0bes=
=nw3g
-----END PGP SIGNATURE-----
--- End Message ---