Hi, On Thu, Dec 01, 2022 at 07:41:45AM -0600, Alex Stewart wrote: > While rebasing the NI LinuxRT distro to kirkstone, I noticed that my > pyrex container fails gvfs:do_configure with a meson error about not > finding an `ssh` client. > > | Program ssh found: NO > | > | ../gvfs-1.50.0/meson.build:462:2: ERROR: Assert failed: SFTP backend > requested but a ssh client is required > > > After some investigation, it seems that gvfs is configured to use the > `ssh` client implementation in the build machine's PATH. If no native > implementation is provided in the native sysroot, it will default to > using the host machine's implementation. > > My new kirkstone pyrex container happened to not install an ssh client, > and so would fail. Since ssh isn't a requirement to run BB or OE, I > don't think it's appropriate to use the host's ssh. > > > This patchset adds the native bbclass to openssh, when the user includes > meta-oe in his layerstack, and then provides the openssh-native content > to gvfs through its DEPENDS. This is sufficient to resolve the error on > my kirkstone pyrex container. > > NOTE: It's a little odd to me that the OE-core openssh recipe doesn't > already inherit native.bbclass - when it *does* inherit > nativesdk.bbclass. I would be open to moving the openssh changes in this > PR to OE-core directly, if someone can ACK that it would be more > appropriate to do so.
Why would one really need to build native, the compiler host machine, version of openssh? Why even gvfs is needed for native?! For target or nativesdk the needs are clear, but for native? These kind of things really need good justifications or the whole host tooling graph explodes and build times with it. In most cases the native host target has a lot less build dependencies and features enabled because of this reason. Cheers, -Mikko
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#99890): https://lists.openembedded.org/g/openembedded-devel/message/99890 Mute This Topic: https://lists.openembedded.org/mt/95382223/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-