buildman error

Alper Nebi Yasak alpernebiyasak at gmail.com
Wed Jun 30 17:32:22 CEST 2021



On 30/06/2021 14:07, Wasim Khan wrote:
> I am using latest u-boot code and trying to run buildman with my local patch for lx2160 platform on master branch.
> Getting below error .
> 
> u-boot$ ./tools/buildman/buildman --list-tool-chains
> aarch64   : /opt/gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc
> arm       : /opt/gcc-linaro-7.4.1-2019.02-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc
> 
> 
> u-boot$ ./tools/buildman/buildman -b master lx2160ardb -ve
> Building 2 commits for 3 boards (3 threads, 3 jobs per thread)
>     0    0    0 /6       -6      (starting)Thread exception: git checkout (['git', '--git-dir', '../master/.bm-work/02/.git', '--work-tree', '../master/.bm-work/02', 'checkout', '-f', '3ef4572110a43acdd7d401b0cb184c6ebd6eaa17']): fatal: not a git repository: u-boot/.git/worktrees/-2
> 
> Thread exception: git checkout (['git', '--git-dir', '../master/.bm-work/00/.git', '--work-tree', '../master/.bm-work/00', 'checkout', '-f', '3ef4572110a43acdd7d401b0cb184c6ebd6eaa17']): fatal: not a git repository: u-boot/.git/worktrees/-
> 
> Thread exception: git checkout (['git', '--git-dir', '../master/.bm-work/01/.git', '--work-tree', '../master/.bm-work/01', 'checkout', '-f', '3ef4572110a43acdd7d401b0cb184c6ebd6eaa17']): fatal: not a git repository: -boot/.git/worktrees/-1
> 

I get the same error when I manually delete the u-boot/.git/worktrees/-*
directories, but can't think of why those would be deleted during normal
operation.

If you delete the ../master/.bm-work/* directories it should start
working again.

> Completed: 6 total built
> Failed: 3 thread exceptions
> 
> Regards,
> Wasim
> 


More information about the U-Boot mailing list