From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7088977375648546816 X-Received: by 2002:adf:c64c:0:b0:20a:79c7:4bf2 with SMTP id u12-20020adfc64c000000b0020a79c74bf2mr2640605wrg.587.1650614359555; Fri, 22 Apr 2022 00:59:19 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:47a7:0:b0:20a:a30e:f9ec with SMTP id 7-20020a5d47a7000000b0020aa30ef9ecls138229wrb.3.gmail; Fri, 22 Apr 2022 00:59:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQXw2LiOOTkJi9sqI2k1Trm5H2Z8qXptPO/P0tN869cxxIApJYDRJ84zVdMI3L+l/81BwZ X-Received: by 2002:a5d:48d0:0:b0:207:a861:dcc9 with SMTP id p16-20020a5d48d0000000b00207a861dcc9mr2693786wrs.490.1650614358713; Fri, 22 Apr 2022 00:59:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650614358; cv=none; d=google.com; s=arc-20160816; b=DcI2JR632FpvGTQ/rbXQgDFEwCOiT15MHUxbwwql6xE7MbO0VZjRbMKkBpi8ViAzlN HVvcHuT7fCHiEqOkrmT4e64M22iVZHXvSJyhFKdo4Ew/lRRypN5rDbmLtWBuhoqKsyjY C8iNfysflNtxzR5Is2VGfiZ0p29PaLi27qHc0XltKLppvh3qDvgEEHjXZmjOoz4ReGoS LlFOawLLDeULD1WMQoU/d9joyF70ANZF8P0kvLvri4qbCCKZIlP5SPopqUKZYK0H1dZm TUpHJW+4BXcxDqC4oC2uaNLXjAIz3Gu3R6nFyQHWP0jyWcF4mJbv2tTId7ht5sWUC3EU vjrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id; bh=fNIZYE9NQGHgihQxVNQo9AARs0pdhtpwYHeqEAHpl2Q=; b=PiBZw+035YhwOZds5qFYXygq8o6tga4MN3AY2/OIGLb/Iwpj6rKkDB+SbSkVKzoHWN ojNLX5K2MtoCitiqrvVvItZgEMxF7olHRhQR70matFjPHQ1GBqnjxu7HxaG6IDuDKCt5 +Q2O+WS+sJtV6lzpxBdMHNxCzElqQOqVdXlH0cdLuGfOo8P5zEIBshxhhSbln1s2q9mG gg4XOl1U/+Jl3HXcq9mbwfHtJ8Ac+Ez6B+McQ384pWyygyLvnY8AaN8/DpUy2Y3poYVt 3j/i35X8D9DWQkooXnY8AMWDIgql/9t/mtWR5ZGsAOzyuuX07oteDdQ0StJMQXycqAhO +NAQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id o10-20020a5d648a000000b00205f806f142si297154wri.8.2022.04.22.00.59.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Apr 2022 00:59:18 -0700 (PDT) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=amikan@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8) with ESMTPSA id 23M7xFMf011050 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Apr 2022 09:59:16 +0200 Message-ID: Date: Fri, 22 Apr 2022 10:59:15 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 0/2] bump bitbake and wic for python 3.10 support Content-Language: en-US To: Henning Schild , isar-users Cc: Florian Bezdeka , Felix Moessbauer , Baurzhan Ismagulov References: <20220421085232.1949-1-henning.schild@siemens.com> From: Anton Mikanovich In-Reply-To: <20220421085232.1949-1-henning.schild@siemens.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: iwf2ZUvFiAI+ 21.04.2022 11:52, Henning Schild wrote: > debian bookworm switched to python 3.10 recently, our versions of > bitbake and wic both have some issues with that new interpreter. All > these issues have been fixes in bitbake and OE, so all we need to do is > update the two tools in our tree. > > v1 was send as "[PATCH] bitbake: Update to 1.50.5 release", which is p1 > here, only later i found that wic also needs a bump to v2 added p2 > > If this series is applied we do not need "[PATCH] wic-img: use > python3.9 in bookworm", in case this one is applied before it should be > reverted after the version bumps. > > Henning Schild (2): > bitbake: Update to 1.50.5 release > wic: Update to the latest revision > > bitbake/lib/bb/cache.py | 3 +- > bitbake/lib/bb/cooker.py | 30 +++++++- > bitbake/lib/bb/data_smart.py | 4 +- > bitbake/lib/bb/fetch2/__init__.py | 4 + > bitbake/lib/bb/fetch2/perforce.py | 2 +- > bitbake/lib/bb/fetch2/wget.py | 2 +- > bitbake/lib/bb/persist_data.py | 5 +- > bitbake/lib/bb/process.py | 2 +- > bitbake/lib/bb/runqueue.py | 34 ++++---- > bitbake/lib/bb/server/process.py | 2 +- > bitbake/lib/bb/tests/fetch.py | 35 +++++---- > bitbake/lib/bb/utils.py | 13 +++- > bitbake/lib/hashserv/server.py | 4 +- > bitbake/lib/toaster/tests/builds/buildtest.py | 2 +- > .../wic/plugins/source/bootimg-efi-isar.py | 77 ++++++++++++++++--- > .../wic/plugins/source/bootimg-pcbios-isar.py | 6 +- > scripts/lib/wic/canned-wks/common.wks.inc | 2 +- > scripts/lib/wic/canned-wks/directdisk-gpt.wks | 2 +- > scripts/lib/wic/canned-wks/mkefidisk.wks | 2 +- > scripts/lib/wic/engine.py | 6 +- > scripts/lib/wic/help.py | 10 ++- > scripts/lib/wic/ksparser.py | 8 +- > scripts/lib/wic/misc.py | 4 +- > scripts/lib/wic/partition.py | 25 ++++-- > scripts/lib/wic/pluginbase.py | 8 +- > scripts/lib/wic/plugins/imager/direct.py | 11 ++- > scripts/lib/wic/plugins/source/bootimg-efi.py | 74 +++++++++++++++--- > .../lib/wic/plugins/source/bootimg-pcbios.py | 6 +- > scripts/lib/wic/plugins/source/rawcopy.py | 35 ++++++++- > scripts/lib/wic/plugins/source/rootfs.py | 2 +- > scripts/wic | 9 ++- > 31 files changed, 320 insertions(+), 109 deletions(-) Thanks for update, python issue is really fixed now, but it brakes qemu386 targets booting in QEMU: 00:46:00 [   34.424136] blk_update_request: I/O error, dev fd0, sector 0 00:46:00 [   34.428049] floppy: error -5 while reading block 0 00:46:00 [   34.508133] blk_update_request: I/O error, dev fd0, sector 0 00:46:00 [   34.512050] floppy: error -5 while reading block 0 00:46:00 Gave up waiting for root file system device.  Common problems: 00:46:00  - Boot args (cat /proc/cmdline) 00:46:00    - Check rootdelay= (did the system wait long enough?) 00:46:00  - Missing modules (cat /proc/modules; ls /dev) 00:46:00 ALERT!  PARTLABEL=platform does not exist.  Dropping to a shell! 00:46:00 (initramfs)