public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: isar-users@googlegroups.com
Subject: Re: [PATCH 1/2] meta: remove dead code from buildchroot script
Date: Wed, 6 May 2020 10:57:11 +0200	[thread overview]
Message-ID: <20200506085711.hvzfrhkeyfawnepc@yssyq.m.ilbers.de> (raw)
In-Reply-To: <20200505130234.0af1fc06@md1za8fc.ad001.siemens.net>

Hello Henning,

On Tue, May 05, 2020 at 01:02:34PM +0200, Henning Schild wrote:
> The first one is a cleanup. And the second one can hopefully help find
> out why bullseye currently does not build anymore.

Thanks. FWIW, at least some of the output leading to the problem can be seen
here:

http://ci.isar-build.org:8080/job/isar_vs_devel_3_fast/9/consoleFull

The relevant part is:

| + mk-build-deps --host-arch armhf -t 'apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends     -y --allow-downgrades ' -i -r debian/control
| dpkg-buildpackage: info: source package isar-exclude-docs-cross-build-deps
| dpkg-buildpackage: info: source version 0.1
| dpkg-buildpackage: info: source distribution unstable
| dpkg-buildpackage: info: source changed by root <root@baighyz.m.ilbers.de>
| dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable
|  dpkg-source --before-build .
| dpkg-buildpackage: info: host architecture armhf
| dpkg-checkbuilddeps: error: Unmet build dependencies: build-essential:native
| dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
| dpkg-buildpackage: warning: (Use -d flag to override.)
| Error in the build process: exit status 3
| dpkg: error: cannot access archive 'isar-exclude-docs-cross-build-deps_0.1_armhf.deb': No such file or directory
| mk-build-deps: dpkg --unpack failed
| WARNING: exit code 2 from a shell command.
| 
NOTE: recipe isar-exclude-docs-0.1-r0: task do_install_builddeps: Failed

A possible scenario is that the temporary package created by mk-build-deps now
implicitly or explicitly Build-Depends on build-essential:native, which isn't
installed at the time of dpkg-buildpackage. If we can verify this, we could
install the missing Build-Depends before mk-build-deps.

Which would be a hen-and-egg problem, since mk-build-deps has been introduced
to avoid manual parsing of debian/control fields. The ultimate solution could
be to add all packages to isar-apt and apt-get build-deps e.g. libhello-dev. I
don't know whether that could be done today. Meanwhile, I still think that
parsing the fields is a viable option (with the goal to have the solution
upstream).

With kind regards,
Baurzhan.

  reply	other threads:[~2020-05-06  8:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 11:00 Henning Schild
2020-05-05 11:00 ` [PATCH 2/2] meta: make builddep installation verbose Henning Schild
2020-05-05 11:02 ` [PATCH 1/2] meta: remove dead code from buildchroot script Henning Schild
2020-05-06  8:57   ` Baurzhan Ismagulov [this message]
2020-05-06 15:40     ` Henning Schild
2020-05-06 15:43       ` Jan Kiszka
2020-05-06 18:49       ` Baurzhan Ismagulov
2020-05-25 13:47 ` Baurzhan Ismagulov

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=20200506085711.hvzfrhkeyfawnepc@yssyq.m.ilbers.de \
    --to=ibr@radix50.net \
    --cc=isar-users@googlegroups.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