Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811207 - app-forensics/sleuthkit-4.11.0 - java.lang.NoSuchMethodError: org.apache.tools.ant.Project.setCoreLoader(Ljava/lang/ClassLoader;)V
Summary: app-forensics/sleuthkit-4.11.0 - java.lang.NoSuchMethodError: org.apache.tool...
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: PullRequest
Depends on:
Blocks: 853109
  Show dependency tree
 
Reported: 2021-08-31 07:26 UTC by Toralf Förster
Modified: 2024-08-05 07:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.17 KB, text/plain)
2021-08-31 07:26 UTC, Toralf Förster
Details
app-forensics:sleuthkit-4.11.0:20210831-015636.log (app-forensics:sleuthkit-4.11.0:20210831-015636.log,207.24 KB, text/plain)
2021-08-31 07:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,594.32 KB, text/plain)
2021-08-31 07:26 UTC, Toralf Förster
Details
environment (environment,139.03 KB, text/plain)
2021-08-31 07:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,39.68 KB, application/x-bzip)
2021-08-31 07:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.73 KB, application/x-bzip)
2021-08-31 07:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-31 07:26:23 UTC
ant dist -Doffline=true -Ddefault-jar-location="/var/tmp/portage/app-forensics/sleuthkit-4.11.0/temp/lib"
Buildfile: /var/tmp/portage/app-forensics/sleuthkit-4.11.0/work/sleuthkit-4.11.0/bindings/java/build.xml
java.lang.NoSuchMethodError: org.apache.tools.ant.Project.setCoreLoader(Ljava/lang/ClassLoader;)V
	at org.apache.tools.ant.Main.runBuild(Main.java:741)
	at org.apache.tools.ant.Main.startAnt(Main.java:223)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20210822-142511

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.54.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 052680b3ab60f19567443f6406968088b42209ac
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 30 23:36:46 2021 +0000

    2021-08-30 23:36:44 UTC

emerge -qpvO app-forensics/sleuthkit
[ebuild  N    ] app-forensics/sleuthkit-4.11.0  USE="java threads zlib -aff -doc -ewf -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2021-08-31 07:26:25 UTC
Created attachment 736897 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-31 07:26:26 UTC
Created attachment 736900 [details]
app-forensics:sleuthkit-4.11.0:20210831-015636.log
Comment 3 Toralf Förster gentoo-dev 2021-08-31 07:26:28 UTC
Created attachment 736903 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-31 07:26:30 UTC
Created attachment 736906 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-31 07:26:31 UTC
Created attachment 736909 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-31 07:26:32 UTC
Created attachment 736912 [details]
logs.tar.bz2
Comment 7 Göktürk Yüksek archtester gentoo-dev 2022-02-15 02:18:35 UTC
I'm quite puzzled by this output. The class 'org.apache.tools.ant.Project.setCoreLoader' is provided by dev-java/ant-core (in ant.jar). Since the ebuild inherits java-ant-2, it should pull in ant-core as a dependency. As a matter of fact, I see it in the emerge history:
  2021-08-22T23:32:17 >>> dev-java/ant-core-1.10.9

I can't currently reproduce this but I'll double check the CLASSPATH.
Comment 8 Larry the Git Cow gentoo-dev 2024-08-05 07:26:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84366a719d081cfea725fe891fea8001d85460fb

commit 84366a719d081cfea725fe891fea8001d85460fb
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-07-31 04:13:06 +0000
Commit:     Göktürk Yüksek <gokturk@gentoo.org>
CommitDate: 2024-08-05 07:26:11 +0000

    app-forensics/sleuthkit: drop 4.11.1-r2
    
    Bug: https://github.com/gentoo/gentoo/pull/37963
    Closes: https://bugs.gentoo.org/811207
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>

 app-forensics/sleuthkit/Manifest                   |   2 -
 app-forensics/sleuthkit/sleuthkit-4.11.1-r2.ebuild | 313 ---------------------
 2 files changed, 315 deletions(-)