Package Details: sleuthkit-java 4.10.2-1

Git Clone URL: https://aur.archlinux.org/sleuthkit-java.git (read-only, click to copy)
Package Base: sleuthkit-java
Description: Java bindings for The Sleuth Kit.
Upstream URL: http://www.sleuthkit.org/sleuthkit
Licenses: GPL2, CPL,, custom:"IBM Public Licence",
Submitter: jarylc
Maintainer: ljmf00
Last Packager: ljmf00
Votes: 6
Popularity: 0.001474
First Submitted: 2018-05-18 05:27
Last Updated: 2021-03-23 16:37

Required by (2)

Sources (1)

Latest Comments

1 2 3 Next › Last »

kruzah commented on 2020-12-03 11:28

@tcmal I'm not sure, I couldn't find anything about it - but as-is, this package as well as Autopsy requires java-environment=8, and upstream also had to re-release 4.10.1 because of this mismatch: ".deb file was updated because the initial one was compiled for Java11 instead of Java8." At least to me it makes sense to enforce building with Java 8, and using archlinux-java before makepkg doesn't.. feel as clean to me. But I'm not a Java packaging expert by any means.

An alternative would be to fetch the already built jar from the upstream deb (https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-4.10.1/sleuthkit-java_4.10.1-1_amd64.deb), this would also mean that you don't have to compile the rest of TSK just for the .jar file

tcmal commented on 2020-12-03 11:08

@kruzah I think the packaging guidelines recommend using the default: https://wiki.archlinux.org/index.php/Java_package_guidelines

kruzah commented on 2020-12-03 11:04

The package builds against the system default Java version rather than Java 8. Please specify the proper JAVA_HOME in PKGBUILD to ensure that it builds against Java 8:

$ git diff PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 209faf4..e81ed3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,13 +6,14 @@ pkgdesc='Java bindings for The Sleuth Kit.'
 arch=(x86_64)
 url='http://www.sleuthkit.org/sleuthkit'
 license=('CPL', 'custom:"IBM Public Licence"', 'GPL2')
-depends=(java-environment=8 java8-openjfx sleuthkit)
+depends=(jdk8-openjdk java8-openjfx sleuthkit)
 makedepends=(ant)
 source=("https://github.com/sleuthkit/sleuthkit/releases/download/sleuthkit-${pkgver}/sleuthkit-${pkgver}.tar.gz")
 md5sums=('c37bb35897a471c52ec18e0cbb807e9e')

 build() {
        cd "sleuthkit-${pkgver}"
+       export JAVA_HOME=/usr/lib/jvm/java-8-openjdk

        # build main program
        ./configure

solstice commented on 2020-05-10 14:21

the package depends on java 8 but it builds the jar and the class files with the default java version installed.

I have .class file version 55 (aka build with my default jdk 11 here)

something is wrong

sanerb commented on 2020-02-02 08:28

1.) the checksum is wrong 2.) the second patch is no longer necessary as upstream has applied. 3.) the third patch fails to apply (but seems to be unnecessary; the package builds with it commented out)

bkl commented on 2020-01-30 11:08

The "sleuthkit-4.8.0.tar.gz" was changed in github.

==> ERROR: One or more files did not pass the validity check! Error downloading sources: sleuthkit-java

There is a fixed version? https://github.com/sleuthkit/sleuthkit/archive/sleuthkit-4.8.0-fixed.zip

Interja commented on 2020-01-29 13:43

The http to https part was added to release 4.8.0, so the patches might fail during build.

Interja commented on 2020-01-27 13:25

Changing your ivysettings.xml according to the comment in the github issue should make the build work again. https://github.com/sleuthkit/sleuthkit/issues/1793#issuecomment-578725233

tcmal commented on 2020-01-25 15:44

4.8 is currently blocked by https://github.com/sleuthkit/sleuthkit/issues/1793

zara86 commented on 2019-08-12 08:06

Found it: Yes, it is set but, as you say, it must compiled using openjdk 8: with 11 and 12 (my previous default) it return an error, with '8' it's ok. Thank you @tcmal