public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: isar-users@googlegroups.com
Cc: quirin.gylstorff@siemens.com
Subject: Re: Question related to Sbuild CLEAN_SOURCE
Date: Thu, 10 Feb 2022 11:47:36 +0300	[thread overview]
Message-ID: <2591024.vuYhMxLoTh@home> (raw)
In-Reply-To: <fafc8b96-a362-93a0-85e6-fe180dd1c3b4@siemens.com>

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?

> 
> >>> 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


-- 
Uladzimir Bely




  parent reply	other threads:[~2022-02-10  8:47 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 [this message]
2022-02-10  9:10           ` quirin.gylstorff
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=2591024.vuYhMxLoTh@home \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    --cc=quirin.gylstorff@siemens.com \
    /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