canonical / mir

The Mir compositor
GNU General Public License v2.0
629 stars 100 forks source link

regenerate-mirserver-internal-debian-symbols is broken #3571

Closed AlanGriffiths closed 2 weeks ago

AlanGriffiths commented 2 months ago
$ export MIR_SYMBOLS_MAP_GENERATOR_CLANG_LIBRARY_PATH=/usr/lib/llvm-18/lib
$ export MIR_SYMBOLS_MAP_GENERATOR_CLANG_SO_PATH=/usr/lib/llvm-18/lib/libclang.so.1
$ cmake --build cmake-build-release/ --target regenerate-mirserver-internal-debian-symbols
[1/1] cd /home/alan/CLionProjects/mir && /home/alan/CLionProjects/mir/tools/symbols_map_generator/run.sh --library mir_server_internal --version 2.18 --output_symbols
FAILED: src/server/CMakeFiles/regenerate-mirserver-internal-debian-symbols /home/alan/CLionProjects/mir/cmake-build-release/src/server/CMakeFiles/regenerate-mirserver-internal-debian-symbols 
cd /home/alan/CLionProjects/mir && /home/alan/CLionProjects/mir/tools/symbols_map_generator/run.sh --library mir_server_internal --version 2.18 --output_symbols
/bin/sh: 1: /home/alan/CLionProjects/mir/tools/symbols_map_generator/run.sh: not found
ninja: build stopped: subcommand failed.

There is no run.sh anywhere

AlanGriffiths commented 2 months ago

Of course, we don't track the symbols so it probably shouldn't exist anyway

mattkae commented 2 weeks ago

Yeah this shouldn't exist. I must have forgotten to delete it. The generate-mirserver-symbols-map handles both external and internal symbols