Skip to contentSkip to conversation

Backport fix for os.errno references in fetch2 (Thud)

DISCUSSION Daniel Dragomir 2 participants 2 messages Jan 28, 2021 – Jan 31, 2021

lore
Share & tools
lore
#0 lore raw

Hello maintainers!

Can you please backport commit e74f80433e9a7e7ae7ec1472eb7387301d2dc816 ("bitbake: fetch2: Fix os.errno references") on Thud branch?

Don't know if Thud is still supported, but I see intermittent fetch failures on Thud which were fixed with this patch (present starting with Warrior branch):

File: '..../poky/bitbake/lib/bb/fetch2/__init__.py', lineno: 1720, function: download 1716:
1717:                update_stamp(ud, self.d)
1718:
1719:            except IOError as e:
*** 1720:                if e.errno in [os.errno.ESTALE]:
1721:                    logger.error("Stale Error Observed %s." % u) 1722:                    raise ChecksumError("Stale Error Detected") 1723:
1724:            except BBFetchException as e:
Exception: AttributeError: module 'os' has no attribute 'errno'

Best regards!
Daniel

#1 lore raw
Quoted 9 lines · Daniel Dragomir

Hello maintainers!

Can you please backport commit e74f80433e9a7e7ae7ec1472eb7387301d2dc816 ("bitbake: fetch2: Fix os.errno references") on Thud branch?

Don't know if Thud is still supported, but I see intermittent fetch failures on Thud which were fixed with this patch (present starting with Warrior branch):

bitbake 1.40 (used by thud) is well outside its maintenance window but I have backported that one.

Cheers,

Richard