From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7062656987288305664 X-Received: by 2002:a05:6512:2609:: with SMTP id bt9mr4482938lfb.616.1644484251146; Thu, 10 Feb 2022 01:10:51 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6512:3b0e:: with SMTP id f14ls2640731lfv.0.gmail; Thu, 10 Feb 2022 01:10:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwa/+U3K54hAmyTA12xT2iiyGIMR2g7kv3RSEAGjIGQDjiCBhbYLA7QHrwy3KEqWZM01Da7 X-Received: by 2002:ac2:4e13:: with SMTP id e19mr4840620lfr.249.1644484249337; Thu, 10 Feb 2022 01:10:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644484249; cv=none; d=google.com; s=arc-20160816; b=JswQ78rF5jC3IKHFvvFelSHQ8fe391+go3OEsYLbpZ48OCUQZTjhqK8arowUR5jIki 83X0Wgy0EptuuayMmEeSMn11iXCHOX/ymd+vm168roahAmJdaGgvSmcjZp/NgkoE1AUi LEamJ9eJTTuUWRA5nIW4FFoTfIU95/iarxRoQnMJNkfwTbKGx7a1+i1DzJWWUZVoPKXl WqF91nD7PNYOSDRialQfFmj85T5wuOWEM+QzcKxPJH6xP6qDlb/pp9sIKYucdF36HPJH vbdY3SefnCx8bDfyqqFq3ZgzL4G4bVjB8HPmXIyU8+ZGnsaaVX4njB05Seb+nVfykfpY lVow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:in-reply-to:organization:from :references:to:content-language:subject:mime-version:date:message-id :dkim-signature; bh=SxRTpOPzVzmL//KpSQjkud5+r4G9smWAWIfxmeXH2JA=; b=QbR9AFq7hUqmK+C3qdM3kA8LJG24WJzm+7iQyVZ5rplkQB4AauPzeZtHzKWLO1zdIP UFuZjQ9L0ZiH8pf/EdIIvCcFx2xBy72OvuwkpXhc6biyC1oITA/01o1ul/oZuKfycdEp ZSizxBpamy3li1An+hrOs9VqUy9aLNB4eW/bSdCugTrPKnMGCZ9XNQpwKcEBcdeXwDZ+ GntlkfnoxP4FvzdfDk0sdIfXe37Wg6YwwM0VO/yMjj7nDRiENBaGikswRkWsEWonFpb4 FOoA5snQatqK0vWrigRbm4zNYleGDPvZm66ct55NXCM/ICdqAOuiYpV0gi4u8e9Imuvl +O0g== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=cEvnuukx; spf=pass (google.com: domain of fm-51332-202202100910480f7e8afb7c989e4144-stnlv3@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-51332-202202100910480f7e8afb7c989e4144-stNLv3@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net. [185.136.64.228]) by gmr-mx.google.com with ESMTPS id a24si1012767lfb.12.2022.02.10.01.10.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Feb 2022 01:10:49 -0800 (PST) Received-SPF: pass (google.com: domain of fm-51332-202202100910480f7e8afb7c989e4144-stnlv3@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) client-ip=185.136.64.228; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=cEvnuukx; spf=pass (google.com: domain of fm-51332-202202100910480f7e8afb7c989e4144-stnlv3@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-51332-202202100910480f7e8afb7c989e4144-stNLv3@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 202202100910480f7e8afb7c989e4144 for ; Thu, 10 Feb 2022 10:10:48 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=quirin.gylstorff@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:References:In-Reply-To; bh=SxRTpOPzVzmL//KpSQjkud5+r4G9smWAWIfxmeXH2JA=; b=cEvnuukxHiA10eS5sbUilWN0GrTFZgwY80Fa40k/6k0nYNkedQ9wQR3wzPXl91pbnXBq8r GldILJjcY7hgwvxgHMuWwPJjnxcg1a4cT+wSMYWO0/6fjhdaYb99ih6ERpGPP7F+QoGTC/FI qvVD8g/ovMX2pJyydCeUDN2WufxzY=; Message-ID: <29092d94-9261-07d6-7ebf-240dbbb435c4@siemens.com> Date: Thu, 10 Feb 2022 10:10:47 +0100 MIME-Version: 1.0 Subject: Re: Question related to Sbuild CLEAN_SOURCE Content-Language: en-US To: Uladzimir Bely , isar-users@googlegroups.com References: <1b5ef299-ec8d-c180-c2b6-505294f5484b@siemens.com> <2591024.vuYhMxLoTh@home> From: quirin.gylstorff@siemens.com Organization: Siemens In-Reply-To: <2591024.vuYhMxLoTh@home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-51332:519-21489:flowmailer X-TUID: 9pQ+VARJDlTi On 2/10/22 09:47, Uladzimir Bely wrote: > In the email from Wednesday, 9 February 2022 18:14:22 +03 user > quirin.gylstorff@siemens.com wrote: >> On 2/9/22 12:52, Baurzhan Ismagulov wrote: >>> On Wed, Feb 09, 2022 at 11:36:09AM +0100, quirin.gylstorff@siemens.com > wrote: >>>>>> - Is there are reason sbuild executes clean outside of the chroot? >>> >>> It would be interesting to hear what kind of issues you had due to that. >> >> If we rebuild a debian package with dpkg-gbp which uses for example >> `dh-lua` (swupdate) the build will fail due to the missing installation >> of dh-lua in the host environment. The solution to this is to install >> dh-* in the build environment. >> >> ``` >> gbp:info: Performing the build >> dpkg-source: info: using patch list from debian/patches/series >> dpkg-source: info: applying use-gcc-compiler.diff >> dh clean --with lua >> dh: error: unable to load addon lua: Can't locate >> Debian/Debhelper/Sequence/lua.pm in @INC (you may need to install the >> Debian::Debhelper::Sequence::lua module) (@INC contains: /etc/perl >> /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 >> /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 >> /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 >> /usr/share/perl/5.32 /usr/local/lib/site_perl) at (eval 13) line 1. >> BEGIN failed--compilation aborted at (eval 13) line 1. >> ``` >> >> You can fix it with documentation but it needs to be addressed. >> >> A project where this can be tested is isar-cip-core with the current >> preintegrated sbuild[1]. >> [1]: https://gitlab.com/Quirin.Gy/isar-cip-core/-/tree/test/sbuild > > Hello. > I've tried this repository (master branch) on my side. > It currently builds OK with Isar revision 33b5aa65 (default mentioned kas- > cip.yml), it works with current isar/next as well. Also, I successfully built > it wth latest isar/ubely/sbuild revision. > > Maybe there are some more specific steps to reproduce the issue you are > talking about that I could try to check on my side? > Ah sorry, you need to add the SWUpdate option to the build. The kas command would be: ``` /kas-container --isar build kas-cip.yml:kas/board/qemu-amd64.yml:kas/opt/ebg-swu.yml ``` or you build SWUpdate from the devshell. Kind regards Quirin