Skip to content

Doesn't work with the GHDL Snap package #1058

Description

@interfect

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions