Ghidra version 10.2.2 from Flatpak
Ghidra org.ghidra_sre.Ghidra 10.2.2 stable flathub system
Build log:
GHIDRA_INSTALL_DIR=/var/lib/flatpak/app/org.ghidra_sre.Ghidra/current/active/files/lib/ghidra/ gradle
> Task :compileJava FAILED
/home/ivan/build/ghidra_psx_ldr/src/main/java/psyq/PsyqLoader.java:52: error: cannot find symbol
import ghidra.program.model.data.DataTypeConflictException;
^
symbol: class DataTypeConflictException
location: package ghidra.program.model.data
/home/ivan/build/ghidra_psx_ldr/src/main/java/ghidra/app/plugin/processors/sleigh/PcodeEmit.java:52: error: cannot find symbol
private UniqueAddressFactory uniqueFactory;
^
symbol: class UniqueAddressFactory
location: class PcodeEmit
/home/ivan/build/ghidra_psx_ldr/src/main/java/ghidra/app/plugin/processors/sleigh/PcodeEmit.java:82: error: cannot find symbol
PcodeOverride override, UniqueAddressFactory uniqueFactory) {
^
symbol: class UniqueAddressFactory
location: class PcodeEmit
/home/ivan/build/ghidra_psx_ldr/src/main/java/psyq/PsyqLoader.java:884: error: cannot find symbol
} catch (CodeUnitInsertionException | DataTypeConflictException e) {
^
symbol: class DataTypeConflictException
location: class PsyqLoader
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxExe.java:49: error: cannot find symbol
String ascii_id = reader.readFixedLenAsciiString(ASCII_ID_OFF, ASCII_ID_LEN);
^
symbol: method readFixedLenAsciiString(long,int)
location: variable reader of type BinaryReader
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:84: warning: [removal] ProgramPlugin(PluginTool,boolean,boolean) in ProgramPlugin has been deprecated and marked for removal
super(tool, true, false);
^
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:105: error: <anonymous psx.PsxPlugin$1> is not abstract and does not override abstract method doWhenNotBusy(Callback) in DecompilerCallbackHandler
TestUtils.setInstanceField("callbackHandler", decompController, new DecompilerCallbackHandler() {
^
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:184: error: method does not override or implement a method from a supertype
@Override
^
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:186: error: cannot find symbol
callbackHandler.doWheNotBusy(c);
^
symbol: method doWheNotBusy(Callback)
location: variable callbackHandler of type DecompilerCallbackHandler
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:214: error: cannot find symbol
return (PsxUpdateAddressSpacesOverrides) map.getObject(objAddress);
^
symbol: method getObject(Address)
location: variable map of type ObjectPropertyMap
Note: /home/ivan/build/ghidra_psx_ldr/src/main/java/ghidra/app/plugin/processors/sleigh/PcodeEmit.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
9 errors
1 warning
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
1 actionable task: 1 executed
Patch from #62 fixes some of the compile problems:
> Task :compileJava FAILED
/home/ivan/build/ghidra_psx_ldr/src/main/java/psyq/PsyqLoader.java:52: error: cannot find symbol
import ghidra.program.model.data.DataTypeConflictException;
^
symbol: class DataTypeConflictException
location: package ghidra.program.model.data
/home/ivan/build/ghidra_psx_ldr/src/main/java/psyq/PsyqLoader.java:884: error: cannot find symbol
} catch (CodeUnitInsertionException | DataTypeConflictException e) {
^
symbol: class DataTypeConflictException
location: class PsyqLoader
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxExe.java:49: error: cannot find symbol
String ascii_id = reader.readFixedLenAsciiString(ASCII_ID_OFF, ASCII_ID_LEN);
^
symbol: method readFixedLenAsciiString(long,int)
location: variable reader of type BinaryReader
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:84: warning: [removal] ProgramPlugin(PluginTool,boolean,boolean) in ProgramPlugin has been deprecated and marked for removal
super(tool, true, false);
^
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:105: error: <anonymous psx.PsxPlugin$1> is not abstract and does not override abstract method doWhenNotBusy(Callback) in DecompilerCallbackHandler
TestUtils.setInstanceField("callbackHandler", decompController, new DecompilerCallbackHandler() {
^
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:184: error: method does not override or implement a method from a supertype
@Override
^
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:186: error: cannot find symbol
callbackHandler.doWheNotBusy(c);
^
symbol: method doWheNotBusy(Callback)
location: variable callbackHandler of type DecompilerCallbackHandler
/home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java:214: error: cannot find symbol
return (PsxUpdateAddressSpacesOverrides) map.getObject(objAddress);
^
symbol: method getObject(Address)
location: variable map of type ObjectPropertyMap
Note: /home/ivan/build/ghidra_psx_ldr/src/main/java/ghidra/app/plugin/processors/sleigh/PcodeEmit.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/ivan/build/ghidra_psx_ldr/src/main/java/psx/PsxPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors
1 warning
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
1 actionable task: 1 executed
Ghidra version 10.2.2 from Flatpak
Ghidra org.ghidra_sre.Ghidra 10.2.2 stable flathub system
Build log:
Patch from #62 fixes some of the compile problems: