How to resolve same file conflicts from different parts when building a snap project?

2016-07-31 Thread XiaoGuo Liu
Hi, Recently, I tried to convert a qmake project from Ubuntu phone SDK to a snap project, and it worked well initially two weeks ago. The source code can be found at: https://github.com/liu-xiao-guo/rssreader_snap However, now I try to rebuild the project, and I get the following error: ===

Re: How to resolve same file conflicts from different parts when building a snap project?

2016-07-31 Thread XiaoGuo Liu
Hi, I finally solved the problem by adding: stage: - -usr/share/pkgconfig/xkeyboard-config.pc in one of the parts to avoid the conflicts (the same file from different parts with the same installation path). Best regards, XiaoGuo On Mon, Aug 1, 2016 at 9:54 AM, XiaoGuo Liu wrote: >

Overriding seccomp policy: shm_open

2016-07-31 Thread Jacob Zimmermann
Hi I'm trying to get my hands on snapcraft by building a snap of "Hatari" (Atari ST emulator). I got it working nicely in devmode but it won't run under strict confinement, specifically it gets killed when attempting to execute shm_open(). Based on whatever little information I could gather I tri

Re: Overriding seccomp policy: shm_open

2016-07-31 Thread Simon Fels
On 01.08.2016 06:55, Jacob Zimmermann wrote: > Hi > > I'm trying to get my hands on snapcraft by building a snap of "Hatari" > (Atari ST emulator). I got it working nicely in devmode but it won't run > under strict confinement, specifically it gets killed when attempting to > execute shm_open(). >

Re: How to resolve same file conflicts from different parts when building a snap project?

2016-07-31 Thread Didier Roche
Le 01/08/2016 à 04:37, XiaoGuo Liu a écrit : > Hi, > > I finally solved the problem by adding: > > stage: > - -usr/share/pkgconfig/xkeyboard-config.pc > > in one of the parts to avoid the conflicts (the same file from > different parts with the same installation path). Hey, I think you

Re: How to resolve same file conflicts from different parts when building a snap project?

2016-07-31 Thread XiaoGuo Liu
Hi Didier, I think it should be the same issue as the one described there. By the way, my snapcraft version is: liuxg@liuxg:~$ snapcraft --version 2.13.1 You can try my example at https://github.com/liu-xiao-guo/rssreader_snap/blob/master/snapcraft.yaml. You just need to take off the following