<div dir="ltr"><div>Hi Sergio,</div><div><br></div><div>The question asked was actually how to get snapcraft to include dependencies *inside the snap* so that it works as it does with strict snaps, bundling the dependencies.</div><div><br></div><div>Your response was about system libraries rather than bundled in-snap libraries, I believe.</div><div><br></div><div>This should definitely work fine, right?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 17, 2017 at 11:21 PM, Sergio Schvezov <span dir="ltr"><<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, 17 Jan 2017 23:17:27 +0100, Joseph Rushton Wakeling wrote:<br>
> On 17/01/17 22:22, Sergio Schvezov wrote:<br>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><wbr>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><wbr>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><wbr>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><wbr>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><wbr>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><wbr>>>>>>>>>><br>
><br>
</span><span class="">> Is that a work in progress constraint, or is it the intended long term<br>
> behaviour?  (I'll try it out shortly in any case.)<br>
><br>
> I ask because currently, if a package is explicitly stated as a build<br>
> dependency, then with `strict` confinement it's automatically<br>
> included in the<br>
> final snap where necessary.  What makes `classic` confinement unable to<br>
> automatically handle the inclusion of build dependencies in the same way?<br>
<br>
</span>The logic is still run, but the resulting binary in classic uses rpath and no dynamic loading so there is no resolution to a on-system library we can pick up. I guess we can do some magic, but it feels it might be either fragile or make the build process a lot slower. We will need to look into it, but not short term.<br>
<span class="im HOEnZb"><br>
--<br>
Sent using Dekko from my Ubuntu device<br>
<br>
</span><div class="HOEnZb"><div class="h5">--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><br>gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</div>