From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7319406651323187200 X-Received: by 2002:a19:7603:0:b0:50e:7be0:1a93 with SMTP id c3-20020a197603000000b0050e7be01a93mr106308lff.115.1705559314065; Wed, 17 Jan 2024 22:28:34 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:716:b0:50f:1463:ab90 with SMTP id b22-20020a056512071600b0050f1463ab90ls38747lfs.2.-pod-prod-03-eu; Wed, 17 Jan 2024 22:28:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IFpo4PFA87IATpzpuQeyp/RwVDRCA3oi7OJ44sgTBRXts+5ZdNwHzY6GKB3aiRj+wFTz05l X-Received: by 2002:a05:6512:104e:b0:50e:2a33:28b0 with SMTP id c14-20020a056512104e00b0050e2a3328b0mr201321lfb.25.1705559311633; Wed, 17 Jan 2024 22:28:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705559311; cv=none; d=google.com; s=arc-20160816; b=zqZU/mM2IikVhJtSVmcP6hAeS9GI/+Xnzk/fDzQwGmO2hu9rXhuy+AT0uB8A8iI64i 0JEiU+FJxvSGJPXC3fR3g2UJlAc9977vGBrOqR+TSsCFyh2q1yfEoPSYLSpkSB7VxCvW Bgru6MP5AYewbowetCKwwgbQLWsxWPEcwUZ4f8SUl6nt9qFu5e967uxslo0Os5dbetvo OM6p26Nip04hmd5ibskdraa0GdCi1CnjcpaTBiUzntg7dc9jrJz5fVRMq17vVU5e0q9u hNzbz7QqFkgYVSoVkX86KlV/KhCGaMRDCYdHvhaGXLtxGZ1usUTOwp7NeiNG8I8IsTc/ R/5w== 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=/NfcktJ42eo6xgoeJPTaw5Ukgz7r2IlCOu4Tf1u6hm8=; fh=IxbeHM4vWxalf1XNf2rnGcQL+r1v0Lr0C6ICsGNNkYw=; b=hqhXD5PSHtbe/TBTcyGaMpwNManY2UovVFyaKNY08opOFkjuUYzw3IsFig6cmsofwD kQKVglhMK32OurfPhnNQIP75BoJAERRE9tOKrzsq7MWwpfn8/3rEPlzFu68+a/LrjGe0 o34UBaHlYpf+ha23mRG0qFcYX1iKRVLlK0nAR+e5EnEAyl3yaL1dxVhbUXdYgN0wMmZG Phf5Dc3DXAvKI6rfrRhl3/0peGIGeDMFVkTtwt5wpbIM3qWoYLaVJ2utAgoQghBD3CzV 2JL3YlpQIOr8/38IvpZ81DSRDLKhdH3Di1WXppsvdn1Mi4PrnwjovUWs9XvW6opHXHAQ El9g== 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 w31-20020a0565120b1f00b0050e6bdb8f59si113338lfu.4.2024.01.17.22.28.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jan 2024 22:28:31 -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 40I6SSi9004778 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Jan 2024 07:28:30 +0100 Message-ID: <028f69ac16ec3769875a03d6ec5d062271e3752c.camel@ilbers.de> 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:28:28 +0300 In-Reply-To: References: 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: RanllrZI3X6i 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 sh= ould > =C2=A0=C2=A0 resolve the CI problems) >=20 Unfortunately, the picture in full CI didn't change. Even worse, one more job (NoCrossTest.test_nocross has failed with the similar error. 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 ``` I'm continuing debugging the issue.