Package Details: logstash 8.14.0-1

Git Clone URL: https://aur.archlinux.org/logstash.git (read-only, click to copy)
Package Base: logstash
Description: Transport and process your logs, events, or other data
Upstream URL: https://www.elastic.co/logstash/
Licenses: Apache-2.0 OR Elastic-2.0
Submitter: hashworks
Maintainer: bolleyboll
Last Packager: bolleyboll
Votes: 0
Popularity: 0.000000
First Submitted: 2022-01-09 17:29 (UTC)
Last Updated: 2024-06-11 13:10 (UTC)

Latest Comments

rageltman commented on 2024-06-18 16:22 (UTC)

The depends/makedepends disparity in jdk/jre causes a conflict:

==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...
:: jdk17-openjdk-17.0.11.u9-1 and jre17-openjdk-headless-17.0.11.u9-1 are in conflict. Remove jre17-openjdk-headless? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jdk17-openjdk-17.0.11.u9-1 and jre17-openjdk-headless-17.0.11.u9-1 are in conflict
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> jdk17-openjdk

christianandrevp commented on 2024-06-12 07:09 (UTC)

If you experience this Java compilation problem with Logstash, it may very often be due to the Java version, for which you should execute the following: sudo archlinux-java set java-11-openjdk

bolleyboll commented on 2023-11-08 17:33 (UTC)

Moved from Java 11 to Java 17. Please use archlinux-java to set default JDK to Java 17. Please reach out if facing any issues.

tbaxtr commented on 2023-06-17 23:24 (UTC)

Hi

Found the solution.

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
yay -S logstash

The problem seems to have been the version of Java that was being used. The default version was notably different (newer).

tbaxtr commented on 2023-06-11 20:50 (UTC)

Hi

I got the following doing an install

FAILURE: Build failed with an exception.

  • What went wrong: Could not open settings generic class cache for settings file '/var/cache/private/yay/logstash/src/logstash-8.6.1/settings.gradle' (/tmp/.gradle/caches/7.5/scripts/3qic0xv3uo5z56h7411bzzlkd).

    BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 64

  • 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 9s ==> ERROR: A failure occurred in build(). Aborting... -> error making: logstash-exit status 4 -> Failed to install the following packages. Manual intervention is required: logstash - exit status 4

This is not immediately obvious or intuitive. ...