I’m having trouble with a snapcraft.yaml config and need some help. I receive the following error when running snapcraft:
Failed to load plugin: properties failed to load for libblas: Additional properties are not allowed (‘install’ was unexpected)
My yaml is at the end of this posting. The underlying problem I need to solve is to add a link file to a library file.
name: gnuradio base: core18 version: '0.1' summary: GNURadio & OOT built from pkgs and github description: | This is my-snap's description. You have a paragraph or two to tell the most important story about your snap. Keep it under 100 words though, we live in tweetspace and your description wants to look good in the snap store. grade: devel confinement: strict apps: bash: command: bin/bash grc: command: desktop-launch $SNAP/usr/bin/gnuradio-companion plugs: - x11 - wayland - desktop - network-bind - pulseaudio - opengl - home parts: bash: plugin: nil stage-packages: - bash gnuradio: plugin: nil after: - desktop-gtk3 - libblas stage-packages: - gnuradio libblas: plugin: nil stage-packages: - libblas3 install: | set -ex for dir in $SNAPCRAFT_PART_INSTALL/usr/lib/*/; do (cd $dir; if [ -f blas/libblas.so.3.* ]; then ln -s blas/libblas.so.3.* libblas.so.3 fi) done desktop-gtk3: plugin: make source: https://github.com/ubuntu/snapcraft-desktop-helpers.git source-subdir: gtk make-parameters: ["FLAVOR=gtk3"] build-packages: - build-essential - libgtk-3-dev override-build: | snapcraftctl build mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform plugs: gnome-3-28-1804: interface: content content: gnome-3-28-1804 default-provider: gnome-3-28-1804 target: gnome-platform