Error "[Errno 21] Is a directory" when building a snap package for a qmake project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a qmake project. The project was generated by Ubuntu phone SDK. It worked for the phone. My project is at:
https:/
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://
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/
playpen/
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:/
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
Changed in snapcraft: | |
status: | New → Confirmed |
I get the same error at the same general point in the snapping process, but I'm using qbs instead of qmake, and making the package name and app name distinct did not work around the error for me.