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 1G6PfV-0005Ey-8k for garchives@archives.gentoo.org; Fri, 28 Jul 2006 10:34:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6SAXUS2015732; Fri, 28 Jul 2006 10:33:30 GMT Received: from titan.startnet.cz ([82.113.63.73]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6SAXUQK016040 for ; Fri, 28 Jul 2006 10:33:30 GMT Received: (qmail 2943 invoked from network); 28 Jul 2006 12:33:29 +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 12:33:29 +0200 Message-ID: <44C9E7F4.7080308@startnet.cz> Date: Fri, 28 Jul 2006 12:33:24 +0200 From: =?UTF-8?B?TWlyb3NsYXYgxaB1bGM=?= 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 CC: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] Falling to the lowest jdk available References: <44C9D438.80502@startnet.cz> <44C9D7BC.4020900@gentoo.org> In-Reply-To: <44C9D7BC.4020900@gentoo.org> Content-Type: multipart/mixed; boundary="------------070108050901070404090202" X-Archives-Salt: 9d75f136-f26a-4ef5-8845-cee7d67f42b6 X-Archives-Hash: 51d9439683bf41eb377a3429ccd5f62c This is a multi-part message in MIME format. --------------070108050901070404090202 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k6SAXUSS015732 Krzysiek Pawlik napsal(a): > Miroslav =C5=A0ulc wrote: > =20 >> Hi, >> >> I've faced a problem with migrated packages on my laptop. If I remembe= r >> 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: >> =20 > > Lowest "-target/-source", not JDK! Run java-1.5-fixer > =20 I don't remember that I would do something that would broke the building of Java packages (I have a fresh install) but the fixer really fixed that. Thank you :-) But still my system is not clean. Running java-1.5-fixer after that several times gives me this: # java-1.5-fixer * Generating a list of jars which ant uses ... = = =20 [ ok ] * Checking for > 1.4 bytecode in ant jars ... = = =20 [ ok ] * Generating a list of jars in the system ... = = =20 [ ok ] * Checking for > 1.4 bytecode in system jars ... = = =20 [ ok ] * Attempting to fix broken packages ... * Packages to fix this run: =3Ddev-java/aspectwerkz-2.0_rc2-r1 =3Ddev-java/aspectwerkz-2.0_rc2-r1 =3Ddev-java/aspectwerkz-2.0_rc2-r1 =3Ddev-java/aspectwerkz-2.0_rc2-r1 =3Ddev-java/jaxme-0.3.1-r1 =3Ddev-java/jaxme-0.3.1-r1 =3Ddev-java/jaxme-0.3.1-r1 =3Ddev-java/jaxme-0.3.1-r1 =3Ddev-java/jaxme-0.3.1-r1 =3Ddev-java/jaxme-0.3.1-r1 =3Ddev-util/subversion-1.3.2-r3 And when trying to build dom4j I get this: >>> Emerging (1 of 1) dev-java/dom4j-1.6.1-r1 to / * checking ebuild checksums ;-) ... = = =20 [ ok ] * checking auxfile checksums ;-) ... = = =20 [ ok ] * checking miscfile checksums ;-) ... = = =20 [ ok ] * checking dom4j-1.6.1.tar.gz ;-) ... = = =20 [ ok ] * Using: sun-jdk-1.4 >>> Unpacking source... >>> Unpacking dom4j-1.6.1.tar.gz to /var/tmp/portage/dom4j-1.6.1-r1/work tar: A lone zero block at 78061 >>> Source unpacked. Rewriting ./build.xml >>> Compiling source in /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1 = ... Buildfile: build.xml init: [echo] ----------- dom4j 1.6.1 [2005] ------------ clean: init: [echo] ----------- dom4j 1.6.1 [2005] ------------ prepare: [mkdir] Created dir: /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/build prepare-src: [mkdir] Created dir: /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/build/src [mkdir] Created dir: /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/build/classes [copy] Copying 179 files to /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/build/src compile: [javac] Compiling 166 source files to /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/build/classes [javac] /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/build/src/org/dom4j/jaxb= /JAXBSupport.java:12: cannot access javax.xml.bind.JAXBContext [javac] bad class file: /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/lib/jaxmeapi.jar(javax/x= ml/bind/JAXBContext.class) [javac] class file has wrong version 49.0, should be 48.0 [javac] Please remove or make sure it appears in the correct subdirectory of the classpath. [javac] import javax.xml.bind.JAXBContext; [javac] ^ [javac] 1 error BUILD FAILED /var/tmp/portage/dom4j-1.6.1-r1/work/dom4j-1.6.1/build.xml:142: Compile failed; see the compiler error output for details. Total time: 3 seconds !!! ERROR: dev-java/dom4j-1.6.1-r1 failed. Call stack: ebuild.sh, line 1545: Called dyn_compile ebuild.sh, line 940: Called src_compile dom4j-1.6.1-r1.ebuild, line 68: Called eant 'clean' 'package' java-utils-2.eclass, line 1224: Called die !!! eant failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! When you file a bug report, please include the following information: GENTOO_VM=3Dsun-jdk-1.4 CLASSPATH=3D"" JAVA_HOME=3D"/opt/sun-jdk-1.4.2.1= 2" JAVACFLAGS=3D"-source 1.3 -target 1.3" COMPILER=3D"javac" and of course, the output of emerge --info Miroslav --------------070108050901070404090202 Content-Type: text/x-vcard; charset=utf-8; name="miroslav.sulc.vcf" Content-Disposition: attachment; filename="miroslav.sulc.vcf" Content-Transfer-Encoding: base64 YmVnaW46dmNhcmQNCmZuO3F1b3RlZC1wcmludGFibGU6TWlyb3NsYXYgPUM1PUEwdWxjDQpu O3F1b3RlZC1wcmludGFibGU6PUM1PUEwdWxjO01pcm9zbGF2DQpvcmc6U3RhcnROZXQgcy5y Lm8uDQphZHI7cXVvdGVkLXByaW50YWJsZTtxdW90ZWQtcHJpbnRhYmxlOjs7U2Nob2Rvdj1D Mz1BMSAzMDkvMTA7UHJhaGEgNTs7MTUwIDAwOz1DND04Q2Vzaz1DMz1BMSByZXB1Ymxpa2EN CmVtYWlsO2ludGVybmV0Om1pcm9zbGF2LnN1bGNAc3RhcnRuZXQuY3oNCnRlbDtjZWxsOis0 MjAgNjAzIDcxMSA0MTMNCngtbW96aWxsYS1odG1sOlRSVUUNCnVybDpodHRwOi8vd3d3LnN0 YXJ0bmV0LmN6DQp2ZXJzaW9uOjIuMQ0KZW5kOnZjYXJkDQoNCg== --------------070108050901070404090202-- -- gentoo-java@gentoo.org mailing list