How to resolve same file conflicts from different parts when building a snap project?
Didier Roche
didrocks at ubuntu.com
Mon Aug 1 06:14:28 UTC 2016
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 <xiaoguo.liu at canonical.com
> <mailto:xiaoguo.liu at canonical.com>> 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 <tel:%2B86-13911181302>
>
>
>
>
> --
> XiaoGuo, Liu (刘晓国)
> Mobile: +86-13911181302
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160801/2c0483e2/attachment.html>
More information about the Snapcraft
mailing list