WindRiver-Labs / wrlinux-x

setup tool for Wind River Linux (10.x) - start HERE!
GNU General Public License v2.0
162 stars 67 forks source link

ERROR: go-systemd-4+gitAUTOINC+b4a58d9518-r0 do_fetch: Fetcher failure for URL: 'git://github.com/coreos/go-systemd.git' #14

Open gkenaley opened 3 years ago

gkenaley commented 3 years ago

Building BASE_19 UPDATE0018 for nxp-imx8 board. Hit this bug: https://community.intel.com/t5/Intel-Edge-Software-Hub/ECI-poky-base-image-build-fails-when-retrieving-coreos-go/td-p/1291060 As the article mentions, the workaround is to point the SRC_URI to the main branch:

Edit this bitbake recipe file:

/home/your_home/your_project/layers/meta-virtualization/recipes-devtools/go/go-systemd_git.bb

Add the bold text (;branch=main) to the end of the SRC_URI in the file.

SRC_URI = "git://${PKG_NAME}.git;branch=main"

Save the recipe file and continue the build - it works!

phanirajkiran commented 1 year ago

Hi In your meta layer add as below path which will fix the issue with the usage of bbappend to meta-virtualization layer.

recipes-devtools/go/go-systemd_git.bbappend

Contents of bbappend.

SRC_URI = "git://${PKG_NAME}.git;branch=main"