Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8836

Re: lombok build failes

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Hans-Christoph Steiner <hans@at.or.at>
Newsgroups linux.debian.maint.java
Subject Re: lombok build failes
Date Mon, 08 Feb 2016 11:30:03 +0100
Message-ID <qZReX-3Ut-37@gated-at.bofh.it> (permalink)
References <qZyYF-7x5-1@gated-at.bofh.it>
X-Original-To Ioan Eugen Stan <eu@ieugen.ro>, Debian Java <debian-java@lists.debian.org>
X-Mailbox-Line From debian-java-request@lists.debian.org Mon Feb 8 10:23:10 2016
Old-Return-Path <hans@at.or.at>
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 <debian-java@lists.debian.org> archive/latest/19156
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
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

Show key headers only | View raw


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,<null>
> [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,
> 
> 

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

lombok build failes Ioan Eugen Stan <eu@ieugen.ro> - 2016-02-07 16:00 +0100
  Re: lombok build failes Hans-Christoph Steiner <hans@at.or.at> - 2016-02-08 11:30 +0100
  Re: lombok build failes Markus Koschany <apo@debian.org> - 2016-02-08 13:30 +0100
    Re: lombok build failes Hans-Christoph Steiner <hans@at.or.at> - 2016-02-08 14:40 +0100
      Re: lombok build failes Markus Koschany <apo@debian.org> - 2016-02-15 12:50 +0100
        Re: lombok build failes Hans-Christoph Steiner <hans@at.or.at> - 2016-02-15 17:10 +0100
          Re: lombok build failes Markus Koschany <apo@debian.org> - 2016-02-15 17:30 +0100
            Re: lombok build failes Hans-Christoph Steiner <hans@at.or.at> - 2016-02-15 17:30 +0100
              Re: lombok build failes Markus Koschany <apo@debian.org> - 2016-02-15 17:40 +0100

csiph-web