Hi yipingwang,
I was able to resolve that error by reinstalling the source as you said, however I am now given a different error following $ bitbake u-boot -c patch :
WARNING: Host distribution "Ubuntu-19.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 6050 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-19.04"
TARGET_SYS = "powerpc-fsl-linux"
MACHINE = "t2080rdb"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "2.0"
TUNE_FEATURES = "m32 fpu-hard e6500 altivec"
TARGET_FPU = "hard"
meta
meta-yocto
meta-yocto-bsp = "HEAD:9a211a4a2c1bfcb292dc97d8dcac149bca9e3f1b"
meta-oe
meta-multimedia
meta-gnome
meta-networking
meta-perl
meta-python
meta-ruby
meta-filesystems
meta-webserver
meta-xfce = "HEAD:dc5634968b270dde250690609f0015f881db81f2"
meta-freescale = "HEAD:7facbdb726e2dda0515e084c2066a4b8dd99c6d2"
meta-freescale-internal = "HEAD:4829293f807e35a1111e79763294fc8b98b97810"
meta-freescale-extra = "HEAD:bee911b027e0480b034674d0ddee3fcb06d2e985"
meta-virtualization = "HEAD:042425c1d98bdd7e44a62789bd03b375045266f5"
meta-java = "HEAD:8b776ac68f9af4596be3824152bcf0bc6b67fa1d"
meta-openstack
meta-openstack-aio-deploy
meta-openstack-compute-deploy
meta-openstack-compute-test-config
meta-openstack-controller-deploy
meta-openstack-controller-test-config
meta-openstack-qemu
meta-openstack-swift-deploy
meta-cloud-services = "HEAD:d8bc0d92d0f741e2ea1e6d3d9bc6b7a091d03cfb"
meta-security = "HEAD:f9367e71f923fc7d2fb600208e2b97535ea41777"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
ERROR: Logfile of failure stored in: /home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/work/t2080rdb-fsl-linux/u-boot-qoriq/2016.01+fslgit-r0/temp/log.do_unpack.4177
Log data follows:
| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| DEBUG: Running export SSH_AGENT_PID="2149"; export SSH_AUTH_SOCK="/run/user/999/keyring/ssh"; export PATH="/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin/powerpc-fsl-linux:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/t2080rdb/usr/bin/crossscripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/ubuntu"; git -c core.fsyncobjectfiles=0 clone -s -n /home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/downloads/git2/git.freescale.com.ppc.sdk.u-boot.git/ /home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/work/t2080rdb-fsl-linux/u-boot-qoriq/2016.01+fslgit-r0/git/
| DEBUG: Running export SSH_AGENT_PID="2149"; export SSH_AUTH_SOCK="/run/user/999/keyring/ssh"; export PATH="/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin/powerpc-fsl-linux:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/t2080rdb/usr/bin/crossscripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/ubuntu"; git -c core.fsyncobjectfiles=0 remote set-url origin git://git.freescale.com/ppc/sdk/u-boot.git
| DEBUG: Running export SSH_AGENT_PID="2149"; export SSH_AUTH_SOCK="/run/user/999/keyring/ssh"; export PATH="/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin/powerpc-fsl-linux:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/t2080rdb/usr/bin/crossscripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/ubuntu"; git -c core.fsyncobjectfiles=0 checkout -B sdk-v2.0.x a9b437f50e2051f8d42ec9e1a6df52de4bc00e1e
| DEBUG: Running export SSH_AGENT_PID="2149"; export SSH_AUTH_SOCK="/run/user/999/keyring/ssh"; export PATH="/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin/powerpc-fsl-linux:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/t2080rdb/usr/bin/crossscripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/usr/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/sbin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/build_t2080rdb/tmp/sysroots/x86_64-linux/bin:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/scripts:/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/poky/bitbake/bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/ubuntu"; git -c core.fsyncobjectfiles=0 branch --set-upstream sdk-v2.0.x origin/sdk-v2.0.x
| DEBUG: Python function base_do_unpack finished
| DEBUG: Python function do_unpack finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
|
ERROR: Task 0 (/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 9 tasks of which 7 didn't need to be rerun and 1 failed.
No currently running tasks (9 of 10)
Summary: 1 task failed:
/home/ubuntu/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb, do_unpack
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code