AnsweredAssumed Answered

bitbake fatal: branch origin/master does not exist

Question asked by John Call on May 27, 2018
Latest reply on May 28, 2018 by John Call

After I hit a dead end on the windows side (related post) I thought I'd try building a linux image following the instructions in the document fsl-yocto-L4.1.15_2.0.0-ga/i.MX_Yocto_Project_User's_Guide.pdf listed on the support tab of the IM.X 6ULL EVK (on a clean install of Ubuntu for the host).

 

The repo tool had some issues for which I had to edit the following files

 

  • sources/poky/bitbake/lib/bs4/builder/_html5lib.py and replace all instances of "html5lib.treebuilders._base" with "html5lib.treebuilders.base" (As per this answer)
  • sources/poky/bitbake/lib/bb/fetch2/git.py and replace all instances of "--set-upstream" with "--set-upstream-to"

 

but I hit a snaggle I have had a hard time diagnosing.

 

For reference I used the following commands:

DISTRO=fsl-imx-x11 MACHINE=imx6ull14x14ddr3arm2 source fsl-setup-release.sh -b fsl-14x14ddr3

bitbake core-image-base

 

(Side note, I'm guessing on the machine, I don't know what the difference between imx6ull14x14evk or imx6ull14x14ddr3arm2 or imx6ull9x9 or imx6ul* (with one L) are or if this is even the right one for my board...can someone explain?)

 

Currently I am getting the error in bitbake:

 

NOTE: Executing RunQueue Tasks
ERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_unpack: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: branch 'origin/master' does not exist

ERROR: Logfile of failure stored in: /home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/temp/log.do_unpack.5361
Log data follows:
| DEBUG: Executing python function do_unpack
| DEBUG: Executing python function base_do_unpack
| DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=9f8369f54a840a11f0b66b2a5b0b2451"; export SSH_AGENT_PID="1725"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts/native-intercept:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/bin:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/sources/poky/bitbake/bin:/home/jcall/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/jcall"; git -c core.fsyncobjectfiles=0 clone -s -n /home/jcall/yocto/fsl-release-bsp/downloads//git2/git.sv.gnu.org.config.git/ /home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/work/x86_64-linux/gnu-config-native/20150728+gitAUTOINC+b576fa87c1-r0/git/
| DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=9f8369f54a840a11f0b66b2a5b0b2451"; export SSH_AGENT_PID="1725"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts/native-intercept:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/bin:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/sources/poky/bitbake/bin:/home/jcall/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/jcall"; git -c core.fsyncobjectfiles=0 remote set-url origin git://git.sv.gnu.org/config.git
| DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=9f8369f54a840a11f0b66b2a5b0b2451"; export SSH_AGENT_PID="1725"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts/native-intercept:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/bin:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/sources/poky/bitbake/bin:/home/jcall/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/jcall"; git -c core.fsyncobjectfiles=0 checkout -B master b576fa87c140b824466ef1638e945e87dc5c0343
| DEBUG: Running export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus,guid=9f8369f54a840a11f0b66b2a5b0b2451"; export SSH_AGENT_PID="1725"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts/native-intercept:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin/x86_64-linux:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/usr/bin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/sbin:/home/jcall/yocto/fsl-release-bsp/fsl-14x14ddr3/tmp/sysroots/x86_64-linux/bin:/home/jcall/yocto/fsl-release-bsp/sources/poky/scripts:/home/jcall/yocto/fsl-release-bsp/sources/poky/bitbake/bin:/home/jcall/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"; export HOME="/home/jcall"; git -c core.fsyncobjectfiles=0 branch --set-upstream-to master origin/master
| 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: branch 'origin/master' does not exist
|
ERROR: Task 349 (virtual:native:/home/jcall/yocto/fsl-release-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb, do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 22 tasks of which 0 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  virtual:native:/home/jcall/yocto/fsl-release-bsp/sources/poky/meta/recipes-devtools/gnu-config/gnu-config_git.bb, do_unpack
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

Any pointers appreciated...I would really like to get something small and simple compiling so I can load hello world onto the board and get going with the aspects of my project that I am more invested in

Outcomes