From: quirin.gylstorff@siemens.com
To: Uladzimir Bely <ubely@ilbers.de>, isar-users@googlegroups.com
Subject: Re: Question related to Sbuild CLEAN_SOURCE
Date: Thu, 10 Feb 2022 10:10:47 +0100 [thread overview]
Message-ID: <29092d94-9261-07d6-7ebf-240dbbb435c4@siemens.com> (raw)
In-Reply-To: <2591024.vuYhMxLoTh@home>
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
next prev parent reply other threads:[~2022-02-10 9:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1b5ef299-ec8d-c180-c2b6-505294f5484b@siemens.com>
[not found] ` <164435326066.1656.13805705968480410488@localhost>
2022-02-09 10:36 ` quirin.gylstorff
2022-02-09 11:52 ` Baurzhan Ismagulov
2022-02-09 15:14 ` quirin.gylstorff
2022-02-09 15:37 ` Jan Kiszka
2022-02-10 9:59 ` Baurzhan Ismagulov
2022-02-10 11:27 ` Jan Kiszka
2022-02-10 12:00 ` Baurzhan Ismagulov
2022-02-10 8:47 ` Uladzimir Bely
2022-02-10 9:10 ` quirin.gylstorff [this message]
2022-02-11 10:54 ` Uladzimir Bely
2022-02-11 11:20 ` Jan Kiszka
2022-02-14 8:54 ` quirin.gylstorff
2022-02-14 9:47 ` Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29092d94-9261-07d6-7ebf-240dbbb435c4@siemens.com \
--to=quirin.gylstorff@siemens.com \
--cc=isar-users@googlegroups.com \
--cc=ubely@ilbers.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox