Package Details: elasticsearch 8.15.3-1

Git Clone URL: https://aur.archlinux.org/elasticsearch.git (read-only, click to copy)
Package Base: elasticsearch
Description: Free and Open, Distributed, RESTful Search Engine
Upstream URL: https://www.elastic.co/elasticsearch/
Licenses: custom:Elastic-2.0
Conflicts: elasticsearch-bin, elasticsearch7
Provides: elasticsearch
Submitter: hashworks
Maintainer: ipaqmaster
Last Packager: ipaqmaster
Votes: 11
Popularity: 0.22
First Submitted: 2022-01-08 16:30 (UTC)
Last Updated: 2024-10-17 16:49 (UTC)

Dependencies (2)

Required by (18)

Sources (9)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 14 Next › Last »

df8oe commented on 2023-11-09 07:06 (UTC)

Hi, there was a change in java packages: jdk-openjdk includes now the jre packages and conflict from now on with jre-openjdk... packages. Elasticsearch shoud have "java-runtime" as dependency not jre-openjdk... Otherwise it blocks installing jdk-openjdk from now on - see here also: https://archlinux.org/news/incoming-changes-in-jdk-jre-21-packages-may-require-manual-intervention/

ipaqmaster commented on 2023-10-05 00:53 (UTC)

The team have fixed building with JDK21 upstream however advised the JDK21 toolchain provides nothing special. Building with JDK17 is fine.

ipaqmaster commented on 2023-10-04 08:12 (UTC)

Thanks ❤️ but it feels like a cop out falling all the way back to JDK17 due to the warning in JDK21.

If you grant me access to elasticsearch-bin I can try to save it.

HLFH commented on 2023-10-04 05:58 (UTC) (edited on 2023-10-04 05:58 (UTC) by HLFH)

Migrated back to elasticsearch as elasticsearch-bin is failing.

Sounds like we have a great maintainer out there! Long live ipaqmaster!

ipaqmaster commented on 2023-10-03 02:41 (UTC)

Updated the package to include java-17-openjdk as a make dependency and to build Elasticsearch with it for now.

Resulting package still set to run using the latest which is currently java-21-openjdk.

Opened upstream issue in case the warnings experienced on java-21-openjdk are a problem: https://github.com/elastic/elasticsearch/issues/100173

ipaqmaster commented on 2023-10-02 21:37 (UTC) (edited on 2023-10-03 02:15 (UTC) by ipaqmaster)

Sorry I didn't see these earlier. I'll try to correct this.

It seems jre-openjdk-headless has started shipping java-21-openjdk which experiences warnings as errors during the build.

My machine has its archlinux-java set to java-17-openjdk (default) but a brand new docker container which only has jre-openjdk-headless (java-21-openjdk) can't build it due to the warning errors.

I was able to build it with java-20-openjdk in the container after downgrading to these three together: jdk-openjdk-20.0.2.u9-3 jre-openjdk-20.0.2.u9-3 jre-openjdk-headless-20.0.2.u9-3

Because Java 8,11,17 and 21 are the currently supported versions on Archlinux perhaps this AUR package could be changed to build using 17 until 21 doesn't error on warn?

prwood commented on 2023-10-02 19:22 (UTC)

I'm having the same issue as @bjo:

1: Task failed with an exception.
  • What went wrong: Execution failed for task ':libs:elasticsearch-core:compileJava'.

    error: release version 17 not supported

  • Try:

    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Get more help at https://help.gradle.org.

bjo commented on 2023-09-21 20:06 (UTC)

Building fails with error: release version 17 not supported - not sure what it complains about.

ipaqmaster commented on 2023-09-10 03:50 (UTC)

Understandable HLHF. This being changed to a source build certainly knocks out the build time.

The latest elastic 'release' for 7.17.13 caused the package to version-bump downwards, this has been corrected and logic has been added to avoid autoUpdating to lower version numbers.

HLFH commented on 2023-08-31 12:49 (UTC) (edited on 2023-08-31 12:50 (UTC) by HLFH)

I migrated to elasticsearch-bin as elasticsearch source takes too much resources (and time) to build.
I am leaving my maintainer role, and giving it to @ipaqmaster, you can therefore replace the Maintainer line in the PKGBUILD either for the current or the next version.