devtool error on "modify" with patches
I have not had success using devtool against recipes with existing patches.
I do not have any modifications to these recipes and they patch and build fine using bitbake.
--
poky$ devtool modify iproute2
[...]
ERROR: Execution of 'git -c user.name=\"OpenEmbedded\" -c user.email=\"oe.patch@oe\" commit -q -m "Initial commit from upstream at version 6.13.0"' failed with exit code 128:
error: cannot run ssh-keygen: No such file or directory
error:
fatal: failed to write commit object
ERROR: Logfile of failure stored in: [...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/devtooltmp-jshbjja1/temp/log.do_unpack.1777032
--
The logfile does not exist:
poky$ ls [...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/
configure.sstate debugsources.list deploy-rpms deploy-source-date-epoch image iproute2-6.13.0 iproute2.spec license-destdir package packages-split pkgdata pkgdata-pdata-input pkgdata-sysroot pseudo recipe-sysroot recipe-sysroot-native source-date-epoch sources-unpack spdx sysroot-destdir temp
--
When using --debug, I see this:
[...]
| DEBUG: Python function devtool_post_unpack finished
ERROR: Extracting source for iproute2 failed
--
Any suggestions?
Quoted 26 lines · Clayton Casciato via lists.yoctoproject.org
I have not had success using devtool against recipes with existing patches.
I do not have any modifications to these recipes and they patch and build fine using bitbake.--
poky$ devtool modify iproute2
[...]
ERROR: Execution of 'git -c user.name=\"OpenEmbedded\" -c user.email=\"oe.patch@oe\" commit -q -m "Initial commit from upstream at version 6.13.0"' failed with exit code 128:
error: cannot run ssh-keygen: No such file or directory
error:
fatal: failed to write commit objectERROR: Logfile of failure stored in: [...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/devtooltmp-jshbjja1/temp/log.do_unpack.1777032
--
The logfile does not exist:
poky$ ls [...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/
configure.sstate debugsources.list deploy-rpms deploy-source-date-epoch image iproute2-6.13.0 iproute2.spec license-destdir package packages-split pkgdata pkgdata-pdata-input pkgdata-sysroot pseudo recipe-sysroot recipe-sysroot-native source-date-epoch sources-unpack spdx sysroot-destdir temp--
When using --debug, I see this:
Quoted 7 lines
[...]
| DEBUG: Python functiondevtool_post_unpackfinished
ERROR: Extracting source for iproute2 failed--
Any suggestions?
It seems your git is. configured to use ssh, maybe use HTTPS instead of SSH in git or set
or maybe install openssh-client package in your machine which should provide ssh-keygen, make sure the path
it resides in is in PATH
Quoted 10 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#64890): https://lists.yoctoproject.org/g/yocto/message/64890
Mute This Topic: https://lists.yoctoproject.org/mt/111429046/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 45 lines · Khem Raj via lists.yoctoproject.org
Quoted 2 lines · Clayton Casciato via lists.yoctoproject.org
I have not had success using devtool against recipes with existing
patches.
Quoted 1 line
I do not have any modifications to these recipes and they patch and
build fine using bitbake.
Quoted 6 lines
--
poky$ devtool modify iproute2
[...]
ERROR: Execution of 'git -c user.name=\"OpenEmbedded\" -cuser.email=\"oe.patch@oe\" commit -q -m "Initial commit from upstream at version 6.13.0"' failed with exit code 128:
Quoted 5 lines
error: cannot run ssh-keygen: No such file or directory error:
fatal: failed to write commit objectERROR: Logfile of failure stored in:
[...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/devtooltmp-jshbjja1/temp/log.do_unpack.1777032
Quoted 6 lines
--
The logfile does not exist:
poky$ ls
[...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/
Quoted 1 line
configure.sstate debugsources.list deploy-rpms
deploy-source-date-epoch image iproute2-6.13.0 iproute2.spec license-destdir package packages-split pkgdata pkgdata-pdata-input pkgdata-sysroot pseudo recipe-sysroot recipe-sysroot-native source-date-epoch sources-unpack spdx sysroot-destdir temp
Quoted 11 lines
--
When using --debug, I see this:
[...]
| DEBUG: Python functiondevtool_post_unpackfinished
ERROR: Extracting source for iproute2 failed--
Quoted 8 lines
Quoted 1 line
Any suggestions?
It seems your git is. configured to use ssh, maybe use HTTPS instead of SSH in git or set
or maybe install openssh-client package in your machine which should provide ssh-keygen, make sure the path
it resides in is in PATH
Does your git client is configured to sign commits with a SSH key?
https://docs.github.com/fr/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key#telling-git-about-your-ssh-key
The relevant configurations seems to be "gpg.format" and "user.signingkey"
Signature · 2 lines
Yoann Congal Smile ECS - Tech expert
Yes, I am using an SSH key.
Disabling "commit.gpgsign" in the global config resolved the issue.
Here is the associated function for reference:
https://git.openembedded.org/openembedded-core/tree/scripts/lib/devtool/__init__.py?h=scarthgap&id=4e1b9289450b5e7946bd5999c95a3ee214aab8a5#n193
Thank you both for the help!
--
Clayton Casciato
________________________________
From: Yoann Congal <[email protected]>
Sent: Friday, February 28, 2025 2:27 AM
To: [email protected] <[email protected]>; [email protected] <[email protected]>
Cc: Clayton Casciato <[email protected]>
Subject: Re: [yocto] devtool error on "modify" with patches
Le ven. 28 févr. 2025 à 05:07, Khem Raj via lists.yoctoproject.org<http://lists.yoctoproject.org> <[email protected]<mailto:[email protected]>> a écrit :
Quoted 26 lines · On Thu, Feb 27, 2025 at 7:46 PM Clayton Casciato via…
I have not had success using devtool against recipes with existing patches.
I do not have any modifications to these recipes and they patch and build fine using bitbake.--
poky$ devtool modify iproute2
[...]
ERROR: Execution of 'git -c user.name<http://user.name>=\"OpenEmbedded\" -c user.email=\"oe.patch@oe\" commit -q -m "Initial commit from upstream at version 6.13.0"' failed with exit code 128:
error: cannot run ssh-keygen: No such file or directory
error:
fatal: failed to write commit objectERROR: Logfile of failure stored in: [...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/devtooltmp-jshbjja1/temp/log.do_unpack.1777032
--
The logfile does not exist:
poky$ ls [...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/
configure.sstate debugsources.list deploy-rpms deploy-source-date-epoch image iproute2-6.13.0 iproute2.spec license-destdir package packages-split pkgdata pkgdata-pdata-input pkgdata-sysroot pseudo recipe-sysroot recipe-sysroot-native source-date-epoch sources-unpack spdx sysroot-destdir temp--
When using --debug, I see this:
Quoted 7 lines
[...]
| DEBUG: Python functiondevtool_post_unpackfinished
ERROR: Extracting source for iproute2 failed--
Any suggestions?
It seems your git is. configured to use ssh, maybe use HTTPS instead of SSH in git or set
or maybe install openssh-client package in your machine which should provide ssh-keygen, make sure the path
it resides in is in PATH
Does your git client is configured to sign commits with a SSH key?
https://docs.github.com/fr/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key#telling-git-about-your-ssh-key
The relevant configurations seems to be "gpg.format" and "user.signingkey"
--
Yoann Congal
Smile ECS - Tech expert
Quoted 4 lines · Clayton Casciato
Yes, I am using an SSH key.
Disabling "commit.gpgsign" in the global config resolved the issue.
Yes that’s a known think I have run into as well in past
Quoted 86 lines
Here is the associated function for reference:
Thank you both for the help!
--
Clayton Casciato------------------------------
*From:* Yoann Congal <[email protected]>
*Sent:* Friday, February 28, 2025 2:27 AM
*To:* [email protected] <[email protected]>; [email protected] <[email protected]>
*Cc:* Clayton Casciato <[email protected]>
*Subject:* Re: [yocto] devtool error on "modify" with patchesLe ven. 28 févr. 2025 à 05:07, Khem Raj via lists.yoctoproject.org
<[email protected]> a écrit :Quoted 2 lines · Clayton Casciato via lists.yoctoproject.org
I have not had success using devtool against recipes with existing
patches.
Quoted 1 line
I do not have any modifications to these recipes and they patch and
build fine using bitbake.
Quoted 6 lines
--
poky$ devtool modify iproute2
[...]
ERROR: Execution of 'git -c user.name=\"OpenEmbedded\" -cuser.email=\"oe.patch@oe\" commit -q -m "Initial commit from upstream at version 6.13.0"' failed with exit code 128:
Quoted 5 lines
error: cannot run ssh-keygen: No such file or directory error:
fatal: failed to write commit objectERROR: Logfile of failure stored in:
[...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/devtooltmp-jshbjja1/temp/log.do_unpack.1777032
Quoted 6 lines
--
The logfile does not exist:
poky$ ls
[...]/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/iproute2/6.13.0/
Quoted 1 line
configure.sstate debugsources.list deploy-rpms
deploy-source-date-epoch image iproute2-6.13.0 iproute2.spec license-destdir package packages-split pkgdata pkgdata-pdata-input pkgdata-sysroot pseudo recipe-sysroot recipe-sysroot-native source-date-epoch sources-unpack spdx sysroot-destdir temp
Quoted 5 lines
--
When using --debug, I see this:
Quoted 7 lines
[...]
| DEBUG: Python functiondevtool_post_unpackfinished
ERROR: Extracting source for iproute2 failed--
Any suggestions?
It seems your git is. configured to use ssh, maybe use HTTPS instead of SSH in git or set
or maybe install openssh-client package in your machine which should provide ssh-keygen, make sure the path
it resides in is in PATHDoes your git client is configured to sign commits with a SSH key?
https://docs.github.com/fr/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key#telling-git-about-your-ssh-key
The relevant configurations seems to be "gpg.format" and "user.signingkey"--
Yoann Congal
Smile ECS - Tech expert