Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870250 - app-forensics/sleuthkit-4.11.1-r1 ist/sleuthkit-caseuco-4.11.1.jar does not exist or is not a file!
Summary: app-forensics/sleuthkit-4.11.1-r1 ist/sleuthkit-caseuco-4.11.1.jar does not e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-15 17:42 UTC by aleck
Modified: 2023-06-27 05:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,476.18 KB, text/x-log)
2022-09-15 17:42 UTC, aleck
Details
emerge --info (emerge-info.txt,6.91 KB, text/plain)
2022-09-15 17:42 UTC, aleck
Details
environment (environment,137.21 KB, text/plain)
2022-09-15 17:42 UTC, aleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aleck 2022-09-15 17:42:06 UTC
Created attachment 805369 [details]
build.log

During the installation phase I get following error:

>>> Install app-forensics/sleuthkit-4.11.1-r1 into /var/tmp/portage/app-forensics/sleuthkit-4.11.1-r1/image
 * ERROR: app-forensics/sleuthkit-4.11.1-r1::gentoo failed (install phase):
 *   dist/sleuthkit-caseuco-4.11.1.jar does not exist or is not a file!


Thank you for your great work.
Comment 1 aleck 2022-09-15 17:42:31 UTC
Created attachment 805372 [details]
emerge --info
Comment 2 aleck 2022-09-15 17:42:53 UTC
Created attachment 805375 [details]
environment
Comment 3 Göktürk Yüksek archtester gentoo-dev 2023-06-27 05:07:36 UTC
I'm not sure but I don't see java targets getting built at all. I noticed this in src_configure:

```
checking if /usr/lib64/icedtea8/bin/java works... yes
checking for ant... /usr/bin/ant
./configure: 23598: test: xyes: unexpected operator
checking if libtool needs -no-undefined flag to build shared libraries... no
checking for getline... yes
```

which I believe roughly corresponds to this line:

```
 if test "x$ax_java_support" == "xyes"; then
  X_JNI_TRUE=
  X_JNI_FALSE='#'
else
  X_JNI_TRUE='#'
  X_JNI_FALSE=
fi
```
Comment 4 Larry the Git Cow gentoo-dev 2023-06-27 05:25:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02148b29dc4cce3de2ed4781e07c561963668f2d

commit 02148b29dc4cce3de2ed4781e07c561963668f2d
Author:     Göktürk Yüksek <gokturk@gentoo.org>
AuthorDate: 2023-06-27 05:22:06 +0000
Commit:     Göktürk Yüksek <gokturk@gentoo.org>
CommitDate: 2023-06-27 05:24:55 +0000

    app-forensics/sleuthkit: fix configure.ac to use '==' instead of '='
    
    Address a build time issue where using '==' may fail with:
    
      test: xyes: unexpected operator
    
    silently disabling the build of Java support, ultimately
    leading to failure in src_install.
    
    Bug: https://bugs.gentoo.org/870250
    Url: https://github.com/sleuthkit/sleuthkit/pull/2835
    Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>

 .../sleuthkit-4.12.0-configure-ac-test-fix.patch   | 34 ++++++++++++++++++++++
 app-forensics/sleuthkit/sleuthkit-4.12.0.ebuild    |  1 +
 2 files changed, 35 insertions(+)
Comment 5 Göktürk Yüksek archtester gentoo-dev 2023-06-27 05:26:09 UTC
Even though I cannot reproduce this problem, I'm confident it'll address the issue here. Please try sleuthkit-4.12.0 and re-open if the issue persists.