Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Doesn't work with the GHDL Snap package

Aperta
#1,058 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
testing-qa

Direzione di ricerca

Start by reproducing the failure with GHDL installed as a Snap and compare it with the package-manager installation; the failing command and VUnit file string_ops.vhd are shown in the report. Investigate whether Snap confinement prevents GHDL from reading the VUnit source path. Done means the test setup works with the Snap package, or the limitation and a usable workaround are documented.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When I have GHDL installed as a Snap, trying to run my run.py gives me:

Compiling into dcpu16_lib:      src/andgate.vhd                                                                                              passed
Compiling into vunit_lib:       ../../../.local/lib/python3.10/site-packages/vunit/vhdl/string_ops/src/string_ops.vhd                        failed
=== Command used: ===
/snap/bin/ghdl -a --workdir=/home/myusername/workspace/cat-fpga/dcpu16-core/vunit_out/ghdl/libraries/vunit_lib --work=vunit_lib --std=08 -P/home/myusername/workspace/cat-fpga/dcpu16-core/vunit_out/ghdl/libraries/vunit_lib -P/home/myusername/workspace/cat-fpga/dcpu16-core/vunit_out/ghdl/libraries/dcpu16_lib -P/home/myusername/workspace/cat-fpga/dcpu16-core/vunit_out/ghdl/libraries/dcpu16_test_lib /home/myusername/.local/lib/python3.10/site-packages/vunit/vhdl/string_ops/src/string_ops.vhd


=== Command output: ===
/snap/ghdl/1/bin/ghdl: cannot open /home/myusername/.local/lib/python3.10/site-packages/vunit/vhdl/string_ops/src/string_ops.vhd

Compile failed

I think the Snap confinement is not allowing the sandboxed GHDL to access that file, even though it is being passed in in the command line.

If I replace the GHDL Snap with GHDL from the real package manager, it works.

Lingua principale
VHDL
Stelle
850
Fork
305
Merge medio
2g 10h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di VUnit/vunit

Tutte le issue di VUnit/vunit

Issue simili

Altre issue su Testing & QA

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.