balena-os / balena-variscite

Balena support for Variscite boards
Apache License 2.0
3 stars 0 forks source link

Build error fetching balena_git (rename issue?) #84

Open robertdax opened 5 years ago

robertdax commented 5 years ago

balena_git.bb:do_fetch error below (also log attached)

on build command balena-yocto-scripts/build/barys -m var-som-mx6

Could be resin to balena rename problem ?

WARNING: balena-17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0 do_fetch: Failed to fetch URL git://github.com/resin-os/balena.git;branch=17.12-resin;destsuffix=git/src/import, attempting MIRRORS if available ERROR: balena-17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-Zx6XwJTIDB"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/opt/balena-variscite/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/opt/balena-variscite/layers/poky/scripts:/opt/balena-variscite/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/balena/17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi:/opt/balena-variscite/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/balena/17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0/recipe-sysroot/usr/bin/crossscripts:/opt/balena-variscite/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/balena/17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0/recipe-sysroot-native/usr/sbin:/opt/balena-variscite/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/balena/17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0/recipe-sysroot-native/usr/bin:/opt/balena-variscite/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/balena/17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0/recipe-sysroot-native/sbin:/opt/balena-variscite/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/balena/17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0/recipe-sysroot-native/bin:/opt/balena-variscite/layers/poky/bitbake/bin:/opt/balena-variscite/build/tmp/hosttools"; export HOME="/home/roberto"; LANG=C git -c core.fsyncobjectfiles=0 clone --bare --mirror git://github.com/resin-os/balena.git /opt/balena-variscite/build/downloads/git2/github.com.resin-os.balena.git --progress failed with exit code 128, output: Cloning into bare repository '/opt/balena-variscite/build/downloads/git2/github.com.resin-os.balena.git'... fatal: unable to connect to github.com: github.com[0: 140.82.118.3]: errno=No route to host github.com[1: 140.82.118.4]: errno=No route to host

ERROR: balena-17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0 do_fetch: Fetcher failure for URL: 'git://github.com/resin-os/balena.git;branch=17.12-resin;destsuffix=git/src/import'. Unable to fetch URL from any source. ERROR: balena-17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0 do_fetch: Function failed: base_do_fetch ERROR: Logfile of failure stored in: /opt/balena-variscite/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/balena/17.12.0-dev+git60400e2cd0eb10b72f3c1bc12befb6e358d1cb1f-r0/temp/log.do_fetch.57893 ERROR: Task (/opt/balena-variscite/build/../layers/meta-resin/meta-resin-common/recipes-containers/balena/balena_git.bb:do_fetch) failed with exit code '1'

log.do_fetch.txt

floion commented 5 years ago

Hi. This seem like a networking issue on the build machine. I would expect it to be transient. Is this happening today also?

robertdax commented 5 years ago

Yes, the issue is still present. I think the root of the problem is this URI in balena_git.bb git://github.com/resin-os/balena.git;branch=${BALENA_BRANCH};destsuffix=git/src/import

This path gives error 'not found' with git also...