This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM437X: mobile-broadband-provider Fetcher failure in clean 08 build

Part Number: PROCESSOR-SDK-AM437X

ERROR: mobile-broadband-provider-info-1_20201225-r0 do_fetch: Fetcher failure: Unable to find revision 90f3fe28aa25135b7e4a54a7816388913bfd4a2a in branch master even from upstream

literally just trying to build 08 as-is for first time moving from 07.  

  • Hi Howard,

    can you please clarify which exact SDK version you are trying to build (the config file name will do) so I can re-create. Probably one of those easy-to-fix issues where an upstream branch name has changed or something.

    Regards, Andreas

  • Hi Andreas:

    So this was on just a vanilla build of AM437 SDK version 08. 

    Setup was:

    ./oe-layertool-setup.sh -f configs/processor-sdk/processor-sdk-08.02.00.24-config.txt

    plus the normal env stuff

    Build was this:

    MACHINE=am437x-evm bitbake tisdk-base-image

    I wanted to try the source package snapshots but its not available for 08 at the moment.

  • Howard,

    sounds good. Will look at this early next week and get back to you. I recently built an v08.02.00.24 image for AM437x and I remember there being some minor hiccups but my build machine is down right now so I can't check.

    Regards, Andreas

  • Turns out now that I got past the earlier issues with SDK 07, the same error is happening on that build. 

    ERROR: mobile-broadband-provider-info-1_20201225-r0 do_fetch: Fetcher failure: Unable to find revision 90f3fe28aa25135b7e4a54a7816388913bfd4a2a in branch master even from upstream

    However, at least there is the snapshot available for SDK 07.

    OK Tried that, same result.   There is a mobile-broadband-provider-info item in the snapshot .... gitlab.gnome.org.GNOME.mobile-broadband-provider-info.git  

    But it still tries to go out to the web for the source.

  • Ok working this now. Will get back in a day or so, stay tuned.

  • Hi Howard,

    I was able to fix the build issue with the mobile-broadband-provider-info recipe by updating the recipe to accommodate for a change of the upstream git branch name from 'master' to 'main' (similar issues are happening all over the place).

    a0797059@ula0797059:~/tisdk/am437/sources/oe-core (HEAD detached at 51844f2d60)
    $ git diff
    diff --git a/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb b/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
    index b4cbc1a76c..ef008492cb 100644
    --- a/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
    +++ b/meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb
    @@ -8,7 +8,7 @@ SRCREV = "90f3fe28aa25135b7e4a54a7816388913bfd4a2a"
     PV = "20201225"
     PE = "1"
     
    -SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master"
    +SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=main"
     S = "${WORKDIR}/git"
     
     inherit autotools

    With this I was able to successfully build 'MACHINE=am437x-evm bitbake -k tisdk-base-image'.

    Actually the Yocto error message you pointed to is a bit misleading, as it says it is unable to find the revision XYZ even though that revision actually exists in the cloned repository. However one thing to always check is the warning that was output as well:

    WARNING: mobile-broadband-provider-info-1_20201225-r0 do_fetch: Failed to fetch URL git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master, attempting MIRRORS if available

    So I usually use Google to navigate to the repo, and make sure (a) it is still accessible, and (b) the branch name in the WARNING message matches a branch on the actual repo.

    Regards, Andreas