Package: verilator Version: 5.030-1 Severity: serious Attempting to build actual verilated executables always crashes with python3: can't open file '/usr/share/verilator/bin/verilator_includer'
How to reproduce: On a system with git build-essential verilator installed, git clone https://github.com/BerkeleyLab/Bedrock cd Bedrock/projects/test_marble_family/pps_lock make pll_sim_check expect verilator --trace-fst -Wno-PINMISSING -Wno-WIDTH -Wno-PINCONNECTEMPTY -DSIMULATE -Gcount_period=125000 -cc --exe pll_sim.cpp tt800.c pps_lock.v pps_loop_filter.v [abstruse chatter] ./Vpps_lock +fir_enable saving curve to sim_lock.dat stat_n = 30 stat_v = 95 rms = 7.118 ns PASS but with Verilator 5.030 2024-10-27 rev (Debian 5.030-1) currently in trixie, it ends with python3: can't open file '/usr/share/verilator/bin/verilator_includer': [Errno 2] No such file or directory make[1]: *** [/usr/share/verilator/include/verilated.mk:210: Vpps_lock__ALL.cpp] Error 2 make[1]: Leaving directory '/redacted/pps_lock/obj_dir' make: *** [Makefile:33: Vpps_lock] Error 2 This is a non-reduced but straightforward real-world example. Every real simulation I've tried to build gives the same fault. This bug is somewhat related to Debian bug #1071425. Both originate in the upstream issue Installation of architecture specific binaries isn't FHS compatible https://github.com/verilator/verilator/issues/5140 The files that verilator should add to /usr/bin are verilator verilator_bin verilator_bin_dbg verilator_ccache_report verilator_coverage verilator_coverage_bin_dbg verilator_difftree verilator_gantt verilator_includer verilator_profcfunc but Debian verilator 5.030-1 manages to leave out verilator_ccache_report verilator_difftree verilator_includer. The omitted files are all python programs, as opposed to the perl programs that are properly placed /usr/bin. INADD. It would take me a while to come up with a packaging fix. -- System Information: Debian Release: trixie/sid Architecture: amd64 (x86_64)