Check for >=virtual/jdk-1.4 in deps when a direct dep has >=1.5

Petteri Räty <[email protected]>
Newsgroups gmane.linux.gentoo.java
Message-ID <[email protected]>
I got around to writing a check for spotting the cases where the ebuild
has >=1.4 meaning that it's legal to emerge it with a 1.4 VM but one of
the direct deps has >=1.5 meaning it is 1.5 bytecode and as such would
most likely result in ClassVersion issues. Luckily no such cases were
found. All of the found stuff are false positives (well checkstyle-4.2
should probably be fixed for USE="test" but that goes away by getting a
newer version stable at some point):

betelgeuse@pena /mnt/checkouts/java/scripts $ ruby java-dep-check
app-benchmarks/jmeter/jmeter-2.0.1-r2.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
app-office/borg/borg-1.5.2.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
dev-java/ant-javamail/ant-javamail-1.7.0.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
dev-java/avalon-logkit/avalon-logkit-2.1-r1.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
dev-java/bcmail/bcmail-1.36.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
dev-java/excalibur-logger/excalibur-logger-2.1.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
dev-java/proxool/proxool-0.8.3-r1.ebuild 1.4
        dev-util/checkstyle-4.2::gentoo 1.5
        dev-util/checkstyle-4.3::gentoo 1.6
dev-java/soap/soap-2.3.1-r1.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
dev-java/sun-j2me-bin/sun-j2me-bin-2.2-r3.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
www-servers/axis/axis-1.2_rc2-r1.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
www-servers/axis/axis-1.2_rc2-r2.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
www-servers/tomcat/tomcat-5.5.23-r1.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5
www-servers/tomcat/tomcat-5.5.23-r6.ebuild 1.4
        dev-java/sun-javamail-1.4::gentoo 1.5

The code here (using Paludis ruby API)
http://overlays.gentoo.org/proj/java/browser/scripts/java-dep-check

Regards,
Petteri
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGcdUYcxLzpIGCsLQRAtUYAJ93NWuJIStquj2r2FPzdE2V6oaP4wCfY1ui
h9sBdjM0knPVgSrwpmZLW1c=
=mNrJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.