Package Details: elasticsearch7 7.17.9-1

Git Clone URL: https://aur.archlinux.org/elasticsearch7.git (read-only, click to copy)
Package Base: elasticsearch7
Description: Free and Open, Distributed, RESTful Search Engine
Upstream URL: https://www.elastic.co/elasticsearch/
Licenses: custom:Elastic-2.0
Conflicts: elasticsearch
Provides: elasticsearch
Submitter: kode54
Maintainer: HLFH
Last Packager: HLFH
Votes: 2
Popularity: 0.073709
First Submitted: 2022-03-07 07:18 (UTC)
Last Updated: 2023-03-14 15:40 (UTC)

Required by (19)

Sources (9)

Latest Comments

1 2 Next › Last »

HLFH commented on 2023-01-19 23:54 (UTC)

@archerie Package updated with fixes on *depends and on _pkgname.

archerie commented on 2023-01-19 17:02 (UTC)

@HLFH Thanks for the updated package. I get an error during installing for the PKGBUILD "line 41: cd: elasticsearch7-7.17.8: No such file or directory".

Is it possible to use the headless versions of java for makedepends or depends since elasticsearch isn't a graphical program?

HLFH commented on 2023-01-19 13:05 (UTC) (edited on 2023-01-19 13:05 (UTC) by HLFH)

@archerie Can you try this updated package I have just submitted, and tell me if it works for you.

kode54 commented on 2023-01-19 03:02 (UTC)

Updated. Most definitely does not build. I do not care any more.

kode54 commented on 2023-01-19 02:56 (UTC)

Damn, I am on a roll today for not reading my own PKGBUILDs.

kode54 commented on 2023-01-19 02:54 (UTC)

Checksum matches, build fails. As I said, this needs older Java to build.

archerie commented on 2023-01-19 01:31 (UTC) (edited on 2023-01-19 01:31 (UTC) by archerie)

@kode54 when I do a cleanBuild I also get a validity check failed. Maybe the checksums aren't correct?

  -> Found elasticsearch.service
  -> Found elasticsearch@.service
  -> Found elasticsearch-keystore.service
  -> Found elasticsearch-keystore@.service
  -> Found elasticsearch-sysctl.conf
  -> Found elasticsearch-user.conf
  -> Found elasticsearch-tmpfile.conf
  -> Found elasticsearch.default
  -> Found remove-systemd-distribution-check.patch
  -> Found remove-systemd-package-check.patch
==> Validating source files with sha256sums...
    elasticsearch-7.17.8.tar.gz ... FAILED
    elasticsearch.service ... Passed
    elasticsearch@.service ... Passed
    elasticsearch-keystore.service ... Passed
    elasticsearch-keystore@.service ... Passed
    elasticsearch-sysctl.conf ... Passed
    elasticsearch-user.conf ... Passed
    elasticsearch-tmpfile.conf ... Passed
    elasticsearch.default ... Passed
    remove-systemd-distribution-check.patch ... Passed
    remove-systemd-package-check.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: elasticsearch7 
         context: exit status 1

archerie commented on 2023-01-19 01:24 (UTC) (edited on 2023-01-19 01:32 (UTC) by archerie)

Is installation working for you? I'm getting 4 build errors.

I don't know if it's related but can you also use non hardcoded java version in PKGBUILD (export PATH=/usr/lib/jvm/java-17-openjdk/bin:$PATH)?

FAILURE: Build completed with 4 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-plugin-classloader:compileJava'.
> error: release version 8 not supported

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

2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-geo:compileJava'.
> error: release version 8 not supported

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

3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-secure-sm:compileJava'.
> error: release version 8 not supported

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

4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':libs:elasticsearch-core:compileJava'.
> error: release version 8 not supported

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

archerie commented on 2023-01-19 00:45 (UTC)

Could you remove versions and update? There shouldn't be a version restriction for depends or makedepends.

depends=('java-runtime-headless<=17' 'systemd' 'libxml2') makedepends=('java-environment=18')

can be

depends=('java-runtime-headless' 'systemd' 'libxml2') makedepends=('java-environment')

kode54 commented on 2023-01-19 00:09 (UTC) (edited on 2023-01-19 00:09 (UTC) by kode54)

In case you didn't notice, this does not specify a Java version, only that it needs a headless runtime.

Edit: Crap, I can't read. I don't know why I specified =18 in there. It needed a maximum version at the time I last tested it.