From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G6OMJ-0003su-5Z for garchives@archives.gentoo.org; Fri, 28 Jul 2006 09:10:15 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6S99JZO027277; Fri, 28 Jul 2006 09:09:19 GMT Received: from titan.startnet.cz ([82.113.63.73]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6S99Ixm017119 for ; Fri, 28 Jul 2006 09:09:18 GMT Received: (qmail 25196 invoked from network); 28 Jul 2006 11:09:18 +0200 Received: from unknown (HELO ?192.168.1.4?) (miroslav.sulc@startnet.cz@10.15.192.25) by titan.local.startnet.cz with ESMTPA; 28 Jul 2006 11:09:18 +0200 Message-ID: <44C9D438.80502@startnet.cz> Date: Fri, 28 Jul 2006 11:09:12 +0200 From: =?ISO-8859-2?Q?Miroslav_=A9ulc?= Organization: StartNet s.r.o. User-Agent: Thunderbird 1.5.0.4 (X11/20060715) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: Gentoo Java Subject: [gentoo-java] Falling to the lowest jdk available Content-Type: multipart/mixed; boundary="------------040803050507020909030507" X-Archives-Salt: 4c420c8a-a0ba-4407-b721-bbbbbfc730e1 X-Archives-Hash: 73f1a28b2c7233807815be6145d1b4e5 This is a multi-part message in MIME format. --------------040803050507020909030507 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Hi, I've faced a problem with migrated packages on my laptop. If I remember well, I've read somewhere that the new Java system will always try to build packages with the lower JDK possible. At least on my laptop (it's a fresh install of Gentoo - I've installed it about two weeks ago) packages are not built with the lowest JDK possible which results in these bugs when compiling packages dependant on a badly built package: >>> Emerging (1 of 1) dev-java/xerces-2.7.1-r1 to / * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking Xerces-J-src.2.7.1.tar.gz ;-) ... [ ok ] * Using: sun-jdk-1.4 >>> Unpacking source... >>> Unpacking Xerces-J-src.2.7.1.tar.gz to /var/tmp/portage/xerces-2.7.1-r1/work tar: A lone zero block at 19079 * Applying xerces-2.7.1-r1-gentoo.patch ... [ ok ] * Applying xerces-2.7.1-no_dom3.patch ... [ ok ] >>> Source unpacked. Rewriting ./build.xml >>> Compiling source in /var/tmp/portage/xerces-2.7.1-r1/work/xerces-2_7_1 ... Buildfile: build.xml BUILD FAILED java.lang.UnsupportedClassVersionError: org/xml/sax/ext/Attributes2 (Unsupported major.minor version 49.0) ... In this example dev-java/xml-commons-external was built using JDK 1.5 though it could be built JDK 1.4 too. >>> Emerging (1 of 1) dev-java/xml-commons-external-1.3.02-r1 to / * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking xml-commons-external-1.3.02.tar.bz2 ;-) ... [ ok ] * Using: sun-jdk-1.5 >>> Unpacking source... >>> Unpacking xml-commons-external-1.3.02.tar.bz2 to /var/tmp/portage/xml-commons-external-1.3.02-r1/work >>> Source unpacked. Rewriting ./build.xml ... >>From ebuild: ... DEPEND=">=virtual/jdk-1.3 dev-java/ant-core" RDEPEND=">=virtual/jre-1.3" ... Am I missing something or is there a bug? Miroslav --------------040803050507020909030507 Content-Type: text/x-vcard; charset=utf-8; name="miroslav.sulc.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="miroslav.sulc.vcf" begin:vcard fn;quoted-printable:Miroslav =C5=A0ulc n;quoted-printable:=C5=A0ulc;Miroslav org:StartNet s.r.o. adr;quoted-printable;quoted-printable:;;Schodov=C3=A1 309/10;Praha 5;;150 00;=C4=8Cesk=C3=A1 republika email;internet:miroslav.sulc@startnet.cz tel;cell:+420 603 711 413 x-mozilla-html:TRUE url:http://www.startnet.cz version:2.1 end:vcard --------------040803050507020909030507-- -- gentoo-java@gentoo.org mailing list