Fix build with rizin `stable` on `stable` branch
XVilka opened this issue · comments
> [linux/amd64 stage-0 15/15] RUN cmake -DCMAKE_PREFIX_PATH=/tmp/***-install/usr -DCMAKE_INSTALL_PREFIX=/usr -B build && cmake --build build && DESTDIR=/tmp/***-install cmake --build build --target install:
#44 193.3 [ 37%] Building CXX object CMakeFiles/core_ghidra.dir/src/RizinArchitecture.cpp.o
#44 196.9 [ 38%] Building CXX object CMakeFiles/core_ghidra.dir/src/RizinLoadImage.cpp.o
#44 199.7 [ 38%] Building CXX object CMakeFiles/core_ghidra.dir/src/RizinScope.cpp.o
#44 199.9 /tmp/rz-ghidra/src/RizinScope.cpp:10:10: fatal error: rz_build_version.h: No such file or directory
#44 199.9 #include <rz_build_version.h>
#44 199.9 ^~~~~~~~~~~~~~~~~~~~
#44 199.9 compilation terminated.
#44 199.9 make[2]: *** [CMakeFiles/core_ghidra.dir/build.make:102: CMakeFiles/core_ghidra.dir/src/RizinScope.cpp.o] Error 1
#44 199.9 make[1]: *** [CMakeFiles/Makefile2:119: CMakeFiles/core_ghidra.dir/all] Error 2
#44 199.9 make: *** [Makefile:130: all] Error 2
https://github.com/rizinorg/rizin/runs/8104330327?check_suite_focus=true#step:9:10533
Not an issue on stable and the includes have been removed on dev now.