Apologies. Caused by my testing I had a lingering symlink to ssh-keygen
in ${TMP}/hosttools. Therefore, I did not have a build error. Since
'ssh' is in hosttools, maybe it would be best to add 'ssh-keygen' as well?
Without building openssh-native, the only other way I could think of
would be to use a hardcoded path like this:
+--- a/meson.build 2022-02-17 09:03:00.081459067 +0100
++++ b/meson.build 2022-02-17 09:02:34.321668809 +0100
+@@ -44,7 +44,7 @@
+ libpwquality = dependency('pwquality')
+ posix = valac.find_library('posix')
+ ssh_bin = find_program('ssh')
+-ssh_keygen = find_program('ssh-keygen')
++ssh_keygen = find_program('/usr/bin/ssh-keygen')
+ gpg_bin = find_program('gpg2', 'gpg', required: get_option('pgp-support'))
+ gpgme_dep = dependency('gpgme', version: '>= 1.14.0', required:
get_option('pgp-support'))
+
+
Am 17.02.22 um 08:29 schrieb Markus Volk:
Maybe i'm not running into this because i have this in my config ?
IMAGE_FEATURES += " ssh-server-openssh"
Am 17.02.22 um 08:13 schrieb Markus Volk:
That's strange. I have this error only without using
meson-build-dont-look-for-native-ssh-keygen.patch
Native ssh Dependency is fullfilled because we have it in HOSTTOOLS,
probably because the machine fails to build openssh-native. But we
dont provide native ssh-keygen. Adding it to hosttools would help to
fix the issue.
Does it help to add 'openssh' to depends ?
Am 17.02.22 um 07:59 schrieb Khem Raj:
seeing configure failure
https://errors.yoctoproject.org/Errors/Details/625735/
On Wed, Feb 16, 2022 at 8:57 AM Markus Volk <[email protected]> wrote:
Signed-off-by: Markus Volk <[email protected]>
---
...uild-dont-look-for-native-ssh-keygen.patch | 15 +++++++++++
.../recipes-gnome/seahorse/seahorse_41.0.bb | 27
+++++++++++++++++++
2 files changed, 42 insertions(+)
create mode 100644
meta-gnome/recipes-gnome/seahorse/seahorse/meson-build-dont-look-for-native-ssh-keygen.patch
create mode 100644
meta-gnome/recipes-gnome/seahorse/seahorse_41.0.bb
diff --git
a/meta-gnome/recipes-gnome/seahorse/seahorse/meson-build-dont-look-for-native-ssh-keygen.patch
b/meta-gnome/recipes-gnome/seahorse/seahorse/meson-build-dont-look-for-native-ssh-keygen.patch
new file mode 100644
index 000000000..ac83de486
--- /dev/null
+++
b/meta-gnome/recipes-gnome/seahorse/seahorse/meson-build-dont-look-for-native-ssh-keygen.patch
@@ -0,0 +1,15 @@
+From: Markus Volk <[email protected]>
+Date: Tue, 16 Feb 2022 10:38:04 +0100
+Subject: [PATCH] meson.build: dont look for native ssh-keygen
+
+--- a/meson.build 2022-02-16 10:38:04.170081321 +0100
++++ b/meson.build 2022-02-16 10:38:28.257864179 +0100
+@@ -44,7 +44,7 @@
+ libpwquality = dependency('pwquality')
+ posix = valac.find_library('posix')
+ ssh_bin = find_program('ssh')
+-ssh_keygen = find_program('ssh-keygen')
++ssh_keygen = find_program('ssh-keygen', native : false)
+ gpg_bin = find_program('gpg2', 'gpg', required:
get_option('pgp-support'))
+ gpgme_dep = dependency('gpgme', version: '>= 1.14.0', required:
get_option('pgp-support'))
+
diff --git a/meta-gnome/recipes-gnome/seahorse/seahorse_41.0.bb
b/meta-gnome/recipes-gnome/seahorse/seahorse_41.0.bb
new file mode 100644
index 000000000..ec1328598
--- /dev/null
+++ b/meta-gnome/recipes-gnome/seahorse/seahorse_41.0.bb
@@ -0,0 +1,27 @@
+SUMMARY = "Seahorse is a graphical interface for managing and
using encryption keys."
+LICENSE="GPLv2"
+LIC_FILES_CHKSUM =
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+GNOMEBASEBUILDCLASS = "meson"
+
+DEPENDS = " \
+ avahi \
+ gcr \
+ glib-2.0 \
+ gnupg \
+ gpgme \
+ gtk+3 \
+ libhandy \
+ libpwquality \
+ libsecret \
+ libsoup-2.4 \
+ openldap \
+"
+
+inherit gnomebase itstool vala
+
+SRC_URI:append = "
file://meson-build-dont-look-for-native-ssh-keygen.patch"
+SRC_URI[archive.sha256sum] =
"e6eec09e810448295f547f18c1d5772b65c3edc1d9e5a2595f10b5dde68929f5"
+
+FILES:${PN} += "${datadir}"
+
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95355):
https://lists.openembedded.org/g/openembedded-devel/message/95355
Mute This Topic: https://lists.openembedded.org/mt/89189799/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-