Error "[Errno 21] Is a directory" when building a snap package for a qmake project
Metadata
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.