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, 25 May 2026 13:12:57 +0200 X-Sieve: CMU Sieve 2.4 Received: from mail-ed1-f58.google.com (mail-ed1-f58.google.com [209.85.208.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 64PBCv8u019276 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 25 May 2026 13:12:57 +0200 Received: by mail-ed1-f58.google.com with SMTP id 4fb4d7f45d1cf-6889b2a4afcsf2132312a12.0 for ; Mon, 25 May 2026 04:12:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1779707572; cv=pass; d=google.com; s=arc-20240605; b=bKca8IHaJdjj9Bm0aXfe95b0/7Xh0qfPDABulEzosJAayq4OkJEl+ADqJR6mEwFBHg 8Bb8ZDLR9FAdZt0xA/kv1xWX9dtReMZxqGYh04Z0kEFoDl7uQM2o0VyznJv7G4a/oP58 MCtvX/t6s18oNb3RMw8JPV94MS7+R995gbe5fr2VI5SsSK2SiLZASsg77LQA1jutVkEz jufvET3fenXXQ7nwTT+g0GWsD1/nrvWD772tzUq8L37+MNl64twF2kOdmm5FpehEk9wf TmCVGJVr2VIUbytBK1svIJJ8vXQTz1R6xEKystw/iyL1rjtW6sw55sBnmakxtbk/t/3+ F4UQ== 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:to:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=94Vci701DyEIZyEWWbOOhoVhvlO4HSIvgJ9V8l3kbtk=; fh=gPV/+DqTMMDl++oadH5UUAWCoWqvpt2pUQHsdAG1jgQ=; b=QAy/4gDeBA+EeII+gB+VCCqqoED3r4FrZzbp8BAY4ea1+dkiIo0LkZLfzswDD5+aPq LfrxnvwPaH6VObisSTRgt14DB/SXo8mwnvHM94XYutAORaMDl3SNn0RrF/MJPk7oR9sh V2OcDecaM00Bxzg7DK7q3N2RvdOMc3lwtLTOqdtL44mDcm4AChBhbjrQfLLftnizfmlt FUvvaz0znidw7EbGw+L5FOF62ffXeTHhG/MRrbmAMGM5pfYuecWbQgUO0XDCWXH0HNiC YtH4L0z0ScL+lKGHEPRrck4AHrlYaWr/GyZSB+87G3/GqCaW+FJp8+PAJSWQlKF2o0fs iFHQ==; 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=20251104; t=1779707571; x=1780312371; 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:to:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=94Vci701DyEIZyEWWbOOhoVhvlO4HSIvgJ9V8l3kbtk=; b=m1jK9loJowdQJT+RvcXOiF9+WRWL/v3baIcNr6y7YkRf4wLtaxk8EkhD8n1ncPA1bB lXL0SEC+PuxgpcZNIsh+zhbJrzi5GYKEMq6z+LrmlieWY1bNqMRu4Yo8HR9JpF/twQoN VVYh9K2HT3zEHasrCXHImSaD8TCoHuSIDyh0dkfrxGj84+mZKmjZLcFbMh6AF9wdvlMF HzSl5DPJWE0llTJWdKLXjsUGAecjtLRIW1e6jfRrVAjUEEkqDmowSVQqwFPQveaoBosl nRFcnDxToQn4+wlP/goS5qkkyaSMpYhRvUiKBf0M+R9HuhMHl3qrQBgvFKrEzvwwpbS2 n+wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779707571; x=1780312371; 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: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=94Vci701DyEIZyEWWbOOhoVhvlO4HSIvgJ9V8l3kbtk=; b=S8u77BrSQDDAAtwY+LbkNlngW7MKZX/N+fmJaGSWmp+kAcekGs8enbyx6FEaa9FJnR dqXr27yyfdCg90OlY4N1h/UV8tmq/ezr+8r6TCuhShlB3nR6cDRbEqQ+RPU2kwci7I7J 5nGsIxP7b0R62VUzun4rIdTci7hUo2urR+88nUWT/h6T8RYVCXU2HdWMbkwG88UwljJr TstlnY5v+z0Gpobi9mRrcjCerJTTERqjYggxhWP/tKT0krAptzOCkKl2P/rntv+zZF+0 pYqJ13fe/PVlsLbhLgK+GpYsIGw7fMAg4OGjPGY3NA0xiEP13sbJVaLCdkpsbyGr5qaf THZw== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AFNElJ/MVtO2l+s5L8sH145d7DLfPnDZEKu3YXar7pKR7OG1xpl11ZsMXcSp5PmlckRh2cdB8V9b@ilbers.de X-Gm-Message-State: AOJu0Yy6UJhqEsnmhT2EoOBuNOw+ty96/2CGdovTHIbg9Bl/K8UC16vb vhEOMdpvMDEX27i4b9UZGvWd80mf0xOtquZWET8dgIk7nJJsz4pcOxfB X-Received: by 2002:a05:6402:1f86:b0:689:971b:7439 with SMTP id 4fb4d7f45d1cf-689971b76c2mr1861478a12.12.1779707571325; Mon, 25 May 2026 04:12:51 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="AUV6zMOkVs/g1yCrcFizqy/tT3INR3uXMFuSYZdO+KaNmpKnXg==" Received: by 2002:aa7:c30b:0:b0:684:db25:2d59 with SMTP id 4fb4d7f45d1cf-684db25309dls8470012a12.0.-pod-prod-02-eu; Mon, 25 May 2026 04:12:48 -0700 (PDT) X-Forwarded-Encrypted: i=2; AFNElJ8NTUNkZwwe9WeMZTt2FFWm8cC+30MLT2z3pPD8F0pSH2DqYAmjklbY1WoENeZ18KT8IBeZsTakYDpA@googlegroups.com X-Received: by 2002:a17:907:2d06:b0:bd8:fc1b:5e63 with SMTP id a640c23a62f3a-bdd261db4b8mr851586366b.34.1779707568395; Mon, 25 May 2026 04:12:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779707568; cv=none; d=google.com; s=arc-20240605; b=O/B1J5/wV/bmPczam/ce7PZLWFQ7KO2H8MibDtxwm3E9iNkRRpZui9w9jdgKQwMpN0 V8XhyZ3UXZeoeIM4/4bjdJwfpMlw63QXLUTHdsLtpEPFjVcbyMHx0VZ7/1B91s6KvBQH 3eCSz78F65amZSWIwrvxA8D3q6bYBIDWX9TErchNf9LpA9qRHtkK2vCsLWtW0aO8nV+t NPxzgsUuxyGPaCJxfGvC1HhElMKsqrRmPIPKzJ9pVx4ixNRsHv1TjbFFEME7M4MIhUP7 0+9ht3dgTVto51/kEtX9yNAqh3aCcw9bxeccpGArfCUj6YPN8toYJQS7lVFddvbSgLXl /izQ== 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:to:subject:user-agent:mime-version:date:message-id; bh=O9CzMdsgAuDMFrnyPLzYJl0kRF4QlH/rgscqGdQy6E8=; fh=CgGN1jyD88BqfP/yEY7ASX/PriEZkUuP/dB+BAPYfsg=; b=P4P92pKfDnB8MwmoxNZXzBqDQjxh6doue1/TuF6n/+ri55lakW4SyRhIqOZydSZpaJ JSQs6wlXl4WxRHmPyciwlTeRfGuqrZM6px2s7vOMbdYrvUUqMeMXmnidz64FhmDVu1pz lJyLpiY9ZFHpEfEEa7/ZGauRXuCGoC6VcNjg5Mql7k7jcjUlVnO5evdFSQ2osfQfpQ6n yzN7essEldgJtf28+qXTdFvdGa9CzhChLnR0Rj8wpGV2Pw1XiDjieQVwgrTQEG51LN92 8YnK9IzgBct3/G5dv+fslM2zkXNaTbFos+Dcwj2AEnVuI/B2ArkJUbZXCT8jClkh8Tde g2YA==; 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 a640c23a62f3a-bddc719f84fsi18115666b.4.2026.05.25.04.12.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 May 2026 04:12:48 -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; 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 64PBCkSr019270 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 May 2026 13:12:47 +0200 Message-ID: <6afb07b3-9670-4872-811b-c7096c527e54@ilbers.de> Date: Mon, 25 May 2026 14:12:46 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bug report: cache-deb-src fails with 'debsrc_undo_mounts: not found' on isar v1.1 To: Amaia Gomez , "isar-users@googlegroups.com" References: <86f710f342514234b8d7eab2c97bdbba@spc015.packaging.ulma.es> Content-Language: en-US, ru-RU From: Anton Mikanovich In-Reply-To: <86f710f342514234b8d7eab2c97bdbba@spc015.packaging.ulma.es> 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: /VVheC3VDITi Hello Amaia, 21.05.2026 13:42, 'Amaia Gomez' via isar-users wrote: > > Hello isar-users, > > I am trying to use the cache-deb-src feature to cache upstream Debian=20 > source packages for long-term reproducibility. I am running isar v1.1=20 > (commit cc5a5d98) on Debian 13 (Trixie) amd64, building an image for=20 > an Intel Elkhart Lake (x86_64) target with Debian Trixie. > > Configuration in local.conf: > > =C2=A0 BASE_REPO_FEATURES =3D "cache-deb-src" > > The build fails with: > > =C2=A0 ERROR: No packages were found in apt cache > > =C2=A0 run.do_cache_deb_src: debsrc_undo_mounts: not found > > =C2=A0 WARNING: exit code 127 from a shell command. > > I found two issues: > > 1. The function 'debsrc_undo_mounts' is called in=20 > meta/classes-recipe/deb-dl-dir.bbclass (line ~150) when the apt cache=20 > is empty, but this function is not defined anywhere in the isar=20 > codebase. This causes exit code 127 (command not found). > > 2. Even with ROOTFS_FEATURES:remove =3D "clean-package-cache", the=20 > function rootfs_export_package_cache executes BEFORE=20 > rootfs_install_pkgs_install in the ROOTFS_INSTALL_COMMAND sequence.=20 > This means the apt cache is still empty when the export runs, because=20 > the packages have not been downloaded yet. > > The execution order observed in the log is: > > =C2=A0 rootfs_export_package_cache=C2=A0 (cache is empty at this point) > > =C2=A0 rootfs_install_clean_files > > =C2=A0 rootfs_install_pkgs_install=C2=A0 (packages are downloaded here) > Are you sure that actual packages download (not just install) is happened during rootfs_install_pkgs_install() call? Here is how pootfs packages installation is happened in Isar: 1) Packages got resolved and downloaded in=20 rootfs_install_pkgs_download(), but nothing got installed on that stage. Here=20 ${ROOTFSDIR}/var/cache/apt/archives should be populated. 2) Already filled ${ROOTFSDIR}/var/cache/apt/archives got exported to the external DL_DIR, so they can be reused on the next build. 3) Packages (already downloaded on stage 1) are actually installed into the rootfs in rootfs_install_pkgs_install() function. No deb downloading=20 should be done here. 4) Apt cache in rootfs got cleaned in=20 rootfs_postprocess_clean_package_cache() if "clean-package-cache" rootfs feature is enabled. Just rechecked it on cc5a5d98 and it still work like it should. Did you have any changes in ROOTFS_POSTPROCESS_COMMAND commands in your=20 layer? Anyway "cache-deb-src" has no effect here, because it only enables source (not binary) packages obtaining. > > Is there a workaround available? Is this a known issue? > > Thank you, > > Amaia Gomez > > > =09 > =09 > =09 > =09 > > http://www.ulmapackaging.com/imag/signature/logo_ulma.jpg > > =09 > > =09 > > *AMAIA GOMEZ *=C2=A0| T=C3=A9cnico/a de Desarrollo - Electr=C3=B3nico/a > *ULMA Packaging**Headquarters* > Barrio Garibai 28, 20560 O=C3=91ATI (Gipuzkoa) > agomez@ulmapackaging.com =C2=A0|=20 > *Tel.:*+34 943 034205 # 3035 > *ulmapackaging.com * > > > =09 > =09 > =09 > =09 > =09 > =09 > =09 > > http://www.ulmapackaging.com/imag/signature/youtube.jpg=20 > http://www.ulma= packaging.com/imag/signature/linkedin.jpg=20 > http://www.ulmapackaging= .com/imag/signature/maps.jpg=20 > > > =09 > =09 > =09 > =09 > =09 > > =09 > =09 > =09 > =09 > =09 > =09 > =09 > =09 > > http://www.ulmapackaging.com/imag/signature/hq/banner1.png=20 > > > =09 > =09 > > http://www.ulmapackaging.com/imag/signature/hq/banner2.png=20 > > > =09 > =09 > > http://www.ulmapackaging.com/imag/signature/hq/banner3.png=20 > > > Mezu hau, eta hala bada, eransitako fitxategiak konfidentzialak dira,=20 > bereziki datu pertsonalei dagokienez, eta zehaztu den=20 > hartzailearentzat dira bakarrik. Zu ez bazara hartzailea eta nahi gabe=20 > jaso baduzu, edo beste arrazoi batengatik bere berri izan baduzu, bide=20 > honetatik guri jakinarazteko eta mezua suntsitzeko edo ezabatzeko=20 > eskatzen dizugu. Aldi berean, inondik inora, mezu hau eta erantsitako=20 > fitxategiak ez erabiltzeko, ez erreproduzitzeko, ez aldatzeko, ez=20 > artxibatzeko edo ez beste inori helerazteko eskatzen dizugu, hori=20 > guztia erantzunkizun legalak sor daitezkeela jakitun. Igorleak ez du=20 > bermatzen posta honen integritatea, azkartasuna edo segurtasuna, eta=20 > ez ditu bere arduratzat hartzen beste inork egindako atzemate, birus=20 > kutsatze eta beste edozein manipulaziotik eratorritako balizko kalteak. > Este mensaje y, en su caso, los ficheros anexos son confidenciales,=20 > especialmente en lo que respecta a los datos personales, y se dirigen=20 > exclusivamente al destinatario referenciado. Si usted no lo es y lo ha=20 > recibido por error o tiene conocimiento del mismo por cualquier=20 > motivo, le rogamos que nos lo comunique por este medio y proceda a=20 > destruirlo o borrarlo, y que en todo caso se abstenga de utilizar,=20 > reproducir, alterar, archivar o comunicar a terceros el presente=20 > mensaje y ficheros anexos, todo ello bajo pena de incurrir en=20 > responsabilidades legales. El emisor no garantiza la integridad,=20 > rapidez o seguridad del presente correo, ni se responsabiliza de=20 > posibles perjuicios derivados de la captura, incorporaciones de virus=20 > o cualesquiera otras manipulaciones efectuadas por terceros. > This message and any attached files transmitted with it, is=20 > confidential, especially as regards personal data and originals ideas.=20 > It is intended solely for the use of the individual or entity to whom=20 > it is addressed. If you are not the intended recipient and have=20 > received this information in error or have accessed it for any reason,=20 > please notify us of this fact by email reply and then destroy or=20 > delete the message, refraining from any reproduction, use, alteration,=20 > filing or communication to third parties of this message and attached=20 > files on penalty of incurring legal responsibilities. The sender does=20 > not guarantee the integrity, the accuracy, the swift delivery or the=20 > security of this email transmission, and assumes no responsibility for=20 > any possible damage incurred through data capture, virus incorporation=20 > or any manipulation carried out by third parties. > > --=20 > You received this message because you are subscribed to the Google=20 > Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send=20 > an email to isar-users+unsubscribe@googlegroups.com. > To view this discussion visit=20 > https://groups.google.com/d/msgid/isar-users/86f710f342514234b8d7eab2c97b= dbba%40spc015.packaging.ulma.es=20 > . --=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/= 6afb07b3-9670-4872-811b-c7096c527e54%40ilbers.de.