On Fri, Feb 28, 2025 at 7:46 AM Clayton Casciato <ccasci...@21sw.us> wrote:

> 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

>
> 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 <yoann.con...@smile.fr>
> *Sent:* Friday, February 28, 2025 2:27 AM
> *To:* yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>;
> raj.k...@gmail.com <raj.k...@gmail.com>
> *Cc:* Clayton Casciato <ccasci...@21sw.us>
> *Subject:* Re: [yocto] devtool error on "modify" with patches
>
>
>
> Le ven. 28 févr. 2025 à 05:07, Khem Raj via lists.yoctoproject.org
>  <raj.khem=gmail....@lists.yoctoproject.org> a écrit :
>
> On Thu, Feb 27, 2025 at 7:46 PM Clayton Casciato via
> lists.yoctoproject.org <ccasciato=21sw...@lists.yoctoproject.org>
> wrote:
> >
> > 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?
>
> 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
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64894): https://lists.yoctoproject.org/g/yocto/message/64894
Mute This Topic: https://lists.yoctoproject.org/mt/111429046/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to