Your message dated Sat, 01 Feb 2014 05:33:53 +0000
with message-id <[email protected]>
and subject line Bug#619888: fixed in dbus-java 2.8-5
has caused the Debian Bug report #619888,
regarding Incorrect format for package class path entries
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.)


-- 
619888: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619888
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libdbus-java
Version: 2.7-1
Tags: patch

The package uses absolute paths for entries in the package class path
whereas it should be using relative paths.  This results in a compiler
warning, though AFAICT the package works correctly.

[This bug was originally discovered under Ubuntu lucid (10.04.1) using
libdbus-java version 2.7-1 and openjdk-6-jdk version
6b18-1.8.1-0ubuntu1.  I originally reported the bug to Ubuntu [1] but
was asked to report it to Debian.  Based on looking at the debian/rules
file in the source package, the same problem is present in the Debian
versions 2.7-1 and 2.8-1 of the package (I haven't looked at other
versions).]

To reproduce:

$ echo 'public class Foo {}' >Foo.java
$ /usr/lib/jvm/java-6-openjdk/bin/javac -Xlint:path -classpath
/usr/share/java/dbus.jar Foo.java
warning: [path] bad path element
"/usr/share/java/usr/share/java/unix.jar": no such file or directory
warning: [path] bad path element
"/usr/share/java/usr/share/java/hexdump.jar": no such file or directory
2 warnings

The two warnings are caused by the problem.

The problem is that the rules file adds some jar dependencies to the
package's Class-Path using absolute paths, whereas (e.g., according to
[2]) relative paths should be used. I have attached a patch to fix the
problem.

[1] https://bugs.launchpad.net/ubuntu/+source/dbus-java/+bug/663277
[2]
http://java.sun.com/developer/Books/javaprogramming/JAR/basics/manifest.html#download

-- 
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/
diff -ur dbus-java-2.7-orig/debian/rules dbus-java-2.7/debian/rules
--- dbus-java-2.7-orig/debian/rules	2010-12-14 09:25:14.000000000 +0100
+++ dbus-java-2.7/debian/rules	2010-12-14 09:26:00.000000000 +0100
@@ -37,8 +37,8 @@
 override_dh_install:
 	dh_install -i --sourcedir=debian/tmp
 override_jh_manifest:
-	jh_manifest -plibdbus-java -c"/usr/share/java/unix.jar /usr/share/java/hexdump.jar"
-	jh_manifest -pdbus-java-bin -c"/usr/share/java/dbus-$(VERSION).jar"
+	jh_manifest -plibdbus-java -c"unix.jar hexdump.jar"
+	jh_manifest -pdbus-java-bin -c"dbus-$(VERSION).jar"
 override_jh_depends:
 	jh_depends -pdbus-java-bin -jopen
 	jh_depends -plibdbus-java 
Only in dbus-java-2.7/debian: rules~

--- End Message ---
--- Begin Message ---
Source: dbus-java
Source-Version: 2.8-5

We believe that the bug you reported is fixed in the latest version of
dbus-java, 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.
tony mancill <[email protected]> (supplier of updated dbus-java 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: Fri, 31 Jan 2014 20:42:48 -0800
Source: dbus-java
Binary: libdbus-java dbus-java-bin libdbus-java-doc
Architecture: source all
Version: 2.8-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainer 
<[email protected]>
Changed-By: tony mancill <[email protected]>
Description: 
 dbus-java-bin - simple interprocess messaging system (Java Binaries)
 libdbus-java - simple interprocess messaging system (Java implementation)
 libdbus-java-doc - simple interprocess messaging system (Java interface 
documentatio
Closes: 619888
Changes: 
 dbus-java (2.8-5) unstable; urgency=medium
 .
   * Team upload.
   * Update Standards-Version to 3.9.5 (no changes).
   * debian/rules:
     - Address jh_manifest warning. (Closes: #619888, LP: #663277)
     - No longer use bzip2 compression for binary deb.
     - Set javac -source and -target options to 1.6.
Checksums-Sha1: 
 a0df41ace9b2d22fde057da6021d08b1dda35440 2244 dbus-java_2.8-5.dsc
 987048289a305b2a81e9ca0d0caacca91e4dd5d9 7656 dbus-java_2.8-5.debian.tar.xz
 7d1aa3cdf9e0855ee1623a024161da35dbda56ab 149984 libdbus-java_2.8-5_all.deb
 0014a014bb26799a3a43f9e6cc76a3bcffcd9c3d 74340 dbus-java-bin_2.8-5_all.deb
 62729728008939ed14fc136a9fda292ce0f231a4 516790 libdbus-java-doc_2.8-5_all.deb
Checksums-Sha256: 
 2da0aa8d6a841023b7402017816a64669035c109a517183f007205e4dd3d7e45 2244 
dbus-java_2.8-5.dsc
 74a5d5e184ef34a70e21c64169b62f17d756f918a55736e6d54efff2b8500ee8 7656 
dbus-java_2.8-5.debian.tar.xz
 f536fa718117739ef4eab4a5bbed63f3db82c7ea1bc269f92ff4c2a9ca44a4e4 149984 
libdbus-java_2.8-5_all.deb
 8e950b288a3560f8a1419156d2ce8652819967485e4d8429fea55128c7c582f7 74340 
dbus-java-bin_2.8-5_all.deb
 f42c733aed66d967cda68d8f5cca775157a50990687beb05ff4e5dc287c2fb60 516790 
libdbus-java-doc_2.8-5_all.deb
Files: 
 8485a13e33f9464d0d055a2570c10da8 2244 java optional dbus-java_2.8-5.dsc
 88df72c101cfabd85468cb9a9f3e7225 7656 java optional 
dbus-java_2.8-5.debian.tar.xz
 5777b91b27273035444a9e6fb260e09d 149984 java optional 
libdbus-java_2.8-5_all.deb
 2ef02d3aada3dce2d4133091e6593c4e 74340 utils optional 
dbus-java-bin_2.8-5_all.deb
 2b20dc1babf8958f7efe7ebfc4181844 516790 doc optional 
libdbus-java-doc_2.8-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJS7IMpAAoJECHSBYmXSz6WuAAP+wfe3fuxtGdpfP6Ft5jpQCM6
ybchkmyd6RlYEXGzrEfaFkCrfnz71HBRDdr3t9MOVdx+u/SuhbIzsp7DxFcIpZdH
rShpw0Nvau/W5EK0IaDe8kCUozhdZ4H7sRgFMhIrk/13Dbkd4aSfqfqRjDa5pu6C
SsGd7DgIiZcUiIGvXvm0SbM+ibZWoUJ0rTPdtbUnNXtN4tREcebdyAwX1Yia0nwK
zI6EcAeg02d6EQIrjNJo29UF7gc4l/qehsQUQqfoLetHzFoVMkP9P63O5gbCW1Ft
vxAECUsQETYg/DPhErbakeiMDcZ2TtzoTZOHTPAVCOz+dLGZg5JdScPyv1Gi0bXe
am5n2HCsRRJyD+OxqB1o9PsVsLAQOIY5ztAkBSY7IaIjtXVJ4fZoh4GT/hF5BgW1
fF99SBHx3Ho/htR6Dlbjf1IkERs9/DGmYMcvPAxE/3aZqFgKgDNXhX3HuyCIqWiq
cp6udDFdargYNPFpeMosi2UU6OZqp+aC7tMBlwSMMImctNlR6R4n5h3oZvcfXWAj
QBvrPGOUXYfBlOI4adZ1eO+lgUiDsu2lPhAjLlvKJMaYUgjcTN39YpMYakdbg5j6
ZxE6gbtRvQtYExosjTPwi2BInP+QxCea89jSDGy/9hdjZQproBM+LWcte8ZnsZgR
xFIaEs4QXITYWbVbz1Na
=Eh4f
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to