[Pkg-electronics-devel] Bug#1071425: verilator: No such file or directory at /usr/bin/verilator
Carsten Schoenert
c.schoenert at t-online.de
Sat May 25 14:52:39 BST 2024
Control: forwarded -1 https://github.com/verilator/verilator/issues/5140
Control: severity -1 serious
Hello Bob,
Am Sun, May 19, 2024 at 11:49:24AM +0800 schrieb Bob Wong:
...
> When I run verilator form command line, it gives me the error Can't exec
> "/usr/bin/../share/verilator/bin/verilator": No such file or directory at
> /usr/bin/verilator line 21. I looked at the package 5.020 and find out version
> 5.024 is missing files. There is no bin folder under share/verilator directory.
> Also, the perl script for verilator seems to miss lots of lines. In the 5.020
> version, there are 528 lines while in the 5.024 version there are only 22
> lines. Please fix the package to make it usable again, and thanks for your
> help.
I thought I did fixed this successfully, but obviously not.
Upstream did change the installation folder for the various verilator_*
scripts *and* binaries from /usr/bin to /usr/share/verilator/.
Which isn't correct as by FHS /usr/share is only intended for
architecture independent code.
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html
I raised an issue about this in the upstream bug tracker [1] as correcting
this needs a bit more work within the upstream code.
Until then you can use an older version picked from snapshot.debian.org.
[1] https://github.com/verilator/verilator/issues/5140
Regards
Carsten
More information about the Pkg-electronics-devel
mailing list