[-next] submodule fetcher issues in agl-service-* and apps

Fixed

Description

Symptom:

ERROR: agl-service-gps-1.0+gitAUTOINC+812efb838d-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/scratch/user/git/AGL/build-next/build-q64/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/recipe-sysroot-native/usr/bin/tar-native:/home/scratch/user/git/AGL/build-next/poky/scripts:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/recipe-sysroot-native/usr/bin/x86_64-agl-linux:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/recipe-sysroot/usr/bin/crossscripts:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/recipe-sysroot-native/usr/sbin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/recipe-sysroot-native/usr/bin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/recipe-sysroot-native/sbin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/recipe-sysroot-native/bin:/home/scratch/user/git/AGL/build-next/poky/bitbake/bin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/hosttools"; export HOME="/home/dl9pf"; git -c core.fsyncobjectfiles=0 submodule update --recursive --no-fetch failed with exit code 1, output: fatal: reference is not a tree: 0f25ab2fa35a36c8d9b4675522f1ecb9ec74d884 Unable to checkout '0f25ab2fa35a36c8d9b4675522f1ecb9ec74d884' in submodule path 'conf.d/app-templates'ERROR: agl-service-gps-1.0+gitAUTOINC+812efb838d-r0 do_unpack: Function failed: base_do_unpack ERROR: Logfile of failure stored in: /home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-gps/1.0+gitAUTOINC+812efb838d-r0/temp/log.do_unpack.17548 ERROR: Task (/home/scratch/user/git/AGL/build-next/meta-agl/meta-agl-profile-core/recipes-apis/agl-service-gps/agl-service-gps_git.bb:do_unpack) failed with exit code '1'

 reproduce:

mkdir build-next ; cd build-next repo init -b next -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo source meta-agl/scripts/aglsetup.sh -m qemux86-64 -b build-systemd agl-demo agl-devel # as example: build agl-service-gps bitbake agl-service-gps

 

Even worse with multiple submodules (but can be related to that first error):

ERROR: agl-service-audio-4a-0.1+gitAUTOINC+0ee73bc586-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/home/scratch/user/git/AGL/build-next/build-q64/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/recipe-sysroot-native/usr/bin/tar-native:/home/scratch/user/git/AGL/build-next/poky/scripts:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/recipe-sysroot-native/usr/bin/x86_64-agl-linux:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/recipe-sysroot/usr/bin/crossscripts:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/recipe-sysroot-native/usr/sbin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/recipe-sysroot-native/usr/bin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/recipe-sysroot-native/sbin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/recipe-sysroot-native/bin:/home/scratch/user/git/AGL/build-next/poky/bitbake/bin:/home/scratch/user/git/AGL/build-next/build-q64/tmp/hosttools"; export HOME="/home/dl9pf"; git -c core.fsyncobjectfiles=0 submodule update --recursive --no-fetch failed with exit code 1, output: Submodule path 'afb-utilities': checked out 'f0ce5b665dd33b285d723720c16ac0542cde4e6e'fatal: reference is not a tree: d6c7b9663f735fc29e68bfb7a55b2025a6a650ad fatal: reference is not a tree: ce075383309a30bb7084309014c7f1c2f699bf01 Unable to checkout 'd6c7b9663f735fc29e68bfb7a55b2025a6a650ad' in submodule path 'conf.d/app-templates' Unable to checkout 'ce075383309a30bb7084309014c7f1c2f699bf01' in submodule path 'controller'ERROR: agl-service-audio-4a-0.1+gitAUTOINC+0ee73bc586-r0 do_unpack: Function failed: base_do_unpack ERROR: Logfile of failure stored in: /home/scratch/user/git/AGL/build-next/build-q64/tmp/work/corei7-64-agl-linux/agl-service-audio-4a/0.1+gitAUTOINC+0ee73bc586-r0/temp/log.do_unpack.15446 ERROR: Task (/home/scratch/user/git/AGL/build-next/meta-agl-devel/meta-audio-4a-framework/recipes-multimedia/agl-service-audio-4a/agl-service-audio-4a_git.bb:do_unpack) failed with exit code '1'

 

Environment

None

Activity

Show:

Walt Miner 
June 4, 2019 at 10:22 PM

Close for HH RC1

Scott Murray 
April 26, 2019 at 4:37 PM

Required bitbake gitsm fetcher fixes backported into upstream, merged as part of thud upgrade.

Scott Murray 
March 21, 2019 at 6:56 PM

There are still several recipes that use submodules, so that's not the case.

Bechir Mghirbi 
March 21, 2019 at 1:30 PM

The commit 7381d6b from meta-agl master branch removed git submodules from SRC_URI of agl-service-*.

It can be merged so no need to patch/upgrade git fetcher in bitbake.

Stephane Desneux 
February 26, 2019 at 3:37 PM

: this task/bug is solved by patching/upgrading the git fetcher in bitbake. If there's another Jira open for the root cause, please solve as duplicate .

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Priority

Created October 25, 2018 at 11:24 AM
Updated September 19, 2019 at 12:06 PM
Resolved April 26, 2019 at 4:37 PM

Flag notifications