[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [scl.org] problems with rebuilding devtoolset-4 (tycho on centos7)

Thanks for the hint. Maybe we can use another java version, but I'd rather turn off the check, if that is something what was not done before.


On 01/06/2016 10:58 AM, Michal Srb wrote:

On Wed, 2015-12-23 at 14:36 +0100, Honza Horak wrote:
We have some issues with packages devtoolset-4-tycho and
devtoolset-4-sqt-chart when trying to rebuild devtoolset-4 in centos.

For centos 6 it went ok, for centos7 we see build errors once we set
%bootstrap macro to 0:


It looks like java-1.8.0-openjdk-devel is being used during the build:
[ERROR] Command line
was: /usr/lib/jvm/java-1.8.0-openjdk- @options @packages

JDK8 is more strict than JDK7 when generating javadocs and I think this
causes the problem here.

The problem is that both JDK7 and JDK8 are in the buildroot and since
September of the last year, JDK8 has higher priority than JDK7
("alternatives" are involved).

The workaround could be to build the package with older
java-1.8.0-openjdk (java-1.8.0-openjdk- in the buildroot.
Is untagging an option?


I suspect the tycho being not properly build without bootstrap can cause
also the swt-chart build error:


Except many errors in tycho build log like this:

[INFO] Tycho (Incubation) ................................ FAILURE [10.901s]


[ERROR] public File getLocation();
error: unknown tag: TODO
[ERROR] * @TODO should come from separate ReactorArtifactDescriptor
warning: no @return


I see some suspicious error before:


[INFO] Mojo extractor for language: java-annotations found 11 mojo
line 2 column 68 - Error: plugin is not recognized!


Not sure if this ^ one is causing the troubles though.

Full build log is available at:

I'd be very glad for any help, because I'm already out of ideas.


SCLorg mailing list
SCLorg redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]