From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7319406651323187200 X-Received: by 2002:a05:6512:3a89:b0:50e:36e8:5ff8 with SMTP id q9-20020a0565123a8900b0050e36e85ff8mr197873lfu.134.1705559689433; Wed, 17 Jan 2024 22:34:49 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:ac4:b0:50e:7222:eee2 with SMTP id n4-20020a0565120ac400b0050e7222eee2ls1005273lfu.0.-pod-prod-04-eu; Wed, 17 Jan 2024 22:34:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHi8by5ydy/07taPzN6thrEQn35DEWzQw4SxlQ5XT6M1SdahLWzOnrhpGc+eajP1F5RD4aS X-Received: by 2002:a05:6512:3101:b0:50e:4ecb:d68c with SMTP id n1-20020a056512310100b0050e4ecbd68cmr173165lfb.118.1705559687046; Wed, 17 Jan 2024 22:34:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705559687; cv=none; d=google.com; s=arc-20160816; b=DPkNXjLbJj0JQqPcpyyEf9Bu++iPcES/n6z6CtIux6BxPjF9Ix1o+SmUo6l0B7390d R01/qg6iLEQj0Dx3+XHf09zr0L1AN9Z8JZvZMjPFI/lw42zrFrkJ6IRcSx9M5clcu54Z 1oF6xXoBX/a/g61xzbj5UaOSjdNCVHSLKzNXHqplTu3cYTeFlRdJuD1fxieJaXJn4B2i RZj0ZbOZAJGCtftzc2U/wid+IuJ3S3uTOieoluGQV1BxgIcarrliPArFtClKzZaHhqJz df75jiOm4dEi5Y46v/tkRhJaWHl+4pPediytea5HfgMUeJAHmOzjKbgGwHXY4fNWtYHI vkPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=TOM/pID9QIDUKlPQ9p8dBYuWEOBAGTiOmhzeeWYvnLM=; fh=IxbeHM4vWxalf1XNf2rnGcQL+r1v0Lr0C6ICsGNNkYw=; b=zjhI34qGv4ky2SzQ9MIIn0l3eFCI/CoUY/YC6iU19Z8/BB365S8OsOPb/YZrK2pVWK GJCaA9yRQ0AzVLcPMc3VvlIXW7h6UAy5O0J+N86iqbjFWl6f1kYtxhD2j57m1I8D9LS2 Tld/aU8hjK6rg7o3tVoJkQdlNqYObkm4GO+t7r5dmeFKSIjovOtdBzKQhf5mBx42TLq/ OAlvyYMp4LWWVABbkb+2wYhkjOfquKFnZC/XCkOeArBDOZ5r1tB3yLDp5HfvU8SeKQYS hcsJWbb7CouvXfXpdXl7UCj76X9yX+J3kSKe8FDT9ogW/y5QjXT5NyGHasSR5uGhd561 +eTg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id j16-20020a05651231d000b0050e6b19b855si113993lfe.11.2024.01.17.22.34.46 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jan 2024 22:34:46 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@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 ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@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+deb9u1) with ESMTPSA id 40I6Yi5o004860 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jan 2024 07:34:45 +0100 Message-ID: Subject: Re: [PATCH v5] dpkg: Restore support for replacing pre-installed packages in sbuild-chroot From: Uladzimir Bely To: Jan Kiszka , isar-users Date: Thu, 18 Jan 2024 09:34:44 +0300 In-Reply-To: <028f69ac16ec3769875a03d6ec5d062271e3752c.camel@ilbers.de> References: <028f69ac16ec3769875a03d6ec5d062271e3752c.camel@ilbers.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 (by Flathub.org) MIME-Version: 1.0 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: tUaQdAFfzhv/ On Thu, 2024-01-18 at 09:28 +0300, Uladzimir Bely wrote: > On Tue, 2024-01-16 at 09:22 +0100, Jan Kiszka wrote: > > From: Jan Kiszka > >=20 > > During the migration to sbuild, support for using self-built > > packages > > in > > the build environment was lost if those were already part of the > > sbuild-chroot. This restores it by adding --apt-distupgrade to the > > sbuild call. But that is not enough because sbuild will only > > upgrade > > packages from already configured sources, not those specified via > > --extra-repository. We therefore have to switch back to configuring > > isar-apt during sbuild-chroot creation. > >=20 > > As rootfs_configure_isar_apt configures the isar repo under > > /isar-apt, we bind-mount the one in /home/builder/${PN} to that > > folder. > > Another difference is that we now need to run apt-get update > > explicitly, > > but only for isar-apt. > >=20 > > And because the sbuild-chroots are now left behind with isar-apt > > configured, the configuration in imager_run can be removed (credits > > to > > Srinuvasan Arjunan). > >=20 > > Signed-off-by: Jan Kiszka > > --- > >=20 > > Changes in v5: > > =C2=A0- also use dpkg_schroot_create_configs for apt_fetch and > > apt_unpack > > =C2=A0=C2=A0 (while I wasn't able to reproduce the issue, I think this = should > > =C2=A0=C2=A0 resolve the CI problems) > >=20 >=20 > Unfortunately, the picture in full CI didn't change. Even worse, one > more job (NoCrossTest.test_nocross has failed with the similar error. >=20 > tmp/work/debian-bullseye-amd64/hello/1.0- > r0/temp/log.do_apt_unpack.1785250: > ``` > DEBUG: Executing shell function do_apt_unpack > cp: cannot stat '/downloads/deb-src/debian-bullseye/hello/hello_2.10- > 2+isar.debian.tar.xz': No such file or directory > cp: cannot stat '/downloads/deb-src/debian-bullseye/hello/hello_2.10- > 2+isar.dsc': No such file or directory > ``` >=20 > I'm continuing debugging the issue. >=20 Just one addition: previously (in v4) builds were failing in hello:apt_fetch, not they fail in hello:apt_unpack. Also, now repro tests failed earlier - during base_apt:do_cache. E.g: tmp_repro_signed/work/debian-bullseye-arm64/base-apt/1.0- r0/temp/log.do_cache.2901916: ``` ... Exporting indices... Error opening '/build/isar_ub_devel/359/downloads/deb-src/debian- bullseye/hello/hello_2.10-2+isar.dsc': No such file or directory There have been errors! WARNING: exit code 254 from a shell command. DEBUG: Python function do_cache finished ```