Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod From: Hans-Christoph Steiner Newsgroups: linux.debian.maint.java Subject: Re: lombok build failes Date: Mon, 08 Feb 2016 11:30:03 +0100 Message-ID: References: X-Original-To: Ioan Eugen Stan , Debian Java X-Mailbox-Line: From debian-java-request@lists.debian.org Mon Feb 8 10:23:10 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-4.62 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, COMPANYSYMBOLPRICE=3, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=no autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 X-Greylist: delayed 616 seconds by postgrey-1.35 at bendel; Mon, 08 Feb 2016 10:22:57 UTC Dkim-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=cwqTj2gvoiDVclg TnkJ/sd0l2cA=; b=t1ladADI9mPpF4JI8edbQg/T5nRyXW7X+VUXGDmNrhnCTB3 cMKkY1HumtI2FYvmbuevDL2OjAWnnpaH5Z7koNz2bp1PH5DC3MR5/LgyoEoZutNK OtB7ywSMXRzj61l0r3spwAcq2cchBWs60ohC0qRPsbrb0Nrw4ZqZvi0mGsP0= X-Sasl-Enc: AKtppv7hhkBOD6YeGma5qb4L38TT3AiyL57lpxH5WZXg 1454926356 X-Enigmail-Draft-Status: N1110 Organization: @||@ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/19156 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/56B86A10.5000506@at.or.at Approved: robomod@news.nic.it Lines: 84 Sender: robomod@news.nic.it X-Original-Date: Mon, 8 Feb 2016 11:12:32 +0100 X-Original-Message-ID: <56B86A10.5000506@at.or.at> X-Original-References: <56B75A47.7050903@ieugen.ro> Xref: csiph.com linux.debian.maint.java:8836 Hey Ioan, Glad to have another person joining in the lombok struggles! apo and I have been working on the lombok suite, but it is not quite complete yet. I think apo is still struggling with ivyplusplus, which is the upstream build system for lombok. .hc Ioan Eugen Stan: > Hello, > > I'm trying to fix lombok packge so it builds but there are some issues > that I don't know how to handle best. > > ... > [ivy:compile] warning: [options] To suppress warnings about obsolete > options, use -Xlint:-options. > [compile:javac] Compiling 18 source files to > /build/lombok-1.16.6/build/lombok-utils > [ivy:compile] > /build/lombok-1.16.6/src/utils/lombok/javac/Javac.java:330: error: > JCNoType is not abstract and does not override abstract method getTag() > in Type > [ivy:compile] private static class JCNoType extends Type implements > NoType { > [ivy:compile] ^ > [ivy:compile] > /build/lombok-1.16.6/src/utils/lombok/javac/Javac.java:332: error: > constructor Type in class Type cannot be applied to given types; > [ivy:compile] super(tag, null); > [ivy:compile] ^ > [ivy:compile] required: TypeSymbol > [ivy:compile] found: int, > [ivy:compile] reason: actual and formal argument lists differ in length > [ivy:compile] > /build/lombok-1.16.6/src/utils/lombok/javac/Javac.java:337: error: > cannot find symbol > [ivy:compile] if (tag == ((Integer) > CTC_VOID.value).intValue()) return TypeKind.VOID; > [ivy:compile] ^ > [ivy:compile] symbol: variable tag > [ivy:compile] location: class JCNoType > [ivy:compile] > /build/lombok-1.16.6/src/utils/lombok/javac/Javac.java:338: error: > cannot find symbol > [ivy:compile] if (tag == ((Integer) > CTC_NONE.value).intValue()) return TypeKind.NONE; > [ivy:compile] ^ > [ivy:compile] symbol: variable tag > [ivy:compile] location: class JCNoType > [ivy:compile] > /build/lombok-1.16.6/src/utils/lombok/javac/Javac.java:339: error: > cannot find symbol > [ivy:compile] throw new AssertionError("Unexpected > tag: " + tag); > [ivy:compile] > ^ > [ivy:compile] symbol: variable tag > [ivy:compile] location: class JCNoType > [ivy:compile] 5 errors > > BUILD FAILED > /build/lombok-1.16.6/build.xml:186: Compile failed; see the compiler > error output for details. > > Total time: 2 seconds > debian/rules:15: recipe for target 'override_dh_auto_build' failed > ... > > > So it fails becuse the signature of Type class (from tools.jar) has > changed from jdk6 to jdk8. > > Of course lombok packages it's own version of the Type class in > lib/build/net.java.openjdk.custom-javac6.jar so it can build but it's > not helpfull for Debian since we can't really include that binary. > > Any solutions on how to solve this? > > Thanks, > >