This service is available only in Japanese-language.
Yoctoのイメージ作成をおこなっているのですが、bitbake core-image-westonで
エラーが発生してしまいました。
ログは下記の通りです。
何かお分かりの方がおられましたら修正方法について
ご教示いただけますと幸いです。
$ bitbake core-image-weston
Loading cache: 100% |###############################################################################| Time: 0:00:01
Loaded 3036 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "aprzg0a"
DISTRO = "poky"
DISTRO_VERSION = "2.4.2"
TUNE_FEATURES = "arm armv7ve vfp neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
SOC_FAMILY = "rzg1:r8a7745"
meta
meta-poky
meta-yocto-bsp
meta-rzg1
meta-linaro-toolchain
meta-optee
meta-oe
meta-multimedia
meta-python
meta-networking
meta-qt5
common
qt-hmi-demo = "<unknown>:<unknown>"
Initialising tasks: 100% |##########################################################################| Time: 0:00:20
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: qt5-launch-demo-1.0-r0 do_fetch: Failed to fetch URL http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-..., attempting MIRRORS if available
ERROR: qt5-launch-demo-1.0-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-CBnDjtKUHM"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/guest/user_work/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/guest/user_work/poky/scripts:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qt5-launch-demo/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qt5-launch-demo/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qt5-launch-demo/1.0-r0/recipe-sysroot-native/usr/sbin:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qt5-launch-demo/1.0-r0/recipe-sysroot-native/usr/bin:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qt5-launch-demo/1.0-r0/recipe-sysroot-native/sbin:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qt5-launch-demo/1.0-r0/recipe-sysroot-native/bin:/home/guest/user_work/poky/bitbake/bin:/home/guest/user_work/build/tmp/hosttools"; export HOME="/home/guest"; /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/guest/user_work/build/downloads 'http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-... --progress=dot -v failed with exit code 4, output:
--2021-02-02 11:52:47-- http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-...
Resolving www.renesas.com (www.renesas.com)... 23.9.173.129
Connecting to www.renesas.com (www.renesas.com)|23.9.173.129|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.
--2021-02-02 11:53:18-- (try: 2) http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-...
Connecting to www.renesas.com (www.renesas.com)|23.9.173.129|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.
ERROR: qt5-launch-demo-1.0-r0 do_fetch: Fetcher failure for URL: 'http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-.... Unable to fetch URL from any source.
ERROR: qt5-launch-demo-1.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/qt5-launch-demo/1.0-r0/temp/log.do_fetch.3211
ERROR: Task (/home/guest/user_work/build/../meta-rzg-demos/meta-rzg1/qt-hmi-demo/recipes-qt/examples/qt5-launch-demo_1.0.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3317 tasks of which 3124 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/guest/user_work/build/../meta-rzg-demos/meta-rzg1/qt-hmi-demo/recipes-qt/examples/qt5-launch-demo_1.0.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
以上、何卒よろしくお願いいたします。
yakuhito
2021/2/2 (火) 12:30
SRC_URIに記載されたアクセス先の変更が必要なようです。
2月ほど前に、変更となっています。
https://github.com/renesas-rz/meta-rzg-demos/commit/6614710c980abfb242ae...
koni
2021/2/2 (火) 13:47
ご回答ありがとうございます
迅速なご回答誠にありがとうございます。
大変恐縮なのですが、変更するSRC_URIの記載場所はどのようにして
確認すればよいかをご教示いただくことは可能でしょうか?
.bbのレシピなどを確認しているのですが同様の拡張子が多く該当箇所の
特定が知識不足もありなかなか難しいのが現状です。
yakuhito
2021/2/2 (火) 14:25
リンク先に記載されていますが
meta-rzg1/qt-hmi-demo/recipes-qt/examples/qt5-launch-demo_1.0.bb
の中で指定しているSRC_URIが変更となっています。
Yocto Projectの流儀ですと、上記ファイルを修正するのではなく、
1. bitbake-layers create-layer を使用して新規にレイヤーを作成
2. レイヤーディレクトリ内にrecipes- で始まるディレクトリを作成。
3. 作成したディレクトリ内で、
SRC_URI = "git://code.qt.io/{non-gerrit}/qt-labs/qt5-launch-demo.git \
file://0001-change_video_file.patch \
http://resource.renesas.com/resource/lib/img/products/media/auto-j/micro... \
file://0003-qt5-launch-demo-work-around-issue-cannot-play-video.patch \
"
と、上書きするSRC_URIのみ記載した qt5-launch-demo_1.0.bbappend を作成する。
4. 追加したlayer を、bitbake-layers add-layer で conf/bblayers.conf に追加する。
といった手順で良いかと。
koni
2021/2/2 (火) 15:21
ご回答ありがとうございます
迅速かつ詳細なご回答ありがとうございます。
危うく直接書き換えてしまうところでした。
ご教示いただいた方法で変更したうえで再度
bitbake core-image-westonの実行をしてみます。
koni
2021/2/2 (火) 22:33
別の個所で同じようなエラーが発生してしまいました。
何度も申し訳ございません。
お陰様で上記のエラーは解消したのですが同じようなエラーが発生してしまいました。
こちらもアクセス先が変更されたのでしょうか?
調べているのですがなかなか情報が見つからない状態です。
たびたび恐縮ですがお力添えいただけましたら幸いです。
以下実行時のログです。
bitbake core-image-weston
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 3036 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:01
Parsing of 2181 .bb files complete (2180 cached, 1 parsed). 3036 targets, 268 skipped, 7 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "aprzg0a"
DISTRO = "poky"
DISTRO_VERSION = "2.4.2"
TUNE_FEATURES = "arm armv7ve vfp neon callconvention-hard cortexa7"
TARGET_FPU = "hard"
SOC_FAMILY = "rzg1:r8a7745"
meta
meta-poky
meta-yocto-bsp
meta-rzg1
meta-linaro-toolchain
meta-optee
meta-oe
meta-multimedia
meta-python
meta-networking
meta-qt5
common
qt-hmi-demo = "<unknown>:<unknown>"
Initialising tasks: 100% |#######################################| Time: 0:00:16
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: demo-videos-0.1-r0 do_fetch: Failed to fetch URL http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-..., attempting MIRRORS if available
ERROR: demo-videos-0.1-r0 do_fetch: Fetcher failure: Fetch command export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-R6f1SF5G7X"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/guest/user_work/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/guest/user_work/poky/scripts:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/demo-videos/0.1-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/demo-videos/0.1-r0/recipe-sysroot/usr/bin/crossscripts:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/demo-videos/0.1-r0/recipe-sysroot-native/usr/sbin:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/demo-videos/0.1-r0/recipe-sysroot-native/usr/bin:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/demo-videos/0.1-r0/recipe-sysroot-native/sbin:/home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/demo-videos/0.1-r0/recipe-sysroot-native/bin:/home/guest/user_work/poky/bitbake/bin:/home/guest/user_work/build/tmp/hosttools"; export HOME="/home/guest"; /usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P /home/guest/user_work/build/downloads 'http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-... --progress=dot -v failed with exit code 4, output:
--2021-02-02 22:23:59-- http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-...
Resolving www.renesas.com (www.renesas.com)... 23.9.173.129
Connecting to www.renesas.com (www.renesas.com)|23.9.173.129|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Retrying.
--2021-02-02 22:24:30-- (try: 2) http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-...
Connecting to www.renesas.com (www.renesas.com)|23.9.173.129|:80... connected.
HTTP request sent, awaiting response... Read error (Connection timed out) in headers.
Giving up.
ERROR: demo-videos-0.1-r0 do_fetch: Fetcher failure for URL: 'http://www.renesas.com/jp/ja/img/products/media/auto-j/microcontrollers-.... Unable to fetch URL from any source.
ERROR: demo-videos-0.1-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/guest/user_work/build/tmp/work/cortexa7hf-neon-poky-linux-gnueabi/demo-videos/0.1-r0/temp/log.do_fetch.22748
ERROR: Task (/home/guest/user_work/build/../meta-rzg-demos/meta-rzg1/qt-hmi-demo/recipes-demos/demo-videos_0.1.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3523 tasks of which 3521 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/guest/user_work/build/../meta-rzg-demos/meta-rzg1/qt-hmi-demo/recipes-demos/demo-videos_0.1.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
yakuhito
2021/2/3 (水) 12:01
原因は同じで、ホスト名及びPATHが変更されています。
https://github.com/renesas-rz/meta-rzg-demos/commit/cb9642ca9e067b88d927...
の2番目の変更を行えば良いかと。
https://github.com/renesas-rz/meta-rzg-demos
からディレクトリツリーを辿り、
[history] のボタンをクリックすることで、更新履歴を確認できます。
koni
2021/3/2 (火) 13:28
ご回答ありがとうございます。
返信遅くなり申し訳ございません。
お陰様で何とかコマンド実行の目処が立ちそうです。
毎度ご丁寧な対応誠にありがとうございました。