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 line: stage: - -usr/share/pkgconfig/xkeyboard-config.pc in order to duplicate the issue. Best regards, XiaoGuo On Mon, Aug 1, 2016 at 2:14 PM, Didier Roche <[email protected]> wrote: > 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 are getting https://bugs.launchpad.net/snapcraft/+bug/1604472, > which was supposed to be fixed already in 2.13. Which version of snapcraft > is it running? > > Sergio, do you mind confirming (he's the second to mention it)? > > Cheers, > Didier > > > Best regards, > XiaoGuo > > On Mon, Aug 1, 2016 at 9:54 AM, XiaoGuo Liu <[email protected]> > wrote: > >> 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: >> >> ========================================================================== >> Removing suid/guid from >> /home/liuxg/snappy/desktop/rssreader/parts/rssreader/install/usr/lib/x86_64-linux-gnu/oxide-qt/chrome-sandbox >> Pulling rssreader >> Skipping build desktop/qt5 (already ran) >> 'rssreader' has prerequisites that need to be staged: desktop/qt5 >> Skipping pull desktop/qt5 (already ran) >> Skipping build desktop/qt5 (already ran) >> Parts 'desktop/qt5' and 'rssreader' have the following file paths in >> common which have different contents: >> usr/share/pkgconfig/xkeyboard-config.pc >> ========================================================================= >> >> I find that the same file "xkeyboard-config.pc" is from two different >> parts: >> >> - rssreader >> - desktop (desktop/qt5), which is used to invoke the Qt app. >> >> I do not know how to resolve the conflict issue the same file comes from >> two different parts >> >> Thanks & best regards, >> XiaoGuo >> >> -- >> XiaoGuo, Liu (刘晓国) >> Mobile: +86-13911181302 >> > > > > -- > XiaoGuo, Liu (刘晓国) > Mobile: +86-13911181302 > > > > > -- > Snapcraft mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > > -- XiaoGuo, Liu (刘晓国) Mobile: +86-13911181302
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
