← Back to issue list

Error "[Errno 21] Is a directory" when building a snap package for a qmake project

View original Launchpad issue

Metadata

Project
snapcraft
Number
#1601834
Type
issue
State
open
Author
~liu-xiao-guo
Labels
Created
2016-07-11 14:18:02.464371+00:00
Updated
2016-09-26 16:21:42.568216+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I have a qmake project. The project was generated by Ubuntu phone SDK. It worked for the phone. My project is at: https://github.com/liu-xiao-guo/snaptest/blob/master/snapcraft.yaml Please be noted that the package name and the app name are the same "snaptest". When I build the project, it gives me the error like http://paste.ubuntu.com/19078940/ kipping stage desktop/qt5 (already ran) 'application' has prerequisites that need to be staged: desktop/qt5 Skipping pull desktop/qt5 (already ran) Skipping build desktop/qt5 (already ran) Skipping stage desktop/qt5 (already ran) Staging application Priming desktop/qt5 'application' has prerequisites that need to be staged: desktop/qt5 Skipping pull desktop/qt5 (already ran) Skipping build desktop/qt5 (already ran) Skipping stage desktop/qt5 (already ran) Priming application [Errno 21] Is a directory: '/home/liuxg/snappy/desktop/snappy- playpen/snaptest/prime/snaptest' It does not generate any .snap file for me. In order to make it working for me, I have to change my snapcraft.yaml file to: https://github.com/liu-xiao-guo/snaptest_working/blob/master/snapcraft.yaml Please be noted that the package name and the app name now are different. When I build the project, it gives me the correct .snap file, and I can install it. Thanks & best regards, XiaoGuo

Evaluation history

No evaluation history available.