public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "Maxim Yu. Osipov" <mosipov@ilbers.de>,
	isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] buildchroot: Perform upgrade after build dependency installation
Date: Wed, 30 Jan 2019 14:17:56 +0100	[thread overview]
Message-ID: <ef431f43-bcb0-1efc-2644-d0484ab32584@siemens.com> (raw)
In-Reply-To: <a8cace3b-10b2-d51a-bf79-a17c087cc762@ilbers.de>

On 30.01.19 12:49, Maxim Yu. Osipov wrote:
> On 1/22/19 5:22 PM, Jan Kiszka wrote:
>> From: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> When we partially rebuild after updating the version of a build
>> dependency of another package, we do not properly upgrade that
>> dependency in buildchroot. The reason is that "apt-get install"
>> performs upgrades only for the explicitly listed packages. But we
>> install build dependencies indirectly, we a meta package's dependency.
>>
>> Resolve that be running an explicit "apt-get upgrade" after the
>> build dependency installation. This will ensure pulling the latest
>> versions for isar-apt.
> 
> When ran ci_build.sh -q -f build failed on known problem:
> 
> | The lock file 
> '/workspace/build/isar_mosipov_develop/17/build/downloads/base-apt/db/debian/lockfile' 
> already exists. There might be another instance with the
> | same database dir running. To avoid locking overhead, only one process
> | can access the database at the same time. Do not delete the lock file unless
> | you are sure no other version is still running!
> | There have been errors!
> 
> See log:
> http://isar-build.org:8080/job/isar_mosipov_develop/17/console
> 
> Investigating the problem.

That is what I reported to the list already [1]. Unrelated to this commit, but 
if it helps to reproduce the issue reliably, that would be helpful.

Jan

[1] https://groups.google.com/forum/#!msg/isar-users/ElRP1h_9m9I/rt6yibJuEQAJ

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

  reply	other threads:[~2019-01-30 13:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 16:22 Jan Kiszka
2019-01-22 17:08 ` Henning Schild
2019-01-22 18:19   ` Jan Kiszka
2019-01-23 15:29     ` Henning Schild
2019-01-30 11:49 ` Maxim Yu. Osipov
2019-01-30 13:17   ` Jan Kiszka [this message]
2019-02-05 17:20 ` Maxim Yu. Osipov

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=ef431f43-bcb0-1efc-2644-d0484ab32584@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=isar-users@googlegroups.com \
    --cc=mosipov@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