Package: lintian Version: 2.5.0 Severity: minor
Hello, as agreed on the debian-java list: On 04/06/11 12:16, Niels Thykier wrote: > On 2011-06-04 09:52, Eric Lavarde wrote: >> > Hello, >> > >> > while repackaging Freeplane, I noticed that there a few new Lintian >> > checks in regard to Java... >> > >> > I had first the warning: >> > >> > W: freeplane: classpath-contains-relative-path >> > usr/share/freeplane/core/org.freeplane.core/lib/freeplaneeditor.jar: ../ >> > freeplaneeditor.jar freeplaneviewer.jar freeplanemac.jar >> > commons-lang-2.0.jar forms-1.0.5.jar jortho.jar gnu-regexp-1.1.4.jar >> > SimplyHTML.jar >> > >> > Then I patched away the Class-path, and got: >> > >> > W: freeplane: missing-classpath libcommons-lang-java, >> > libjgoodies-forms-java, libbatik-java, libxerces2-java, >> > libxml-commons-external-java, libjaxp1.3-java, libjlatexmath-java, >> > libknopflerfish-osgi-framework-java, libjortho-freeplane-java >> > >> > Two issues with this: >> > >> > 1. the help message to classpath-contains-relative-path could more >> > explicitly state what the resolution is or isn't (in this case, NOT >> > remove the classpath BUT use absolute path). >> > I can log a (minor) bug for this one if you want. Against lintian I guess? >> > > Please do, I have been meaning to fix that, but a bug is always a good > reminder. The real problem is usually class-paths like "lib/$file.jar" > or "usr/share/java/$file.jar" which does not work as intended when the > jar file is installed in /usr/share/java. > That being said, this check needs to be refined (e.g. jars in private > packages might have a lib/ dir with symlinks to the actual files, which > would work correctly). Thanks, Eric -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.38-bpo.2-686 (SMP w/2 CPU cores) Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages lintian depends on: ii binutils 2.21.51.20110523-1 The GNU assembler, linker and bina ii diffstat 1.54-1 produces graph of changes introduc ii dpkg-dev 1.16.0.3 Debian package development tools ii file 5.04-5+b1 Determines file type using "magic" ii gettext 0.18.1.1-3 GNU Internationalization utilities ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf ii libapt-pkg-perl 0.1.24+b2 Perl interface to libapt-pkg ii libclass-accessor-per 0.34-1 Perl module that automatically gen ii libemail-valid-perl 0.184-1 Perl module for checking the valid ii libipc-run-perl 0.89-1 Perl module for running processes ii libparse-debianchange 1.2.0-1 parse Debian changelogs and output ii libtimedate-perl 1.2000-1 collection of modules to manipulat ii liburi-perl 1.58-1 module to manipulate and access UR ii locales 2.13-4 Embedded GNU C Library: National L ii man-db 2.6.0.2-1 on-line manual pager ii perl [libdigest-sha-p 5.12.3-7 Larry Wall's Practical Extraction ii unzip 6.0-4 De-archiver for .zip files lintian recommends no packages. Versions of packages lintian suggests: pn binutils-multiarch <none> (no description available) ii libhtml-parser-perl 3.68-1+b1 collection of modules that parse H pn libtext-template-perl <none> (no description available) ii man-db 2.6.0.2-1 on-line manual pager -- no debconf information -- To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110604105454.7696.62886.reportbug@emil