From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7062656987288305664 X-Received: by 2002:a2e:9f4a:: with SMTP id v10mr1762619ljk.47.1644419667549; Wed, 09 Feb 2022 07:14:27 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:651c:98b:: with SMTP id b11ls417362ljq.7.gmail; Wed, 09 Feb 2022 07:14:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyfOVU8qHppHWbNGfPzwhemGzc0yofpljrLFPKlIiupyNikJsUwsp3ONVJuLL7L7veTPL9j X-Received: by 2002:a2e:a224:: with SMTP id i4mr1820961ljm.177.1644419666520; Wed, 09 Feb 2022 07:14:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644419666; cv=none; d=google.com; s=arc-20160816; b=aYBy0Sjl7xvSX5nyqWQk3yuqbFa5pcqIdQzRlTFLS0ri4l37o5N0vPie/Je3lMFWmv rqiH+h2r8wjrh5TD62N6f5a3FBud+ciC00G92awTAonRQU+p/SK1MIeQ/gLyq4kjNuwj X8pOWbDFQGNKT7ZjTNJhGrQVkErFYqNU2M7H2v7u+thJZu4gRHOPztEVCrPfBLdSXB3f dRORfXhKCwa1VX/CwD8KQRNxuweAkbiarTJLBe+Siw9C8YxtE36XnEW0g4JLGGe4QQEY Qlw+uP4wMEBTuN4B/UfnImHvCdcdJsMnw/aIHH51qco0JMYw8PZl9Wn/wp0XrLlrdzgg K8vQ== 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:subject :organization:from:references:to:content-language:mime-version:date :message-id:dkim-signature; bh=zCLBJZo1zNQqLxUHw+iYfeaCpycFO5G5ujN3eoUsmv0=; b=xe/+Dzlnvt1ZuDGSbwZcYoGiXpiYwSrVm661oGwwIlJfcY6mKf1TeoT1Ex3O9lNdo3 C+0gRYtxrsEG8bkqTjnxkCPvUGB2eBQzMl/E+NXuvx2H4esx9GkGh9manoVx+k1lu9Px vHQUSKYLgmpla0MO9UXINys+NIiLmqDDxYp92YlxS0b142ENnnm8Tb/hPpg8BCEtlpM/ xRQ/8WfP51cnkLYS0ESe/E47jzuRlpcrqFlHkQbXg/FQT/VUquGJmYz5hk9FNDlcf60x xm4hoD7VfEDzazvVNs5TeSzD7hPN32Q7qAm74zGK+87u7Kxc/pcghipa7/DhOVPsQy3a 6dMQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=JVDeTlcc; spf=pass (google.com: domain of fm-51332-202202091514251ff60198e05345fbd5-ikpswx@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-51332-202202091514251ff60198e05345fbd5-iKpSWX@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net. [185.136.64.227]) by gmr-mx.google.com with ESMTPS id g7si98267lfr.7.2022.02.09.07.14.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Feb 2022 07:14:26 -0800 (PST) Received-SPF: pass (google.com: domain of fm-51332-202202091514251ff60198e05345fbd5-ikpswx@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) client-ip=185.136.64.227; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=JVDeTlcc; spf=pass (google.com: domain of fm-51332-202202091514251ff60198e05345fbd5-ikpswx@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-51332-202202091514251ff60198e05345fbd5-iKpSWX@rts-flowmailer.siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 202202091514251ff60198e05345fbd5 for ; Wed, 09 Feb 2022 16:14:25 +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=zCLBJZo1zNQqLxUHw+iYfeaCpycFO5G5ujN3eoUsmv0=; b=JVDeTlccxPBHk8l/eorJMocvOoQA3e44KGV60csPiGRoF4y9GMGZ6gRSZhAoR1jtsUUao3 wFZBgl/qLjUpm8aPZxpq9ZDsSF/NCCkhhUbeAXQWG3Yhov40nQfHtaq4Qq3hXDCJcRFY34D4 J2P63pnVqeaod/hQuIuAACTl2netI=; Message-ID: Date: Wed, 9 Feb 2022 16:14:22 +0100 MIME-Version: 1.0 Content-Language: en-US To: isar-users@googlegroups.com References: <1b5ef299-ec8d-c180-c2b6-505294f5484b@siemens.com> <164435326066.1656.13805705968480410488@localhost> <818250b5-fed8-8ff9-febb-6cbf61e0680f@siemens.com> From: quirin.gylstorff@siemens.com Organization: Siemens Subject: Re: Question related to Sbuild CLEAN_SOURCE In-Reply-To: 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: sRlvG/m2zAxM 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 > >>> But the actual input to sbuild is the source package >>> (the dsc). Don't use sbuild to create a source package. The source package is >>> the input to sbuild. The output of sbuild are binary packages, not source >>> packages. > > It's interesting that he is mentioning it; we are currently performing this > exact split for meta-iot2050. > > > With kind regards, > Baurzhan. Kind regards, Quirin