Kirkstoneでbitbakeを実行する問題

Kirkstoneでbitbakeを実行する問題

だから、しばらくPoky Honisterを起動できましたが、さまざまな理由でKirkstoneに移動したかったのです。

次のエラーが発生し続け、何が起こっているのかはまったくわかりませんでした。

どんなアイデアがありますか?

次のURLを読みました。

https://low-level.wiki/yocto/kirkstone-upgrade.html

当サイトには質問がないようで混乱します。

どこかで間違った分岐を引き下げた可能性があるので、プロジェクト全体を再び引き出しましょう。

WARNING: pseudo-native-1.9.0+gitAUTOINC+2b4b88eb51-r0 do_fetch: Failed to fetch URL git://git.yoctoproject.org/pseudo;branch=oe-core, attempting MIRRORS if available
WARNING: gnu-config-native-20211108+gitAUTOINC+191bcb948f-r0 do_fetch: Failed to fetch URL git://git.savannah.gnu.org/git/config.git;protocol=https;branch=master, attempting MIRRORS if available
WARNING: pkgconfig-native-0.29.2+gitAUTOINC+d97db4fae4-r0 do_fetch: Failed to fetch URL git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;protocol=https, attempting MIRRORS if available
ERROR: binutils-cross-aarch64-2.38-r0 do_unpack: Bitbake Fetcher Error: FetchError('Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1871"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/justin/poky-kirkstone/scripts/cross-intercept:/home/justin/kirkstone-build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/justin/poky-kirkstone/scripts:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/crossscripts:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/usr/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/usr/bin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/recipe-sysroot-native/bin:/home/justin/poky-kirkstone/bitbake/bin:/home/justin/kirkstone-build/build/tmp/hosttools"; export HOME="/home/justin"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat remote set-url origin git://sourceware.org/git/binutils-gdb.git failed with exit code 1, output:\nTraceback (most recent call last):\n  File "/home/justin/kirkstone-build/build/tmp/hosttools/git", line 26, in <module>\n    os.execv(real_git, sys.argv)\nTypeError: execv: path should be string, bytes or os.PathLike, not NoneType\n', None)
ERROR: Logfile of failure stored in: /home/justin/kirkstone-build/build/tmp/work/x86_64-linux/binutils-cross-aarch64/2.38-r0/temp/log.do_unpack.4409
ERROR: Task (/home/justin/poky-kirkstone/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_unpack) failed with exit code '1'
ERROR: gnu-config-native-20211108+gitAUTOINC+191bcb948f-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1871"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/justin/poky-kirkstone/scripts/native-intercept:/home/justin/kirkstone-build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/justin/poky-kirkstone/scripts:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/gnu-config-native/20211108+gitAUTOINC+191bcb948f-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/gnu-config-native/20211108+gitAUTOINC+191bcb948f-r0/recipe-sysroot-native/usr/bin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/gnu-config-native/20211108+gitAUTOINC+191bcb948f-r0/recipe-sysroot-native/usr/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/gnu-config-native/20211108+gitAUTOINC+191bcb948f-r0/recipe-sysroot-native/usr/bin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/gnu-config-native/20211108+gitAUTOINC+191bcb948f-r0/recipe-sysroot-native/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/gnu-config-native/20211108+gitAUTOINC+191bcb948f-r0/recipe-sysroot-native/bin:/home/justin/poky-kirkstone/bitbake/bin:/home/justin/kirkstone-build/build/tmp/hosttools"; export HOME="/home/justin"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat remote failed with exit code 1, output:
Traceback (most recent call last):
  File "/home/justin/kirkstone-build/build/tmp/hosttools/git", line 26, in <module>
    os.execv(real_git, sys.argv)
TypeError: execv: path should be string, bytes or os.PathLike, not NoneType

ERROR: gnu-config-native-20211108+gitAUTOINC+191bcb948f-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://git.savannah.gnu.org/git/config.git;protocol=https;branch=master')
ERROR: Logfile of failure stored in: /home/justin/kirkstone-build/build/tmp/work/x86_64-linux/gnu-config-native/20211108+gitAUTOINC+191bcb948f-r0/temp/log.do_fetch.4406
ERROR: Task (virtual:native:/home/justin/poky-kirkstone/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_fetch) failed with exit code '1'
ERROR: pkgconfig-native-0.29.2+gitAUTOINC+d97db4fae4-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1871"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/justin/poky-kirkstone/scripts/native-intercept:/home/justin/kirkstone-build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/justin/poky-kirkstone/scripts:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+d97db4fae4-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+d97db4fae4-r0/recipe-sysroot-native/usr/bin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+d97db4fae4-r0/recipe-sysroot-native/usr/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+d97db4fae4-r0/recipe-sysroot-native/usr/bin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+d97db4fae4-r0/recipe-sysroot-native/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+d97db4fae4-r0/recipe-sysroot-native/bin:/home/justin/poky-kirkstone/bitbake/bin:/home/justin/kirkstone-build/build/tmp/hosttools"; export HOME="/home/justin"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat remote failed with exit code 1, output:
Traceback (most recent call last):
  File "/home/justin/kirkstone-build/build/tmp/hosttools/git", line 26, in <module>
    os.execv(real_git, sys.argv)
TypeError: execv: path should be string, bytes or os.PathLike, not NoneType

ERROR: pkgconfig-native-0.29.2+gitAUTOINC+d97db4fae4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://gitlab.freedesktop.org/pkg-config/pkg-config.git;branch=master;protocol=https')
ERROR: Logfile of failure stored in: /home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pkgconfig-native/0.29.2+gitAUTOINC+d97db4fae4-r0/temp/log.do_fetch.4407
ERROR: Task (virtual:native:/home/justin/poky-kirkstone/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_fetch) failed with exit code '1'
ERROR: pseudo-native-1.9.0+gitAUTOINC+2b4b88eb51-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AGENT_PID="1871"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/justin/poky-kirkstone/scripts/native-intercept:/home/justin/kirkstone-build/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/justin/poky-kirkstone/scripts:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+2b4b88eb51-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+2b4b88eb51-r0/recipe-sysroot-native/usr/bin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+2b4b88eb51-r0/recipe-sysroot-native/usr/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+2b4b88eb51-r0/recipe-sysroot-native/usr/bin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+2b4b88eb51-r0/recipe-sysroot-native/sbin:/home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+2b4b88eb51-r0/recipe-sysroot-native/bin:/home/justin/poky-kirkstone/bitbake/bin:/home/justin/kirkstone-build/build/tmp/hosttools"; export HOME="/home/justin"; LANG=C git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false -c core.pager=cat clone --bare --mirror git://git.yoctoproject.org/pseudo /home/justin/kirkstone-build/build/downloads/git2/git.yoctoproject.org.pseudo --progress failed with exit code 1, no output
ERROR: pseudo-native-1.9.0+gitAUTOINC+2b4b88eb51-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://git.yoctoproject.org/pseudo;branch=oe-core')
ERROR: Logfile of failure stored in: /home/justin/kirkstone-build/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+2b4b88eb51-r0/temp/log.do_fetch.4408
ERROR: Task (virtual:native:/home/justin/poky-kirkstone/meta/recipes-devtools/pseudo/pseudo_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 74 tasks of which 70 didn't need to be rerun and 4 failed.

Summary: 4 tasks failed:
  /home/justin/poky-kirkstone/meta/recipes-devtools/binutils/binutils-cross_2.38.bb:do_unpack
  virtual:native:/home/justin/poky-kirkstone/meta/recipes-devtools/gnu-config/gnu-config_git.bb:do_fetch
  virtual:native:/home/justin/poky-kirkstone/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_fetch
  virtual:native:/home/justin/poky-kirkstone/meta/recipes-devtools/pseudo/pseudo_git.bb:do_fetch
Summary: There were 55 WARNING messages.
Summary: There were 7 ERROR messages, returning a non-zero exit code.

ベストアンサー1

この問題の原因は何であるかはわかりませんが、以前に使用したのと同じレイヤー/構成ファイルを使用し、新しく使用したすべてのレイヤーをドラッグしてブランチが次に設定されていることを確認しました。カークストーン。

今回bitbakeを実行してみるとうまく動作し、現在実行中です。

したがって、私のようにこれらのエラーが表示されたら再起動してみてください。いつかは役に立たない枝を取り除くことができると思います。

bitbakeプロセスが再び失敗した場合は、フォローアップを投稿する予定ですが、現在は成功すると非常に楽観的です。

おすすめ記事