<div dir="ltr">Hi,<div><br></div><div>I finally solved the problem by adding:</div><div><br></div><div><div> stage:</div><div> - -usr/share/pkgconfig/xkeyboard-config.pc </div></div><div><br></div><div>in one of the parts to avoid the conflicts (the same file from different parts with the same installation path).</div><div><br></div><div>Best regards,</div><div>XiaoGuo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 1, 2016 at 9:54 AM, XiaoGuo Liu <span dir="ltr"><<a href="mailto:xiaoguo.liu@canonical.com" target="_blank">xiaoguo.liu@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>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:</div><div><br></div><div><a href="https://github.com/liu-xiao-guo/rssreader_snap" target="_blank">https://github.com/liu-xiao-guo/rssreader_snap</a></div><div><br></div><div>However, now I try to rebuild the project, and I get the following error:</div><div><br></div><div>==========================================================================</div><div><div>Removing suid/guid from /home/liuxg/snappy/desktop/rssreader/parts/rssreader/install/usr/lib/x86_64-linux-gnu/oxide-qt/chrome-sandbox</div><div>Pulling rssreader </div><div>Skipping build desktop/qt5 (already ran)</div><div>'rssreader' has prerequisites that need to be staged: desktop/qt5</div><div>Skipping pull desktop/qt5 (already ran)</div><div>Skipping build desktop/qt5 (already ran)</div><div>Parts 'desktop/qt5' and 'rssreader' have the following file paths in common which have different contents:</div><div>usr/share/pkgconfig/xkeyboard-config.pc</div><div>=========================================================================</div><div><br></div><div>I find that the same file "xkeyboard-config.pc" is from two different parts:</div><div><br></div><div> - rssreader</div><div> - desktop (desktop/qt5), which is used to invoke the Qt app.</div><div><br></div><div>I do not know how to resolve the conflict issue the same file comes from two different parts</div><div><br></div><div>Thanks & best regards,</div><div>XiaoGuo</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: <a href="tel:%2B86-13911181302" value="+8613911181302" target="_blank">+86-13911181302</a></div></div></div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">XiaoGuo, Liu (刘晓国)<div>Mobile: +86-13911181302</div></div></div>
</div>