Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Error: Fetcher failure for URL: 'git://github.com/coreos/go-systemd.git'. Unable to fetch URL from any source. #12

Open
ksaye opened this issue Aug 4, 2021 · 2 comments

Comments

@ksaye
Copy link

ksaye commented Aug 4, 2021

When using either: WRLINUX_10_19_BASE or vWRLINUX_10_19_BASE_UPDATE0018, I get the error below.

I do not get this error with WRLINUX_10_21_BASE, but I have a hard dependency on WRLINUX_10_19_BASE

kevinsay@yoctobuild:/mnt/c/yocto3/test$ echo BB_NO_NETWORK = \'0\' >> conf/local.conf
kevinsay@yoctobuild:/mnt/c/yocto3/test$ bitbake wrlinux-image-core
Processing Wind River templates files...
WARNING: You have included the meta-openstack layer, but 'openstack' has not been enabled in your DISTRO_FEATURES. Some bbappend files and preferred version setting may not take effect. See the meta-openstack README for details on enabling openstack support.
----------------------------------------------------------------------
The meta-anaconda layer has been included, and the current build is a
regular target build. After it is finished, create a new installer
build with DISTRO = 'wrlinux-installer', INSTALLER_TARGET_BUILD =
'<target-build-topdir>|<target-build-image>' and
INSTALLER_TARGET_IMAGE = '<target-image-pn>' in local.conf
----------------------------------------------------------------------
Parsing recipes: 100% |#######################################################################################################################################################################################################################################################################################| Time: 0:00:33
Parsing of 3316 .bb files complete (0 cached, 3316 parsed). 7891 targets, 4891 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
WRLINUX_VERSION      = "10.19.45.18"
WRLINUX_BRANCH       = "Base"
BB_VERSION           = "1.44.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-20.04"
DISTRO               = "wrlinux-graphics"
DISTRO_VERSION       = "10.19.45.18"
MACHINE              = "intel-x86-64"
DEFAULTTUNE          = "corei7-64"
TARGET_SYS           = "x86_64-wrs-linux"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
lib32:  TARGET_SYS        = "x86_64-wrsmllib32-linux"
lib32:  TUNE_FEATURES     = "m32 corei7"
wrlinux              = "vWRLINUX_10_19_BASE_UPDATE0018:e93842ec2e3b473b6972094d06853a35ec3bad28"
meta-anaconda        = "vWRLINUX_10_19_BASE_UPDATE0018:f7820be5fdb19365cb8798ff2c21902b2c753e99"
meta-openstack       = "vWRLINUX_10_19_BASE_UPDATE0018:94be483424c5a5a74aaafd174342e141bb01dd9d"
meta-virtualization  = "vWRLINUX_10_19_BASE_UPDATE0018:f48055a43b40932a26c952879346160f02b27804"
wrlinux-distro       = "vWRLINUX_10_19_BASE_UPDATE0018:e93842ec2e3b473b6972094d06853a35ec3bad28"
intel-x86            = "vWRLINUX_10_19_BASE_UPDATE0018:3ef86cf50febfe973f985a2d7cfe30b8f387ad33"
meta                 = "vWRLINUX_10_19_BASE_UPDATE0018:9518f9da7d2f858374dacb15d66dedfc35433089"
wr-template          = "vWRLINUX_10_19_BASE_UPDATE0018:a19a8fb456b0e70d068183cb0837c31f456b46b3"
meta-filesystems
meta-gnome
meta-initramfs
meta-python
meta-networking
meta-oe              = "vWRLINUX_10_19_BASE_UPDATE0018:bf266dd193e51cc6395bb3c533a8248c159d171f"
meta-cloud-services  = "vWRLINUX_10_19_BASE_UPDATE0018:94be483424c5a5a74aaafd174342e141bb01dd9d"
meta-webserver
meta-multimedia
meta-perl            = "vWRLINUX_10_19_BASE_UPDATE0018:bf266dd193e51cc6395bb3c533a8248c159d171f"
meta-realtime        = "vWRLINUX_10_19_BASE_UPDATE0018:adb18b84302475cffdf280f9da3cccbcb3a4ff8a"
meta-xfce            = "vWRLINUX_10_19_BASE_UPDATE0018:bf266dd193e51cc6395bb3c533a8248c159d171f"
meta-intel           = "vWRLINUX_10_19_BASE_UPDATE0018:5cc2043c9826ea5f39a68206a0b9e3d09b4fae94"
meta-intel-qat       = "vWRLINUX_10_19_BASE_UPDATE0018:85e51b490faf9890420b2744ad40b956f07fee64"
meta-dpdk            = "vWRLINUX_10_19_BASE_UPDATE0018:532a7d74df4c986fa0e2f4dc3592a1a89db9b98c"
meta-efi-secure-boot
meta-encrypted-storage
meta-ids
meta-integrity
meta                 = "vWRLINUX_10_19_BASE_UPDATE0018:3902b4bc9e29f0e9c2ee3288a484c151c0144410"
meta-security        = "vWRLINUX_10_19_BASE_UPDATE0018:2bc7e287b286f17e1708c4c3cf68988d4ef599e1"
meta-selinux         = "vWRLINUX_10_19_BASE_UPDATE0018:9bd4e87926e4b029019b9361f69aa26c1044c25a"
meta-signing-key
meta-tpm
meta-tpm2            = "vWRLINUX_10_19_BASE_UPDATE0018:3902b4bc9e29f0e9c2ee3288a484c151c0144410"
local                = "master:5582c3587d17cf9264ef08e495bda2c318bdcde8"

NOTE: Fetching uninative binary shim from file:///mnt/c/yocto3/layers/wrlinux/files/uninative-tarballs/a09922172c3a439105e0ae6b943daad2d83505b17da0aba97961ff433b8c21ab/x86_64-nativesdk-libc.tar.xz;sha256sum=a09922172c3a439105e0ae6b943daad2d83505b17da0aba97961ff433b8c21ab
Initialising tasks: 100% |####################################################################################################################################################################################################################################################################################| Time: 0:00:10
Sstate summary: Wanted 3625 Found 0 Missed 3625 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: expat-native-2.2.8-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/expat/expat-2.2.8.tar.bz2, attempting MIRRORS if available
WARNING: icu-native-64.2-r0 do_fetch: Checksum mismatch for local file /mnt/c/yocto3/test/downloads/icu4c-64_2-src.tgz
Cleaning and trying again.
WARNING: icu-native-64.2-r0 do_fetch: Renaming /mnt/c/yocto3/test/downloads/icu4c-64_2-src.tgz to /mnt/c/yocto3/test/downloads/icu4c-64_2-src.tgz_bad-checksum_b441ec412eca9b95e9eae9dd07357734
WARNING: icu-native-64.2-r0 do_fetch: Checksum failure encountered with download of http://download.icu-project.org/files/icu4c/64.2/icu4c-64_2-src.tgz - will attempt other sources if available
WARNING: mozjs-60.5.2-r0 do_fetch: Failed to fetch URL https://dev.gentoo.org/~axs/distfiles/mozjs-60.5.2.tar.bz2, attempting MIRRORS if available
WARNING: bjam-native-1.71.0-r0 do_fetch: Failed to fetch URL https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2, attempting MIRRORS if available
WARNING: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Failed to fetch URL git://github.com/coreos/go-systemd.git, attempting MIRRORS if available
ERROR: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Fetcher failure: Unable to find revision b4a58d95188dd092ae20072bac14cece0e67c388 in branch master even from upstream
ERROR: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Fetcher failure for URL: 'git://github.com/coreos/go-systemd.git'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /mnt/c/yocto3/test/tmp-glibc/work/corei7-64-wrs-linux/go-systemd/4+gitAUTOINC+b4a58d9518-r0/temp/log.do_fetch.1623519
ERROR: Task (/mnt/c/yocto3/layers/meta-virtualization/recipes-devtools/go/go-systemd_git.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1034 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /mnt/c/yocto3/layers/meta-virtualization/recipes-devtools/go/go-systemd_git.bb:do_fetch
Summary: There were 8 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
kevinsay@yoctobuild:/mnt/c/yocto3/test$

Here are my install steps which could be part of the issue:

sudo apt-get install -y ca-certificates curl apt-transport-https lsb-release gnupg gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev xterm locales

sudo mkdir -p /mnt/c/yocto3 && sudo chown kevinsay:kevinsay /mnt/c/yocto3 && cd /mnt/c/yocto3
git clone -b WRLINUX_10_19_BASE https://github.com/WindRiver-Labs/wrlinux-x
cd wrlinux-x
git checkout vWRLINUX_10_19_BASE_UPDATE0018
cd ..

wrlinux-x/setup.sh --machine intel-x86-64 --dl-layers --distro wrlinux-graphics --templates feature/xfce,feature/installer-support,feature/tpm2,feature/docker --layers meta-anaconda,meta-openstack,meta-virtualization
. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env test

echo BB_NO_NETWORK = \'0\' >> conf/local.conf
bitbake wrlinux-image-core
@ksaye
Copy link
Author

ksaye commented Aug 4, 2021

Log file attached:
log.do_fetch.1623519.txt

@ksaye
Copy link
Author

ksaye commented Aug 4, 2021

This issue seems to be addressed here: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?h=zeus&id=16648c2e9c2fb389c5b9b91d1753447e53bbe1bd and if I make the same change to layers/meta-virtualization/recipes-devtools/go/go-systemd_git.bb, I can get past it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant