Skip to content

bug: misleading error for non-existent remote module #147

Description

@justsaft

Bug: Vib produces the following misleading error message when including a non-existent module .yml file as a remote module

Building module [] of type []
Loading new plugin
panic: /usr//share/vib/plugins/.so: cannot open shared object file: No such file or directory

Steps to reproduce

  • Create a recipe.
  • Add a module include statement similar to this.
- name: packages-modules
    type: includes
    includes:
      - gh:vanilla-os/desktop-image:main:module/404-this-file-doesnt-exist.yml
  • run vib build recipe.yml

Expected behaviour

Simple error message that clarifies that a remote module wasn't found (just like there is for local modules (although I think those aren't generated by Vib directly)).

Using Vib version: v0.8.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions