# Build failure for elasticsearch 7.2 on PPC64LE

**URL:** <https://discuss.elastic.co/t/build-failure-for-elasticsearch-7-2-on-ppc64le/208687>\
**Category:** Elasticsearch\
**Created:** [November 20, 2019, 11:43am UTC](https://discuss.elastic.co/t/build-failure-for-elasticsearch-7-2-on-ppc64le/208687 "2019-11-20T11:43:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarvesh.tamba](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@sarvesh.tamba](https://discuss.elastic.co/u/sarvesh.tamba)\
**Post date:** [November 20, 2019, 11:43am UTC](https://discuss.elastic.co/t/build-failure-for-elasticsearch-7-2-on-ppc64le/208687/1 "2019-11-20T11:43:12Z")

</div>

I am trying to build elasticsearch version 7.2 on PPC64LE inside a `registry.access.redhat.com/ubi7/ubi-minimal` based container.

Initially I ran into `error: unmappable character (0xE0) for encoding US-ASCII` errors, which were resolved by exporting `export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8` .

However now I am facing the following error as below:-

```auto
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :buildSrc:compileMinimumRuntimeJava NO-SOURCE
> Task :buildSrc:compileMinimumRuntimeGroovy UP-TO-DATE
> Task :buildSrc:processMinimumRuntimeResources NO-SOURCE
> Task :buildSrc:minimumRuntimeClasses UP-TO-DATE
> Task :buildSrc:compileJava UP-TO-DATE
> Task :buildSrc:compileGroovy UP-TO-DATE
> Task :buildSrc:pluginDescriptors UP-TO-DATE
> Task :buildSrc:processResources UP-TO-DATE
> Task :buildSrc:classes UP-TO-DATE
> Task :buildSrc:jar UP-TO-DATE
> Task :buildSrc:assemble UP-TO-DATE
> Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
> Task :buildSrc:compileTestJava UP-TO-DATE
> Task :buildSrc:compileTestGroovy UP-TO-DATE
> Task :buildSrc:processTestResources UP-TO-DATE
> Task :buildSrc:testClasses UP-TO-DATE
> Task :buildSrc:test SKIPPED
> Task :buildSrc:validateTaskProperties UP-TO-DATE
> Task :buildSrc:check UP-TO-DATE
> Task :buildSrc:build UP-TO-DATE

> Configure project :benchmarks
=======================================
Elasticsearch Build Hamster says Hello!
  Gradle Version : 5.4.1
  OS Info : Linux 3.10.0-1062.el7.ppc64le (ppc64le)
  JDK Version : 12 (AdoptOpenJDK 12.0.2 [OpenJDK 64-Bit Server VM 12.0.2+10])
  JAVA_HOME : /usr/local/jdk-12.0.2+10
  Random Testing Seed : E715761E1F58416E
=======================================

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/root/elasticsearch/benchmarks/build.gradle' line: 20

* What went wrong:
A problem occurred evaluating project ':benchmarks'.
> Failed to apply plugin [id 'elasticsearch.build']
   > Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':benchmarks'.
> Must specify license and notice file for project :benchmarks

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================

* Get more help at https://help.gradle.org

BUILD FAILED in 14s

```

Am I missing anything here?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 18, 2019, 11:43am UTC](https://discuss.elastic.co/t/build-failure-for-elasticsearch-7-2-on-ppc64le/208687/2 "2019-12-18T11:43:16Z")

</div>

Closed on December 18, 2019, 11:43am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
