[meta-gnome] seahorse: initial add recipe

Message ID 20220216165722.25908-1-f_l_k@t-online.de
State New
Headers show
Series [meta-gnome] seahorse: initial add recipe | expand

Commit Message

Markus Volk Feb. 16, 2022, 4:57 p.m. UTC
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 ...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

Comments

Khem Raj Feb. 17, 2022, 6:59 a.m. UTC | #1
seeing configure failure
https://errors.yoctoproject.org/Errors/Details/625735/

On Wed, Feb 16, 2022 at 8:57 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  ...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 <f_l_k@t-online.de>
> +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 (#95340): https://lists.openembedded.org/g/openembedded-devel/message/95340
> Mute This Topic: https://lists.openembedded.org/mt/89189799/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Markus Volk Feb. 17, 2022, 7:13 a.m. UTC | #2
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 <f_l_k@t-online.de> wrote:
>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>> ---
>>   ...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 <f_l_k@t-online.de>
>> +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 (#95340): https://lists.openembedded.org/g/openembedded-devel/message/95340
>> Mute This Topic: https://lists.openembedded.org/mt/89189799/1997914
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
Markus Volk Feb. 17, 2022, 7:29 a.m. UTC | #3
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 <f_l_k@t-online.de> wrote:
>>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>>> ---
>>>   ...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 <f_l_k@t-online.de>
>>> +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 (#95353): https://lists.openembedded.org/g/openembedded-devel/message/95353
> Mute This Topic: https://lists.openembedded.org/mt/89189799/3618223
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [f_l_k@t-online.de]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Markus Volk Feb. 17, 2022, 8:17 a.m. UTC | #4
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 <f_l_k@t-online.de> wrote:
>>>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>>>> ---
>>>>   ...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 <f_l_k@t-online.de>
>>>> +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 (#95354): https://lists.openembedded.org/g/openembedded-devel/message/95354
> Mute This Topic: https://lists.openembedded.org/mt/89189799/3618223
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [f_l_k@t-online.de]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Feb. 17, 2022, 7:04 p.m. UTC | #5
On Thu, Feb 17, 2022 at 12:17 AM Markus Volk <f_l_k@t-online.de> wrote:
>
> 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:

adding dependency on openssh-native is ok here.

>
> +--- 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 <f_l_k@t-online.de> wrote:
> >>>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> >>>> ---
> >>>>   ...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 <f_l_k@t-online.de>
> >>>> +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/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Khem Raj Feb. 17, 2022, 10:54 p.m. UTC | #6
On Thu, Feb 17, 2022 at 11:04 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Thu, Feb 17, 2022 at 12:17 AM Markus Volk <f_l_k@t-online.de> wrote:
> >
> > 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:
>
> adding dependency on openssh-native is ok here.

that also needs to enhance openssh recipe, on fedora and debian both
ssh and ssh-keygen come from same package, so perhaps unblocking it
for build host might be also equally good solution. Please propose
needed changes for oe-core first and then see whichever is acceptable
way resend this patch once dependencies are accepted in core.

>
> >
> > +--- 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 <f_l_k@t-online.de> wrote:
> > >>>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> > >>>> ---
> > >>>>   ...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 <f_l_k@t-online.de>
> > >>>> +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/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
Markus Volk Feb. 18, 2022, 12:42 a.m. UTC | #7
building openssh-native fails on my machine with:

ERROR: Nothing PROVIDES 'libpam-native' (but 
virtual:native:/home/flk/build/poky/meta/recipes-connectivity/openssh/openssh_8.8p1.bb 
DEPENDS on or otherwise requires it)
libpam-native was skipped: missing required distro feature 'pam' (not in 
DISTRO_FEATURES)
ERROR: Required build target 'openssh-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['openssh-native', 
'libpam-native']

'pam' is in DISTRO_FEATURES

This only happens if openssh was built with pam support, but thats kind 
of an issue.

Am 17.02.22 um 23:54 schrieb Khem Raj:
> On Thu, Feb 17, 2022 at 11:04 AM Khem Raj <raj.khem@gmail.com> wrote:
>> On Thu, Feb 17, 2022 at 12:17 AM Markus Volk <f_l_k@t-online.de> wrote:
>>> 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:
>> adding dependency on openssh-native is ok here.
> that also needs to enhance openssh recipe, on fedora and debian both
> ssh and ssh-keygen come from same package, so perhaps unblocking it
> for build host might be also equally good solution. Please propose
> needed changes for oe-core first and then see whichever is acceptable
> way resend this patch once dependencies are accepted in core.
>
>>> +--- 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 <f_l_k@t-online.de> wrote:
>>>>>>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
>>>>>>> ---
>>>>>>>    ...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 <f_l_k@t-online.de>
>>>>>>> +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 (#95362): https://lists.openembedded.org/g/openembedded-devel/message/95362
>>> Mute This Topic: https://lists.openembedded.org/mt/89189799/3618223
>>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [f_l_k@t-online.de]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>
Khem Raj Feb. 18, 2022, 12:44 a.m. UTC | #8
On Thu, Feb 17, 2022 at 4:42 PM Markus Volk <f_l_k@t-online.de> wrote:

> building openssh-native fails on my machine with:
>
> ERROR: Nothing PROVIDES 'libpam-native' (but
> virtual:native:/home/flk/build/poky/meta/recipes-connectivity/openssh/
> openssh_8.8p1.bb
> DEPENDS on or otherwise requires it)
> libpam-native was skipped: missing required distro feature 'pam' (not in
> DISTRO_FEATURES)
> ERROR: Required build target 'openssh-native' has no buildable providers.
> Missing or unbuildable dependency chain was: ['openssh-native',
> 'libpam-native']


Yeah it will be a long trail

>
>
> 'pam' is in DISTRO_FEATURES
>
> This only happens if openssh was built with pam support, but thats kind
> of an issue.
>
> Am 17.02.22 um 23:54 schrieb Khem Raj:
> > On Thu, Feb 17, 2022 at 11:04 AM Khem Raj <raj.khem@gmail.com> wrote:
> >> On Thu, Feb 17, 2022 at 12:17 AM Markus Volk <f_l_k@t-online.de> wrote:
> >>> 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:
> >> adding dependency on openssh-native is ok here.
> > that also needs to enhance openssh recipe, on fedora and debian both
> > ssh and ssh-keygen come from same package, so perhaps unblocking it
> > for build host might be also equally good solution. Please propose
> > needed changes for oe-core first and then see whichever is acceptable
> > way resend this patch once dependencies are accepted in core.
> >
> >>> +--- 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 <f_l_k@t-online.de>
> wrote:
> >>>>>>> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> >>>>>>> ---
> >>>>>>>    ...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 <f_l_k@t-online.de>
> >>>>>>> +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 (#95365):
> https://lists.openembedded.org/g/openembedded-devel/message/95365
> Mute This Topic: https://lists.openembedded.org/mt/89189799/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

Patch

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 <f_l_k@t-online.de>
+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}"
+