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