From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 10 Feb 2025 08:47:39 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f57.google.com (mail-wm1-f57.google.com [209.85.128.57]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 51A7lcjF007859 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 10 Feb 2025 08:47:38 +0100 Received: by mail-wm1-f57.google.com with SMTP id 5b1f17b1804b1-4393b6763a3sf6076975e9.2 for ; Sun, 09 Feb 2025 23:47:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1739173653; cv=pass; d=google.com; s=arc-20240605; b=Q/GiuCajBmk9VBDmZ29vHPuycRpIj0FQMk1qplr4pI9mltLYomtcag8fX0t8HLPj6w mB6ebw7xqJw2ZTQMldBvzMZAIMAoXr+4i7n0tbrhJWgC6F5Cr0dpfgMUbHy08Se6lT2b jAV9HaZjyjgcmAlVx8K1JWuGfW8TLc+OH+SwDbw1Kjzy/PxSKheG5DZWLBMeyVAULEQk vaMyVjUG7b6Zm0t+1E0IzrfrVGjaKXydcaM1vbiupzRP85dhpCybIbnboMlVtbR3aO9D BIQ0Uu2skPj3NQBzJralW0l1W8S8DqkK6WwPpH493sNE9SlrZKVYWR5BctM6ZWFXJEaC smXQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:sender:dkim-signature; bh=LbvQsl3NcNJLLkBVoHqR3XtvoEDESidsJZ70mJylP88=; fh=7cm24ZjR8pFokzH0Jm/wyrF40wA5/DVkDBHvm8FSUhk=; b=AUNLJdVvOhjMhuBoOVemI+VRljfcR23sxjnR0caozqCgkqL9wyPbJMTDzcuPMcR1QX 03Zuvqt4aausvQAZm60RA66xuBZxtbBpy/ayHovG9GK562hLLKyKyOnJfA9PSaXbZ38h Vo5m0nrSdEYmixM8PGiF93wfG+ek5Z29MgOJgrBa9j+ZUUaPN/PAxPKZyF3o6aYpg45B y096WLmpUZIoM8vfrrPNrDnGss1J+7kjzJzYN1jQq8PdI93dr4mID37W9Hta4C1C5UUy LyrdZfONXGfmthojM2+mMppZ+i0s6ESr5i0xjzqtSNtNm7Rh6i3XMTxB6M2sgva3adJ+ sTZw==; darn=ilbers.de ARC-Authentication-Results: i=2; 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1739173653; x=1739778453; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=LbvQsl3NcNJLLkBVoHqR3XtvoEDESidsJZ70mJylP88=; b=Sljp1SY1TV5PYGV3myscyz5ul2qZbja3BJudujvxqh9rooskkuPYUvIhns6REVQUOF fW9Zr0iRGigCwmolK/yc4cGJ1HuzyukMRzhBvU0M9n+2KcnkpBWWJ6nAiLDNPJ6b20k3 CcLp0v2tscVCnEOCZIZDIPQeaUF5sixM8mYfSNLmROoHutVFWikmFaAEoRqRv0yFrg4S 6CvZus4ZL4DVBlNOegxdSc0xG8gA7Y/4tqFohWPtpkjFHMdy7RF0FQUiEmDFOXxPIn1E UdUS6DdfDTGQ1X5OVQUlHq07xq3ZMwZpoGGgkClXRDKCjcptmS5iMaqLSTCpUaKdflKJ MrUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739173653; x=1739778453; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=LbvQsl3NcNJLLkBVoHqR3XtvoEDESidsJZ70mJylP88=; b=U6BzXP0ft9qDk7MLyzkXrcggTC5cDwBIeYCOJm8KBS6oKl5wI+VncQ4wi3j3bmRdDy gdPgkW5mrS8gCsXU8hBzId9LOCowRyBvsiUwOGUY1dpmZ11kPTfLICozMME16NydTVwQ 5WJlQoO0kCl/NLlgDaB6VcJbdPGz9+lyGoJ1rieC89XUi0OL/U9PbgRM8PUjlj9n2lW+ /s4shABFwEEucCelRdyj+Uhc3Rgc9EjKuRCdCXUdqFMzkw4Xw9A8QtyMQD2WF0C3DMgQ qfTxdUYsx6u2ROz2sZzBfQ0ZubpOaMMAn4sqOwOuM/lQp0F5v3vBOSbyi/y1hQz1il0d Um/w== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCUy10CSgsDzBxfpxbZPcXjjdrN/IYvkQdyDLAWeNJXX8T4/fsRwhAEk4WZmmk/ywvBaFe/T@ilbers.de X-Gm-Message-State: AOJu0YzAhIGU51qFhyMRWy6CSdB1mm9JpjLQa1AQAFvix/n/2a2MahaG 2t9t461tS1XuEKHOfCRT6V5OSAdY6xCEn3zaXAtT8YfOAD4Qy5Yg X-Google-Smtp-Source: AGHT+IFMaI462jx74uSoAmghgLGYsWsDBPRj9O70MR6FG8kZdk8J1EsznUlspwLrurocR35iX2PzCA== X-Received: by 2002:a05:600c:cb:b0:439:441a:3d7e with SMTP id 5b1f17b1804b1-439441a3debmr18132315e9.20.1739173651862; Sun, 09 Feb 2025 23:47:31 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a5d:4e8a:0:b0:38d:c6d2:f27a with SMTP id ffacd0b85a97d-38dc6d2f332ls1014922f8f.0.-pod-prod-01-eu; Sun, 09 Feb 2025 23:47:29 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWziiVHTA60TZrYDEdNtJPy29eOWvFOZxjrzJ4YcbXG6a54ckD0xkFhey8fOcZvOidL11h7e8gin+7C@googlegroups.com X-Received: by 2002:a5d:64c2:0:b0:38d:df05:4d9 with SMTP id ffacd0b85a97d-38ddf050709mr2169016f8f.43.1739173649586; Sun, 09 Feb 2025 23:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739173649; cv=none; d=google.com; s=arc-20240605; b=jBmjS8edbDljwKY1OJaBkfYcRYuoGAluJz6QXnSOfWYGO8Z7yjZbEBjUtMHiHs1rHZ kR75GrBYlHVImaMtdB0h9ONI0HoxfJjVVgk/kkEV0T7I+8yIt5j7B8o8bkvldNNlfYz3 mr/fV9o7TrZInPWkJ3/W5Jyv/3PYCc0eokts1mV/JNDSIp4z+66Plsmk2M7fFPfSHvab 6irwmSrB1mjtviY6gpptqPkFGBQr9boFauje7HFpISnDOWwzKSn+KBACThd5Bp/AMV6I 68egmuw2uik4EWE6HtYEKn+2UOjPT2H3F9husokhkiZgj8HROwALa8pkdVjvX3Mo1rbP L/2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=ImLvCY/Ku7tNLKFM3DmwqXc1CIBbBDltBDUF8r9aYR8=; fh=0u/s2Z+/L826+4YAaSHi/681vP1yH9VXcvRbNRXhieY=; b=QdqDHECotJmp2wn1GfiaTJOpL0FkF76S9gNv0/lRchirjvNdYsu6vHpKsS/Bvthxg9 6DZ+0Zo/1FP958v4mPQ6ggvwTaJK1aqr5sy3Xe/TeqQUwci76AuVRjr9zIP0PaLf+sWJ 4KCb+91deiZjOmz57sSR4q8BJItmeL79ML43rmOHqFwKF5X/56WQHhdT15tb+foycmxX AUQje0aNqt1oBH5+X6poAkQKMKv4q/1SWUUnATmiieetAKXdvvztWH8yDOzfb5UrR52o 7WEPZz9IKswnN6iNd7U9hsIQ309CY7Z5pgCgtQfsHGO7bReyw54qinPgvx/BENL5GXW9 VD1w==; dara=google.com 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 Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-38dcb734033si147136f8f.7.2025.02.09.23.47.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 09 Feb 2025 23:47:29 -0800 (PST) Received-SPF: pass (google.com: domain of amikan@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; 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 51A7lRUl007846 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Feb 2025 08:47:28 +0100 Message-ID: <02c300d5-50ff-4598-ab3d-f7c5ced517a8@ilbers.de> Date: Mon, 10 Feb 2025 09:47:26 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7] dpkg: Restore support for replacing pre-installed packages in sbuild-chroot To: Jan Kiszka , isar-users@googlegroups.com Cc: Uladzimir Bely , Baurzhan Ismagulov References: <20240127074253.24570-1-ubely@ilbers.de> <0dc61862-8da9-4fa0-a5cd-32b3a2f53262@siemens.com> <321e7729-5785-47d3-bfd5-a5c875010945@siemens.com> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: <321e7729-5785-47d3-bfd5-a5c875010945@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_RP_CERTIFIED,RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS 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-Original-Sender: amikan@ilbers.de X-Original-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 Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-TUID: rluEdHufZb9+ 09/02/2025 11:19, Jan Kiszka wrote: > On 07.02.25 16:57, Anton Mikanovich wrote: >> Hello Jan, >> >> It looks like this change creates one more issue. >> Here are simple steps to reproduce: >> >> Prepare test recipe: >> >> $ cat meta-isar/recipes-app/hello/pcre2.bb >> inherit dpkg >> >> SRC_URI =3D "apt://pcre2" >> >> CHANGELOG_V =3D "+isar" >> >> do_prepare_build() { >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 deb_add_changelog >> } >> >> Go to kas shell (qemuamd64 bookworm): >> >> $ kas-container shell >> >> Perform those steps: >> >> builder@b5422048da4a:/build$ bitbake -c local_isarapt cowsay >> builder@b5422048da4a:/build$ bitbake -c build pcre2 >> builder@b5422048da4a:/build$ bitbake -c cleansstate sbuild-chroot-target >> builder@b5422048da4a:/build$ bitbake -c build cowsay > The outcome is expected: local_isarapt is incorrectly run prior to > deploy_deb of pcre2. This won't happen during a normal build when cowsay > DEPENDS on pcre2, though, because of do_local_isarapt[deptask] =3D > "do_deploy_deb". > > Now, if you used ISAR_REBUILD_ESSENTIAL_PKGS in your actual scenario, we > do have problem because your patch 21a05608d85b forgot to adjust > meta/classes/essential.bbclass. I'll send a fix. > > Jan > But cowsay doesn't depend on pcre2, libpcre2 got installed before=20 dependencies installation but during distupgrade stage. So DEPENDS is not an option (or how can we depend on every package?). Probably ISAR_REBUILD_ESSENTIAL_PKGS with your fix will resolve it. Speaking about ISAR_REBUILD_ESSENTIAL_PKGS, we should add a testcase (or=20 better even a real usage in meta-isar/meta-test) for this feature. --=20 You received this message because you are subscribed to the Google Groups "= isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 02c300d5-50ff-4598-ab3d-f7c5ced517a8%40ilbers.de.