Re: How to tell snapcraft to not copy and include system libraries?
Hi, I met a similar condition and have reported it several months ago. https://bugs.launchpad.net/snapcraft/+bug/1587358 BR, Robert Michael Terry於 2016年12月9日 週五 22:19 寫道: > On Fri, Dec 9, 2016 at 9:10 AM, Sebastien Bacher > wrote: > > Le 09/12/2016 à 13:59, Sebastien Bacher a écrit : > > I've found this bug which seems similar but it has been marked incomplete > > https://bugs.launchpad.net/snapcraft/+bug/1639831 > > On a similar note and also due to this feature, it seems that snapcraft > prefers to use the system version than the deb specified in the source > > https://bugs.launchpad.net/snapcraft/+bug/1646546 > > " snapcraft packages .so from /usr instead of from .deb " > > > This ldd crawling also causes > > https://bugs.launchpad.net/snapcraft/+bug/1642041 > > where depending on what you have installed on your system, you get > different LD_LIBRARY_PATH values inserted by snapcraft. > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: How to tell snapcraft to not copy and include system libraries?
On Fri, Dec 9, 2016 at 9:10 AM, Sebastien Bacherwrote: > Le 09/12/2016 à 13:59, Sebastien Bacher a écrit : > > I've found this bug which seems similar but it has been marked incomplete > > https://bugs.launchpad.net/snapcraft/+bug/1639831 > > On a similar note and also due to this feature, it seems that snapcraft > prefers to use the system version than the deb specified in the source > > https://bugs.launchpad.net/snapcraft/+bug/1646546 > > " snapcraft packages .so from /usr instead of from .deb " This ldd crawling also causes https://bugs.launchpad.net/snapcraft/+bug/1642041 where depending on what you have installed on your system, you get different LD_LIBRARY_PATH values inserted by snapcraft. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: How to tell snapcraft to not copy and include system libraries?
Le 09/12/2016 à 13:59, Sebastien Bacher a écrit : > I've found this bug which seems similar but it has been marked incomplete > https://bugs.launchpad.net/snapcraft/+bug/1639831 On a similar note and also due to this feature, it seems that snapcraft prefers to use the system version than the deb specified in the source https://bugs.launchpad.net/snapcraft/+bug/1646546 " snapcraft packages .so from /usr instead of from .deb " Cheers, Sebastien Bacher -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: How to tell snapcraft to not copy and include system libraries?
Hey Renato, Thanks for the reply. Do you have any pointer to your discussions with Sergio about the issue and maybe a bug report? I've found this bug which seems similar but it has been marked incomplete https://bugs.launchpad.net/snapcraft/+bug/1639831 Cheers, Sebastien Bacher Le 09/12/2016 à 12:33, Renato Filho a écrit : > Hey Sebastien, > > This is a know problem we have the same problem when using > ubuntu-app-platform. Sergio is already working on it. Maybe he can > give us more information about that. > > Cheers. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: How to tell snapcraft to not copy and include system libraries?
Hey Sebastien, This is a know problem we have the same problem when using ubuntu-app-platform. Sergio is already working on it. Maybe he can give us more information about that. Cheers. Renato. 2016-12-09 7:40 GMT-03:00 Sebastien Bacher: > Hey there, > > I'm working on a simple demo snap which looks like that > > snapcraft.yaml > > example/ > > sharedlib/ > > demoexe > > > where sharedlib/ is an empty dir where the libraries I use are going to > be provided by content-sharing and demoexe is a binary copied my system > > > the snapcraft.yaml uses a simple part > > " example: > plugin: dump > source: example" > > doing that I'm trying to get a minimalistic snap but it seems that > snapcraft is trying to get too clever and looks at what libraries are > used by the binary and copy them over from the system directories... > > is there a way to tell snapcraft to not do that? or a workaround I could > use that would and still allow me to build my snap on launchpad (which > means not a manual edit of the prime on redoing that step locally)? > > > Cheers, > > Sebastien Bacher > > > > -- > Snapcraft mailing list > Snapcraft@lists.snapcraft.io > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/snapcraft -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
How to tell snapcraft to not copy and include system libraries?
Hey there, I'm working on a simple demo snap which looks like that snapcraft.yaml example/ sharedlib/ demoexe where sharedlib/ is an empty dir where the libraries I use are going to be provided by content-sharing and demoexe is a binary copied my system the snapcraft.yaml uses a simple part " example: plugin: dump source: example" doing that I'm trying to get a minimalistic snap but it seems that snapcraft is trying to get too clever and looks at what libraries are used by the binary and copy them over from the system directories... is there a way to tell snapcraft to not do that? or a workaround I could use that would and still allow me to build my snap on launchpad (which means not a manual edit of the prime on redoing that step locally)? Cheers, Sebastien Bacher -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft