Package Details: ghidra-git 12.2.r325.1640030366-1

Git Clone URL: https://aur.archlinux.org/ghidra-git.git (read-only, click to copy)
Package Base: ghidra-git
Description: Software reverse engineering framework (git)
Upstream URL: https://www.nsa.gov/ghidra
Keywords: binary compiler cryptor debugger decompiler disassembler ELF executable gdb ida-pro MACH MSDOS NSA OEP ollydbg open-source packer PEiD plugin reverse-engineering
Licenses: Apache-2.0
Conflicts: ghidra
Provides: ghidra
Submitter: flacks
Maintainer: kStor2poche (nullableVoidPtr)
Last Packager: kStor2poche
Votes: 13
Popularity: 0.41
First Submitted: 2019-04-05 17:25 (UTC)
Last Updated: 2026-10-24 09:14 (UTC)

Dependencies (10)

Sources (2)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

kStor2poche commented on 2026-10-09 19:11 (UTC) (edited on 2026-10-09 19:13 (UTC) by kStor2poche)

Thanks for the notice ! I've quickly tried it out but it still doesn't compile due to deprecation notices related to sun.awt.AppContext, which seems to have been removed in java 27.

I'd like to keep this package patch-free so I'll currently stick with the java-environment >= 25 and < 27 requirement until upstream stops to use this class and/or officially requires java 27 for building.

vladimmi commented on 2026-10-09 03:45 (UTC)

Talking about gradle - since 9.8.0 it supports Java 27 as well

kStor2poche commented on 2026-09-22 16:12 (UTC)

Thanks for the heads up and patch @steho ! As you remarked, the build does indeed fail with java 27 so I added the proper dependency but I still tried to improve the JDK_VERSION regex just to be future-proof, taking inspiration from your patch

steho commented on 2026-09-22 15:03 (UTC) (edited on 2026-09-22 16:22 (UTC) by steho)

The current Java version check in prepare() fails on OpenJDK 27 (extra/jre-openjdk 27.u35-1).

java --version outputs "openjdk 27 2026-09-15" (without a trailing .0). Because the current regex strictly expects a decimal point and digit (.[0-9]), the build fails.

You can fix this by making the decimal and minor version optional.

Change from:

if [[ ! $JDK_VERSION =~ (2[5-9]|[3-9][0-9])\.[0-9] ]]; then

To:

if [[ ! $JDK_VERSION =~ (2[5-9]|[3-9][0-9])(\.[0-9]+)? ]]; then

This allows it to match version strings like "27" directly.

UPDATED / NOTE: Nevermind, the current extra/gradle 9.7.1-1 only supports up to JVM26, so java-environment>=27 is not supported, and fails to build. So this should depend on java-environment<=26.

See the compatibility matrix: https://docs.gradle.org/current/userguide/compatibility.html#:~:text=Gradle%20runs%20on%20the%20Java%20Virtual%20Machine,can%20be%20used%20for%20compilation%20or%20testing.

kStor2poche commented on 2026-06-02 08:59 (UTC)

Thanks for the quick heads up @leonidlednev! This should now be fixed!

leonidlednev commented on 2026-06-01 22:15 (UTC)

The x86_64 installation zip does not have the _linux_x86_64 in its name anymore

kStor2poche commented on 2025-12-05 09:24 (UTC)

Thanks for the feedback, @kriskras99 ! I have finally found the time to get around to it so it's now done !

kriskras99 commented on 2025-11-03 07:37 (UTC)

Bringing it closer to the extras repo would be a great idea. If you're removing the desktop entries, I would suggest adding ghidra-desktop as an optional dependency.

kStor2poche commented on 2025-11-02 10:16 (UTC)

For anyone wondering, I took over the maintenance of this package as it was effectively unmaintained for 9 months and fixed existing compilation errors (thx to @deadYokai and @leonidlednev for their fixes!).

I am now pondering whether or not to bring this package closer to the way it is packaged on the extra repos since they now have successful builds for the latest versions. That would include removing the (imho out of place) polkit dependency and desktop entries as well as building/including ghidra-data datasets and following the same naming conventions as them for the command line utils. Please tell me how you'd feel about this!