Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[honister] Fix linaro kernel URL #527

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

superna9999
Copy link
Contributor

Linaro git trees have been moved from git.linaro.org to git.codelinaro.org.

This causes a build failure on honister branch:

ERROR: ExpansionError during parsing /oe/build/conf/../../layers/meta-qcom/recipes-kernel/linux/linux-linaro-qcomlt-dev.bb
Traceback (most recent call last):
  File "/oe/bitbake/lib/bb/fetch2/__init__.py", line 1196, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7fdc16989220>, d=<bb.data_smart.DataSmart object at 0x7fdc17913670>, name='default'):
         if srcrev == "AUTOINC":
    >        srcrev = ud.method.latest_revision(ud, d, name)
     
  File "/oe/bitbake/lib/bb/fetch2/__init__.py", line 1605, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7fdc16989220>, d=<bb.data_smart.DataSmart object at 0x7fdc17913670>, name='default'):
             except KeyError:
    >            revs[key] = rev = self._latest_revision(ud, d, name)
                 return rev
  File "/oe/bitbake/lib/bb/fetch2/git.py", line 715, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7fdc16989220>, d=<bb.data_smart.DataSmart object at 0x7fdc17913670>, name='default'):
             """
    >        output = self._lsremote(ud, d, "")
             # Tags of the form ^{} may not work, need to fallback to other form
  File "/oe/bitbake/lib/bb/fetch2/git.py", line 704, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7fdc16989220>, d=<bb.data_smart.DataSmart object at 0x7fdc17913670>, search=''):
                     bb.fetch2.check_network_access(d, cmd, repourl)
    >            output = runfetchcmd(cmd, d, True)
                 if not output:
  File "/oe/bitbake/lib/bb/fetch2/__init__.py", line 913, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export PATH="/oe/layers/openembedded-core/scripts:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-linaro-linux-gnueabi:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/oe/bitbake/bin:/oe/build/tmp-rpb-glibc/hosttools"; export HOME="/home/tuxbake"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false ls-remote https://git.linaro.org/landing-teams/working/qualcomm/kernel.git ', d=<bb.data_smart.DataSmart object at 0x7fdc16b1b340>, quiet=True, cleanup=[], log=None, workdir=None):
     
    >        raise FetchError(error_message)
     
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/oe/layers/openembedded-core/scripts:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-linaro-linux-gnueabi:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/oe/build/tmp-rpb-glibc/work/sdx55_mtp-linaro-linux-gnueabi/linux-linaro-qcomlt-dev/fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/oe/bitbake/bin:/oe/build/tmp-rpb-glibc/hosttools"; export HOME="/home/tuxbake"; git -c core.fsyncobjectfiles=0 -c gc.autoDetach=false ls-remote https://git.linaro.org/landing-teams/working/qualcomm/kernel.git  failed with exit code 128, output:
fatal: unable to update url base from redirection:
  asked for: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/info/refs?service=git-upload-pack
   redirect: https://git.codelinaro.org/linaro/qcomlt/kernel?service=git-upload-pack

The variable dependency chain for the failure is: SRCPV -> PV -> WORKDIR -> S

Linaro git trees have been moved from git.linaro.org to
git.codelinaro.org.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
@lumag
Copy link
Collaborator

lumag commented Aug 16, 2023

I'm going to merge this PR. We can sort out the sdx55 machines in a separate PR.

@lumag lumag merged commit 1e8e5af into Linaro:honister Aug 16, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants