Hi
I strugle to create my first snap file. I notice some progress, but suprisingly I am stuck with compilation QtCsv library. I think the problem is with zip file that contains sub dir called qtcsv-1.4.1 snapcraft is not wise to check content of this sub dir after unpacking. So it reports error. My snapcraft.yaml is as follow, given error is bellow:
name: backup
version: '0.1'
summary: Simple backup daemon
description: |
Simple backup daemon.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
apps:
backup:
command: bin/backup
parts:
7z:
plugin: nil
stage-packages:
- p7zip
qtcsv:
plugin: qmake
source: https://github.com/iamantony/qtcsv/archive/v1.4.1.zip
common:
plugin: qmake
source: Libs/Common
backup:
plugin: qmake
source: Backup/
Failed to run 'qmake' for 'qtcsv': Exited with code 1.
Verify that the part is using the correct parameters and try again.