[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#673276: marked as done (lintian: please add check to detect incompatible java bytecode versions)



Your message dated Sat, 30 Jun 2012 16:38:17 +0000
with message-id <E1Sl0gb-0000RI-8W@franck.debian.org>
and subject line Bug#673276: fixed in lintian 2.5.10
has caused the Debian Bug report #673276,
regarding lintian: please add check to detect incompatible java bytecode versions
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 owner@bugs.debian.org
immediately.)


-- 
673276: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673276
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.7
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Currently Debian and Ubuntu ship three versions of Java - 5, 6 and 7.

Its possible to get into the situation where bytecode is generated from source
code that is not backwards compatible - javac by default will generate bytecode
that is only forwards compatible.

To ensure that java libraries are compatible with all versions of Java in
the archive, it would be great to have a lintian check which warnings if 
the minimum bytecode version is exceeded - I think this should be Java 5.

The jh_depends command in the javatools package checks the bytecode version
in jar files for generating alternative runtime Dependencies - this can 
probably be re-used in lintian as well:

(version: bytecode version)
java5: 49
java6: 50
java7: 51

This is of immediate use in Ubuntu where we are starting the transition of
default-java to OpenJDK7 but OpenJDK6 will be retained in the archive.

Thanks


- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-24-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils                       2.22-6
ii  bzip2                          1.0.6-1
ii  diffstat                       1.55-2
ii  file                           5.11-1
ii  gettext                        0.18.1.1-8
ii  hardening-includes             2.1
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.26+b1
ii  libc-bin                       2.13-32
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.31-1+b2
ii  libdpkg-perl                   1.16.3
ii  libemail-valid-perl            0.190-1
ii  libipc-run-perl                0.91-1
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtimedate-perl               1.2000-1
ii  liburi-perl                    1.60-1
ii  locales                        2.13-32
ii  man-db                         2.6.1-2
ii  patchutils                     0.3.2-1.1
ii  perl [libdigest-sha-perl]      5.14.2-10
ii  unzip                          6.0-6

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     <none>
ii  dpkg-dev               1.16.3
ii  libhtml-parser-perl    3.69-2
ii  libtext-template-perl  <none>
ii  man-db                 2.6.1-2
ii  xz-utils               5.1.1alpha+20110809-3

- -- debconf-show failed

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJPtPgFAAoJEL/srsug59jD17kP/R7a51HGR4+m7735W9OuBbn5
15hR9zeRl6Mu9XWM8fY0vJ/EPbECJUEZ0Wl5GEue8L7oYpbQXHc7iHNrbY7wMqUy
FLF0Rhw/np311dUOFMYu95/5t1pip+UvhXnGwSoAiyRMDKkMV00q072P2rIdn85o
B23cbxZTPgEmt5EaDC50gnzr0SFmgWl+NHR03cFjufWXgnEsxIRtMjXPS5BYCP4i
N6k/qaufxc+7NkLm+kRklWATIX5Na551n3E4E9+swjn521MzUB7e4GklW4ivJRpg
RqqBZsJUcAiTyeff6VlSBuV61bZpJ2WRTyPMpJFacTB18FzD96bhiKMuPBYVkHX5
DxBBRpBkKNJfk8Ab3GbjN3He476KFFftMuWc3uGuKNL1mDe6UrIaF9BgDjDO0KYa
85fAICRbaAuEesJEXxQbADvacPmuTmUh9YHdbo5pxEzv7D4Pte9hJQ7e82boXJDB
FWOp7vhQWhb2vnW7/02G8ePsCIPmuolZtzQRVZUB3RjIxrZpV5cblpSp9rnSysld
FvgBMWxAbgoENuqDMilCe4E4ZoV9GGzEz/rOeKyzZgN/Iwa4DENwkxb/kx9vixXG
cE0kyth32J8IXrhZtkqxpm4F944jfr0guimoz417A47YPUsOauYZI0MHKASoAX9H
YXOQ6cAWBcOZvZf2TkjX
=fbYe
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.10

We believe that the bug you reported is fixed in the latest version of
lintian, which is due to be installed in the Debian FTP archive:

lintian_2.5.10.dsc
  to main/l/lintian/lintian_2.5.10.dsc
lintian_2.5.10.tar.gz
  to main/l/lintian/lintian_2.5.10.tar.gz
lintian_2.5.10_all.deb
  to main/l/lintian/lintian_2.5.10_all.deb



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 673276@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <niels@thykier.net> (supplier of updated lintian 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 30 Jun 2012 17:21:27 +0200
Source: lintian
Binary: lintian
Architecture: source all
Version: 2.5.10
Distribution: unstable
Urgency: low
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Niels Thykier <niels@thykier.net>
Description: 
 lintian    - Debian package checker
Closes: 673276 678775
Changes: 
 lintian (2.5.10) unstable; urgency=low
 .
   * Summary of tag changes:
     + Added:
       - incompatible-java-bytecode-format
       - unknown-java-class-version
 .
   * checks/changes-file.desc:
     + [NT] Fix typo in tag description.  Thanks to Luca
       Falavigna for spotting it.
   * checks/files:
     + [NT] Use new gzip decompressor from L::Util.
   * checks/java{,.desc}:
     + [NT] Catch unknown Java class versions.
     + [NT] Catch uses of Java7 byte code as an experimental
       check.  It lacks the proper checks for cases where
       packages have the proper dependencies for Java7 byte
       code.  (Closes: #673276)
 .
   * collection/*:
     + [NT] Add missing load of the FileHandle module.
   * collection/java-info{,.desc}:
     + [NT] Use Archive::Zip instead of zipinfo + unzip to
       extract information from Jar files.
     + [NT] Limit java-info to files classified as "Zip Archive"
       by file(1).
   * collection/objdump-info:
     + [NT] Only call readelf once per binary.
     + [NT] Use xargs + a new helper to reduce the number of
       readelf calls even further.
   * collection/objdump-info-helper:
     + [NT] New file.
   * collection/strings:
     + [NT] Optimize for the "common case" file names with a
       fall-back to previous behaviour with special file names.
   * collection/strings-helper:
     + [NT] New file.
 .
   * debian/control:
     + [NT] Add (Build-)Dependency on libarchive-zip-perl.
     + [NT] Remove runtime dependency on unzip (replaced by
       libarchive-zip-perl).
     + [NT] Add explicit Build-Dependency on xz-utils instead
       of relying on dpkg-dev's dependency on it.
     + [NT] Add versioned xz-utils as alternative to xz-lzma
       or lzma.  (Closes: #678775)
     + [NT] Add missing suggests for lzma packages.  lzma is
       only used for source packages compressed with lzma.
     + [NT] Add suggests on libperlio-gzip-perl.
 .
   * frontend/lintian:
     + [NT] Check if some collections can be skipped for existing
       entries.  This is mostly useful for static labs, where
       certain checks can be now be rerun without having to run
       "unpacked".
     + [NT] Emit run times of collections and checks with debug
       level 2 (or higher).
     + [NT] Load lintian's libraries earlier.
     + [NT] Add new option "--jobs" to control the number of
       unpacking jobs Lintian will schedule in parallel.
     + [NT] Improve Lintian's job scheduler to schedule unpacking
       jobs on a group level rather than just a package level.
 .
   * lib/Lintian/Collect/[Binary,Package}.pm:
     + [NT] Use new gzip decompressor from L::Util.
   * lib/Lintian/CollScript.pm:
     + [NT] New file.
   * lib/Lintian/Util.pm:
     + [NT] Add gzip decompressor preferring libperlio-perl if
       available, but with fallback to a "fork+exec" of gzip.
     + [NT] Load Digest::SHA immediately like Digest::MD5.
Checksums-Sha1: 
 ea252bf1960aed48a93766b7bdc6a0c9f18f51d1 2556 lintian_2.5.10.dsc
 4fc358f2aeb6b797f580b75a254390f7cf2f7551 1105393 lintian_2.5.10.tar.gz
 736dc7b2ef09398327ea270bdcb1b51ccf479758 707676 lintian_2.5.10_all.deb
Checksums-Sha256: 
 b29adb3b1eadbc00be0274f09f5345954e1340672e76f7b3f56af2b153a08b74 2556 lintian_2.5.10.dsc
 249f1a23d14d824151181728cc026e0971a5960ce7f7b1b383cc1e42e4244961 1105393 lintian_2.5.10.tar.gz
 d1405f3aeffe079c75d2a2ee56666b3e6f20eb3e3ce5c77f7888bf4838400f31 707676 lintian_2.5.10_all.deb
Files: 
 8767bfbf1b004474936eb319b60f8dae 2556 devel optional lintian_2.5.10.dsc
 5dd1d5ca1ab71f672b34992e249064ca 1105393 devel optional lintian_2.5.10.tar.gz
 e45c47e1110e05f76dc7df35f5f501c4 707676 devel optional lintian_2.5.10_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJP7x0kAAoJEAVLu599gGRCDtwP/1BVPW7whST1jdklWS8fF0ZJ
V3W/YDzpptSMt+u3E7p8A61UVkHciQJ0URWGeu/WUyB71sZQul/EP38P28QgXJi2
OKH4N921Ys2BXa/9EsAMuHeydfmIomyMuo0TeDfznwb8EfnNfnIq27FWdKVBb403
L99s/mhjOdxjsbVqHwwAKxlww6APMJ2oARkhJOWgSc93Xeknwj4xad+Jdqy2nuVe
MBtuO4P7NZHeiEWCkxMa2XJSC8GMLijMK3mXchjTwNqApPp9NcZJ1gnKi6LEueNn
tBySRwSK5ZoZ+lqTuyjjSsDnZ1xfLR2ZX/kwagOnkLdWHfndXtBNGmza7uqqQJNq
DYkzRMSBKGHAfU0Q0Gmdz00fL+7/XNr26Kg+94TGW0Te7ZZCExzfsaOIuWEQh56D
044y6D14yUyRGleMd11sBJItA/XdSANhLXyjCC/Zg0IkP1ijK58XRxHH/SDP3Cl5
v1F0FlBRMHsWzHQI6WFGTeDU5iIouLpUV7HN+U5+KNP+OPXuA24RLji8VH8mrtGU
GeX9Tx7V0y0NqWe49btKlWMDXcMhQtiu/49++OcjNG6M+ARGXF8TH2j1rN7VxLv+
WC6hdAds8mebBQ5YCtiPj5gQ69QSmlzXXw7pRvbSxY+4IQBZNbiLmm+Nmqgk1Y3a
0hDkXkjqhho5UAC4Ztx7
=5eh8
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: