Skip to contentSkip to conversation

#yocto -zeus

DISCUSSION Monsees, Steven C (US) 3 participants 8 messages Nov 2, 2020 – Nov 3, 2020

lore
Share & tools
lore
#0 lore raw

Attempting to move to zeus...
Build with zeus 3.0.4, using "bitbake -k", all other downloads for kernel/image were successful...

Can someone tell why I am getting the following 4 errors and how best to resolve ?

Loading cache: 100% |###############################################################################################| Time: 0:00:00 Loaded 3642 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "rhel-7.8"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "sbcb-default"
DISTRO               = "limws"
DISTRO_VERSION       = "3.0.4"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""

meta
meta-poky = "my_yocto_3.0.4:f2eb22a8783f1eecf99bd4042695bab920eed00e"
meta-perl
meta-python
meta-filesystems
meta-networking
meta-initramfs

meta-oe              = "zeus:2b5dd1eb81cd08bc065bc76125f2856e9383e98b"
meta-intel           = "zeus:d9942d4c3a710406b051852de7232db03c297f4e"
meta-intel           = "v2019.02:f635a364c55f1fb12519aff54924a0a5b947091e"

Initialising tasks: 100% |##########################################################################################| Time: 0:00:03
Sstate summary: Wanted 316 Found 296 Missed 20 Current 1793 (93% match, 99% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Failed to fetch URL gitsm://github.com/tianocore/edk2.git;branch=master;protocol=git, attempting MIRRORS if available
ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-3LFubab4k2,guid=5c19cfb5af3a9248c3a7a8bb5f7eedd1"; export SSH_AGENT_PID="22978"; export SSH_AUTH_SOCK="/run/user/11588/keyring/ssh"; export PATH="/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts/native-intercept:/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/sbin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/sbin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/bin:/disk0/scratch/smonsees/yocto/workspace_3/poky/bitbake/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/hosttools"; export HOME="/ede/smonsees"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/tianocore/edk2.git /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/git2/github.com.tianocore.edk2.git --progress failed with exit code 128, output:
Cloning into bare repository '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/git2/github.com.tianocore.edk2.git'...

fatal: unable to connect to github.com:
github.com[0: 140.82.114.4]: errno=Connection timed out

ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/tianocore/edk2.git;branch=master;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/temp/log.do_fetch.1158
ERROR: Task (virtual:native:/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ovmf_git.bb:do_fetch) failed with exit code '1'
WARNING: ovmf-edk2-stable201905-r0 do_fetch: Failed to fetch URL gitsm://github.com/tianocore/edk2.git;branch=master;protocol=git, attempting MIRRORS if available
ERROR: ovmf-edk2-stable201905-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-3LFubab4k2,guid=5c19cfb5af3a9248c3a7a8bb5f7eedd1"; export SSH_AGENT_PID="22978"; export SSH_AUTH_SOCK="/run/user/11588/keyring/ssh"; export PATH="/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/corei7-64-poky-linux/ovmf/edk2-stable201905-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/corei7-64-poky-linux/ovmf/edk2-stable201905-r0/recipe-sysroot/usr/bin/crossscripts:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/corei7-64-poky-linux/ovmf/edk2-stable201905-r0/recipe-sysroot-native/usr/sbin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/corei7-64-poky-linux/ovmf/edk2-stable201905-r0/recipe-sysroot-native/usr/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/corei7-64-poky-linux/ovmf/edk2-stable201905-r0/recipe-sysroot-native/sbin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/corei7-64-poky-linux/ovmf/edk2-stable201905-r0/recipe-sysroot-native/bin:/disk0/scratch/smonsees/yocto/workspace_3/poky/bitbake/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/hosttools"; export HOME="/ede/smonsees"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/tianocore/edk2.git /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/git2/github.com.tianocore.edk2.git --progress failed with exit code 128, output:
Cloning into bare repository '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/git2/github.com.tianocore.edk2.git'...

fatal: unable to connect to github.com:
github.com[0: 140.82.112.3]: errno=Connection timed out

ERROR: ovmf-edk2-stable201905-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/tianocore/edk2.git;branch=master;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/corei7-64-poky-linux/ovmf/edk2-stable201905-r0/temp/log.do_fetch.1182
ERROR: Task (/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ovmf_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5885 tasks of which 5868 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
virtual:native:/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ovmf_git.bb:do_fetch /disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ovmf_git.bb:do_fetch
Summary: There were 3 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.

#1 lore raw

"github.com[0: 140.82.114.4]: errno=Connection timed out" indicates either a temporary issue with github (unlikely) or with your network setup. Already tried a different network path from your dev-machine to the inet? Just to rule out any proxy/MITM instances.

It's also likely that git port is somehow blocked in your setup - try changing "protocol=git" to "protocol=https" in the recipe and check if it is working. And if have a talk with your IT or internet provider afterwards.

Quoted 1 line · Steven C (US) via lists.yoctoproject.org

github.com[0: 140.82.114.4]: errno=Connection timed out

#2 lore raw

Note went and modified ./meta/recipes-core/ovmf/ovmf_git.bb to use "http"...

When I change to use http I get the following error now, NOTE: I see the same error with new check sum values every time I update checksums and rebuild...

WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Checksum mismatch for local file /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git
Cleaning and trying again.
WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Renaming /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git to /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git_bad-checksum_e5feebc5dc55e02d9d26c3ecce2f696c
WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Checksum failure encountered with download of https://github.com/tianocore/edk2.git;branch=master;protocol=https - will attempt other sources if available
ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL: 'https://github.com/tianocore/edk2.git;branch=master;protocol=https'. Checksum mismatch!
File: '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git' has md5 checksum e5feebc5dc55e02d9d26c3ecce2f696c when b285f3c0bc1fc983c4c3eb2d47fc27bc was expected
File: '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git' has sha256 checksum df09a56b38195dc68d1a83f31287e38669c165eb637739660216bbc71aa694af when bb9d1df02a645dcd071d2d0540156be96c3c5a616ef93ff9872bd86b3c35e77e was expected If this change is expected (e.g. you have upgraded to a new version without updating the checksums) then you can use these lines within the recipe:
SRC_URI[md5sum] = "e5feebc5dc55e02d9d26c3ecce2f696c"
SRC_URI[sha256sum] = "df09a56b38195dc68d1a83f31287e38669c165eb637739660216bbc71aa694af"
Otherwise you should retry the download and/or check with upstream to determine if the file has become corrupted or otherwise unexpectedly modified.

ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL: 'https://github.com/tianocore/edk2.git;branch=master;protocol=https'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/temp/log.do_fetch.19694
ERROR: Task (virtual:native:/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ovmf_git.bb:do_fetch) failed with exit code '1'

#3 lore raw
Quoted 1 line

Note went and modified ./meta/recipes-core/ovmf/ovmf_git.bb to use

"http"...

That is clearly wrong, you shouldn't change the git:// at the beginning of SRC_URI, just the ";protocol=git" to ";protocol=https" parameter later in SRC_URI.

Quoted 52 lines · Steven C (US) via lists.yoctoproject.org

Note went and modified ./meta/recipes-core/ovmf/ovmf_git.bb to use "http"...

When I change to use http I get the following error now, NOTE: I see the same error with new check sum values every time I update checksums and rebuild...

WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Checksum mismatch for
local file
/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git
Cleaning and trying again.
WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Renaming /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git to /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git_bad-checksum_e5feebc5dc55e02d9d26c3ecce2f696c
WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Checksum failure
encountered with download of
https://github.com/tianocore/edk2.git;branch=master;protocol=https - will
attempt other sources if available
ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL:
'https://github.com/tianocore/edk2.git;branch=master;protocol=https'.
Checksum mismatch!
File: '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git'
has md5 checksum e5feebc5dc55e02d9d26c3ecce2f696c when
b285f3c0bc1fc983c4c3eb2d47fc27bc was expected
File: '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/edk2.git'
has sha256 checksum
df09a56b38195dc68d1a83f31287e38669c165eb637739660216bbc71aa694af when bb9d1df02a645dcd071d2d0540156be96c3c5a616ef93ff9872bd86b3c35e77e was
expected
If this change is expected (e.g. you have upgraded to a new version
without updating the checksums) then you can use these lines within the
recipe:
SRC_URI[md5sum] = "e5feebc5dc55e02d9d26c3ecce2f696c"
SRC_URI[sha256sum] =
"df09a56b38195dc68d1a83f31287e38669c165eb637739660216bbc71aa694af"
Otherwise you should retry the download and/or check with upstream to
determine if the file has become corrupted or otherwise unexpectedly
modified.

ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL:
'https://github.com/tianocore/edk2.git;branch=master;protocol=https'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/temp/log.do_fetch.19694
ERROR: Task
(virtual:native:/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ovmf_git.bb:do_fetch)
failed with exit code '1'

#4 lore raw

I was use using https... that is a typo, sorry...

The error is as I describe using https... Note I do not appear to have any other issues downloading packages.
I believe this might be the first time "gitsm" is used in build. Are their any known issues under zeus ?, Might I need to tweak the build env ?

Not sure how to proceed, zeus 3.0.4 is what I amusing... are there any know env dependencies here ?

#5 lore raw

When using ./meta/recipes-core/ovmf/ ovmf_git.bb ( http://ovmf_git.bb/ ) as provided by Yocto I get the following error...

WARNING: ovmf-native-edk2-stable201905-r0 do_fetch: Failed to fetch URL gitsm://github.com/tianocore/edk2.git;branch=master;protocol=git, attempting MIRRORS if available
ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-0IBbgYesFx,guid=89f54cc5924b467e7bbcf2c15fa1469b"; export SSH_AGENT_PID="5204"; export SSH_AUTH_SOCK="/run/user/11588/keyring/ssh"; export PATH="/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts/native-intercept:/disk0/scratch/smonsees/yocto/workspace_3/poky/scripts:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/sbin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/usr/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/sbin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/recipe-sysroot-native/bin:/disk0/scratch/smonsees/yocto/workspace_3/poky/bitbake/bin:/disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/hosttools"; export HOME="/ede/smonsees"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/tianocore/edk2.git /disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/git2/github.com.tianocore.edk2.git --progress failed with exit code 128, output:
Cloning into bare repository '/disk0/scratch/smonsees/yocto/workspace_3/downloads/intel/git2/github.com.tianocore.edk2.git'...

fatal: unable to connect to github.com:
github.com[0: 140.82.112.4]: errno=Connection timed out

ERROR: ovmf-native-edk2-stable201905-r0 do_fetch: Fetcher failure for URL: 'gitsm://github.com/tianocore/edk2.git;branch=master;protocol=git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /disk0/scratch/smonsees/yocto/workspace_3/meta-bae/meta-limws/builds/sbcb-default/tmp/work/x86_64-linux/ovmf-native/edk2-stable201905-r0/temp/log.do_fetch.21616
ERROR: Task (virtual:native:/disk0/scratch/smonsees/yocto/workspace_3/poky/meta/recipes-core/ovmf/ovmf_git.bb:do_fetch) failed with exit code '1'

#6 lore raw
In reply to Monsees, Steven C (US)
Quoted 1 line

I was use using https... that is a typo, sorry...

Then fix your typo and it will work, but I think you didn't read what I wrote carefully enough, see the url in the log you pasted:
zeus: URL gitsm://github.com/tianocore/edk2.git;branch=master;protocol=git what you pasted: URL: '
https://github.com/tianocore/edk2.git;branch=master;protocol=https'

You were supposed to change only protocol parameter as it was done in:
https://git.openembedded.org/openembedded-core/commit/?h=c4301758f5a1560965ca5fb69eb1492adf351ed0

not the name of the bitbake fetcher to use (from 'gitsm://' to 'https://')

Quoted 12 lines · Steven C (US) via lists.yoctoproject.org

I was use using https... that is a typo, sorry...

The error is as I describe using https... Note I do not appear to have any other issues downloading packages.
I believe this might be the first time "gitsm" is used in build. Are their any known issues under zeus ?, Might I need to tweak the build env ?

Not sure how to proceed, zeus 3.0.4 is what I amusing... are there any know env dependencies here ?

#7 lore raw

Thanks, that was my issue... did not read it carefully enough.
Keep in mind zeus is totally different from rock... running down multiple issues, sorry, I appreciate the your time/help, thanks again...

Anything else in that patch valid for potential issues in zeus 3.0.4 ?