Package Details: sleuthkit-java 4.12.1-2

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: mh4ckwascut
Last Packager: mh4ckwascut
Votes: 8
Popularity: 0.019375
First Submitted: 2018-05-18 05:27 (UTC)
Last Updated: 2023-10-02 21:15 (UTC)

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

kruzah commented on 2020-12-03 11:28 (UTC)

@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

<deleted-account> commented on 2020-12-03 11:08 (UTC)

@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 (UTC)

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

solsticedhiver commented on 2020-05-10 14:21 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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 (UTC)

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

<deleted-account> commented on 2020-01-25 15:44 (UTC)

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