On Thu, Mar 11, 2021 at 10:14:28AM +0100, Martin Jansa wrote: > On Wed, Mar 10, 2021 at 04:33:02AM -1000, Steve Sakoman wrote: > > On Wed, Mar 10, 2021 at 2:54 AM Martin Jansa <[email protected]> wrote: > > > > > > From: Richard Leitner <[email protected]> > > > > > > This fixes [1] the following build error for nativesdk on Fedora 33 > > > which is caused by the removal of fractions.gcd() in favor of math.gcd() > > > in python 3.9 [2]: > > > > > > ImportError: cannot import name 'gcd' from 'fractions' > > > (/usr/lib64/python3.9/fractions.py) > > > > > > Furthermore the SRC_URI is adapted as the old one doesn't provide the > > > 1.14.1 archive. > > > > > > [1] > > > https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/426ae35bee1fa0fdb8b5120b1dcd20cee6e34512 > > > [2] https://bugs.python.org/issue39350 > > > > > > It's needed in gatesgarth and possibly dunfell as well to support > > > distributions with python-3.9 as we build libxcb-native, which is > > > failing with xcb-proto-1.14. > > > > > > 1.14.1 is a bug fix release: > > > https://lists.x.org/archives/xorg-announce/2020-October/003061.html > > > > Dunfell is still at version 1.13, so this wouldn't be a bug fix version > > bump. > > I see, well luckily 1.14 doesn't look too scary as well: > https://lists.x.org/archives/xorg-announce/2020-February/003038.html > https://git.openembedded.org/openembedded-core/commit/?h=gatesgarth&id=bf4ef2e3b376744b16c2f57725104207d23c28c6 > > If this is the only issue for building dunfell with host distro with > python-3.9 then I think it should be considered. > > Isn't autobuilder using some new host distro with python-3.9 already? > > FYI: I was seeing this with ubuntu 21.04, I'll trigger dunfell build on > it now.
At least for LuneOS images this was the only build issue I've seen with 21.04. Together with an warning about glibc: WARNING: Your host glibc version (2.33) is newer than that in uninative (2.32). Disabling uninative so that sstate is not corrupted. which I see you're going to address in new PR with uninative upgrade. Cheers,
signature.asc
Description: PGP signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#149299): https://lists.openembedded.org/g/openembedded-core/message/149299 Mute This Topic: https://lists.openembedded.org/mt/81226192/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
