Bug#726609: maven-debian-helper: Using wrong path to mvnDebug when checking if apt-file
Alexander Holupirek
ah at basex.org
Thu Oct 17 08:04:42 UTC 2013
Package: maven-debian-helper
Version: 1.6.5
Severity: normal
Tags: patch
mh_make checks if apt-file is configured.
For that purpose it searches for /usr/bin/mvnDebug using apt-file.
However, mvnDebug can never be found that way as it is nowadays available at /usr/share/maven/bin/mvnDebug.
As such, mh_make always issues an update just to recognize that its 'Index is up-to-date.'
The following patch resolves the issue.
--- /usr/bin/mh_make 2013-08-17 20:26:36.000000000 +0200
+++ /tmp/mh_make 2013-10-17 09:15:56.000000000 +0200
@@ -132,7 +132,7 @@
exit 1
else
res="ok"
- apt-file search /usr/bin/mvnDebug | grep maven > /dev/null || res="failed"
+ apt-file search /usr/share/maven/bin/mvnDebug | grep maven > /dev/null || res="failed"
if [ $? != 0 ] || [ "$res" == "failed" ]; then
echo "Warning: apt-file doesn't seem to be configured"
apt-file update
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages maven-debian-helper depends on:
ii default-jdk 1:1.7-49
ii libmaven-clean-plugin-java 2.5-1
ii libmaven-compiler-plugin-java 2.0.2-6
ii libmaven-jar-plugin-java 2.2-6
ii libmaven-resources-plugin-java 2.3-7
ii libmaven-site-plugin-java 2.1-2
ii libplexus-velocity-java 1.1.8-1
ii libsurefire-java 2.10-4
ii maven-repo-helper 1.8.4
ii maven2 2.2.1-14
ii velocity 1.7-4
maven-debian-helper recommends no packages.
Versions of packages maven-debian-helper suggests:
ii apt-file 2.5.2
ii devscripts 2.13.4
ii libmaven-javadoc-plugin-java 2.6.1-2
ii subversion 1.7.9-1+nmu6
-- no debconf information
More information about the pkg-java-maintainers
mailing list