aws4embeddedlinux / meta-aws

The metadata layer for baking AWS device software to Embedded Linux distributions built by the Yocto Project build system.
MIT License
127 stars 86 forks source link

botocore SRCREV are all invalid (not found on master branch) #9442

Closed antoine-sac closed 2 months ago

antoine-sac commented 2 months ago

Hello,

Sadly it looks like someone force-pushed on boto/botocore and made all the SRCREV for python3-botocore recipe invalid. This seems to affect all botocore SRCREV across all versions.

For example, this is the current python3-botocore SRCREV and it is not attached to any branch. https://github.com/boto/botocore/commit/894686f5fc8d1440715877ec361695fb71fc900c

This means yocto builds fail with :

ERROR: python3-botocore-1.34.47-r0 do_fetch: Fetcher failure: Unable to find revision 91985d79e71c71f581095abc8f1789bd2f6c156d in branch master even from upstream

(This particular commit was the fairly old one we were using).

thomas-roos commented 2 months ago

Thank you for reporting. Will look into that next week after being back from vacation.

ndivecha commented 2 months ago

Got same issue:

WARNING: python3-botocore-1.34.157-r0 do_fetch: Failed to fetch URL git://github.com/boto/botocore.git;protocol=https;branch=master, attempting MIRRORS if available
ERROR: python3-botocore-1.34.157-r0 do_fetch: Fetcher failure: Unable to find revision 894686f5fc8d1440715877ec361695fb71fc900c in branch master even from upstream
ERROR: python3-botocore-1.34.157-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'git://github.com/boto/botocore.git;protocol=https;branch=master')

Ref: https://github.com/aws4embeddedlinux/meta-aws/commit/e58d5d20cfb498ac44aa6b259b9bebe35a658f2b

antoine-sac commented 2 months ago

As a temporary fix, we forked the meta-aws repo and fixed the commit SRCREV for the kirkstone branch. Feel free to use it if it's helpful: https://github.com/hestiia-engineering/meta-aws/tree/kirkstone

Note the botocore devs are lookink into restoring the commit history so the underlying issue should fix itself soon.

ndivecha commented 2 months ago

As a temporary fix, we forked the meta-aws repo and fixed the commit SRCREV for the kirkstone branch. Feel free to use it if it's helpful: https://github.com/hestiia-engineering/meta-aws/tree/kirkstone

Note the botocore devs are lookink into restoring the commit history so the underlying issue should fix itself soon.

ah ha! much appreciated... I guess work continues :-)

Cheers

thomas-roos commented 2 months ago

botocore master branch should be fixed by mid of next week.

thomas-roos commented 2 months ago

This is fixed now thankfully. https://github.com/boto/botocore/issues/3241