Package Details: ghidra-git 9.2.2+r211+g41c453c54-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
Licenses: Apache
Conflicts: ghidra
Provides: ghidra
Submitter: flacks
Maintainer: encounter
Last Packager: encounter
Votes: 9
Popularity: 0.000005
First Submitted: 2019-04-05 17:25
Last Updated: 2021-01-25 05:03

Pinned Comments

encounter commented on 2020-10-01 07:53

All packages for Ghidra require Java 11. (package jdk11-openjdk)

You can set the active Java version using archlinux-java set java-11-openjdk

Latest Comments

1 2 3 Next › Last »

class101 commented on 2021-02-24 14:02

Hope you don't mind @encounter,

I have set a new package ghidra-dev that will switch the branch from time to time when something interesting is in the work.

Currently it is on the debugger branch, the advance they have made on it is pretty amazing.

kriskras99 commented on 2021-01-24 19:16

2443.patch can be removed as the fix was merged into master in November (https://github.com/NationalSecurityAgency/ghidra/issues/2443#issuecomment-732500745)

encounter commented on 2020-10-01 07:53

All packages for Ghidra require Java 11. (package jdk11-openjdk)

You can set the active Java version using archlinux-java set java-11-openjdk

rageltman commented on 2020-09-26 18:55

All of the built (vs bin) ghidra packages in AUR appear to suffer from similar build issues:

[2020-09-26T18:28:39.003Z] > Task :Project:compileJava
[2020-09-26T18:28:39.006Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:224: error: reference to Record is ambiguous
[2020-09-26T18:28:39.009Z]  private Record getPropertyRecord(String propertyName) {
[2020-09-26T18:28:39.011Z]          ^
[2020-09-26T18:28:39.014Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.016Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:240: error: reference to Record is ambiguous
[2020-09-26T18:28:39.019Z]  private void putRecord(Record rec) {
[2020-09-26T18:28:39.022Z]                         ^
[2020-09-26T18:28:39.025Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.028Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:99: error: reference to Record is ambiguous
[2020-09-26T18:28:39.030Z]      Record rec = iterator.next();
[2020-09-26T18:28:39.033Z]      ^
[2020-09-26T18:28:39.036Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.039Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:108: error: reference to Record is ambiguous
[2020-09-26T18:28:39.041Z]      ArrayList<Record> list = new ArrayList<>();
[2020-09-26T18:28:39.044Z]                ^
[2020-09-26T18:28:39.047Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.050Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:129: error: reference to Record is ambiguous
[2020-09-26T18:28:39.053Z]      for (Record updatedRec : list) {
[2020-09-26T18:28:39.055Z]           ^
[2020-09-26T18:28:39.058Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.061Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:143: error: reference to Record is ambiguous
[2020-09-26T18:28:39.064Z]          Record rec = iterator.next();
[2020-09-26T18:28:39.067Z]          ^
[2020-09-26T18:28:39.070Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.073Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:188: error: reference to Record is ambiguous
[2020-09-26T18:28:39.076Z]                  Record rec = recIt.next();
[2020-09-26T18:28:39.079Z]                  ^
[2020-09-26T18:28:39.081Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.084Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:210: error: reference to Record is ambiguous
[2020-09-26T18:28:39.086Z]                  Record rec = recIt.next();
[2020-09-26T18:28:39.089Z]                  ^
[2020-09-26T18:28:39.092Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.094Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:267: error: reference to Record is ambiguous
[2020-09-26T18:28:39.097Z]              Record rec = getPropertyRecord(getName());
[2020-09-26T18:28:39.100Z]              ^
[2020-09-26T18:28:39.103Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.105Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:297: error: reference to Record is ambiguous
[2020-09-26T18:28:39.108Z]              Record rec = PROPERTY_SCHEMA.createRecord(new StringField(getName()));
[2020-09-26T18:28:39.111Z]              ^
[2020-09-26T18:28:39.114Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.116Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/OptionsDB.java:323: error: reference to Record is ambiguous
[2020-09-26T18:28:39.119Z]          Record record = getPropertyRecord(optionName);
[2020-09-26T18:28:39.122Z]          ^
[2020-09-26T18:28:39.125Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.128Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/MetadataManager.java:38: error: reference to Record is ambiguous
[2020-09-26T18:28:39.130Z]              Record record = iterator.next();
[2020-09-26T18:28:39.133Z]              ^
[2020-09-26T18:28:39.136Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.138Z] /build/ghidra-git/src/ghidra/Ghidra/Framework/Project/src/main/java/ghidra/framework/data/MetadataManager.java:61: error: reference to Record is ambiguous
[2020-09-26T18:28:39.141Z]              Record record = SCHEMA.createRecord(id++);
[2020-09-26T18:28:39.144Z]              ^
[2020-09-26T18:28:39.146Z]   both class db.Record in db and class java.lang.Record in java.lang match
[2020-09-26T18:28:39.149Z] Note: Some input files use or override a deprecated API.
[2020-09-26T18:28:39.152Z] Note: Recompile with -Xlint:deprecation for details.
[2020-09-26T18:28:39.155Z] 13 errors

dmidge commented on 2020-06-02 20:05

Well, on my side, it can't find fstream... Why?

flacks commented on 2019-08-16 17:17

pokexpert, make sure you have enough system RAM available, ensure you have Java 11 or 12 selected as your system's default, and ensure your system is fully up-to-date. If you've checked all those, try building Ghidra in a clean chroot. I just successfully built and ran Ghidra a few moments ago in a clean chroot, so I can assure you the build instructions are correct, and that your build failure must be something particular to your system configuration.

pokexpert commented on 2019-08-16 10:53

I cant install it. It always fail on gladle build with super-strange compilation errors like : sstream : No file or directory 25 | #include <sstream> | ^~~~~~~~~

flacks commented on 2019-08-12 23:00

algebro, the package has been updated since your comment, should definitely build now.

algebro commented on 2019-08-05 16:29

I'm getting the following error trying to build this package:

FAILURE: Build failed with an exception.

* Where:
Build file '/home/algebro/.cache/yay/ghidra-git/src/ghidra/build.gradle' line: 336

* What went wrong:
Could not compile build file '/home/algebro/.cache/yay/ghidra-git/src/ghidra/build.gradle'.
> startup failed:
  build file '/home/algebro/.cache/yay/ghidra-git/src/ghidra/build.gradle': 336: expecting '}', found '' @ line 336, column 1.
  1 error

It looks like there's a missing curly brace or something in the allprojects{} patch added from the PKGBUILD?

flacks commented on 2019-07-02 23:58

C0rn3j I didn't run into that issue when using jdk11. But the commit mumbel mentioned did make it into the tree, so try again if the build still failed for you.