From: Henning Schild <henning.schild@siemens.com>
To: Baurzhan Ismagulov <ibr@radix50.net>
Cc: isar-users@googlegroups.com
Subject: Re: [PATCH 1/2] meta: remove dead code from buildchroot script
Date: Wed, 6 May 2020 17:40:44 +0200 [thread overview]
Message-ID: <20200506174044.1b4cf37f@md1za8fc.ad001.siemens.net> (raw)
In-Reply-To: <20200506085711.hvzfrhkeyfawnepc@yssyq.m.ilbers.de>
Am Wed, 6 May 2020 10:57:11 +0200
schrieb Baurzhan Ismagulov <ibr@radix50.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).
I would conclude that those patches seem to work. We can merge them
later with the fix, but whoever comes up with the fix might want to use
them.
I think if we find a hen-and-egg problem we found a Debian bug and can
lean back after reporting. But that needs further analysis and someone
taking care of the issue and possible involving upstream.
At the moment i will not be able to do that, i just felt i should fix
my code that swallowed the debug output.
Henning
> With kind regards,
> Baurzhan.
>
next prev parent reply other threads:[~2020-05-06 15:40 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
2020-05-06 15:40 ` Henning Schild [this message]
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=20200506174044.1b4cf37f@md1za8fc.ad001.siemens.net \
--to=henning.schild@siemens.com \
--cc=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