From: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
To: "Moessbauer, Felix" <felix.moessbauer@siemens.com>
Cc: "ubely@ilbers.de" <ubely@ilbers.de>,
"isar-users@googlegroups.com" <isar-users@googlegroups.com>,
"Bezdeka, Florian" <florian.bezdeka@siemens.com>,
"ibr@radix50.net" <ibr@radix50.net>,
"Schild, Henning" <henning.schild@siemens.com>
Subject: Re: Better way to handle apt cache needed
Date: Fri, 30 Dec 2022 09:27:19 +0100 [thread overview]
Message-ID: <CAJGKYO4+qBgSL_XY6zm_jDSma95=EN6BxZRRZPeNKeHZz53GxA@mail.gmail.com> (raw)
In-Reply-To: <95542c23ea3bd00e31898fc1080854c58e41a8b2.camel@siemens.com>
On Fri, 30 Dec 2022 at 07:05, Moessbauer, Felix
<felix.moessbauer@siemens.com> wrote:
>
> On Fri, 2022-12-30 at 00:15 +0100, Roberto A. Foglietta wrote:
> > Hi all,
> >
> > I did some changes to reduce disk usage and to speed up the building.
> > The results are quite impressing so, before everything else I am
> > going
> > to show you the numbers:
> >
> > results before and after the changes
> >
> > 43954 Mb (max) | 8657 Mb (max)
> > 26548 Mb (rest) | 4118 Mb (rest)
> > 3741 Mb (deb) | 3741 Mb (deb)
> > 820 Mb (wic) | 820 Mb (wic)
> > 11789 Mb (cache) | 579 Mb (cache)
> > time: 8m33s | time: 4m34s
> >
> > The changes has been committed on the default branch (evo) on my ISAR
> > fork
> >
> > https://github.com/robang74/isar
> >
> > * 9fd5282 - changes for a faster build using less disk space, p.1
>
> Hi Roberto,
>
> I tested your patches. In general, the implemented pattern looks good
> and also result in significantly shorter build times on virtual file
> systems.
>
> But I discovered some issues on partial rebuilds. Example:
> | ln: will not overwrite just-created '/build/tmp/deploy/buildchroot-
> target/debian-bullseye-amd64/var/cache/apt/archives/libnet-ssleay-
> perl_1.88-3+b1_arm64.deb' with '/build/downloads/deb/debian-
> bullseye/libnet-ssleay-perl_1.88-3+b1_arm64.deb'
>
> This happens in the do_install_npm in the npm class of meta-iot2050
> [1].
> It could also be an issue with an older sstate cache artifact, or
> related to the specific implementation in the NPM class.
> Needs further investigation.
>
> [1]
> https://github.com/siemens/meta-iot2050/blob/master/classes/npm.bbclass#L105
Hi Felix, try als with the 2nd part which do not force overwriting of
exporting packages
281bcdd - changes for a faster build using less disk space, p.2
I got this error in building the iot2050 project as proposed in README.md:
./kas-container build kas-iot2050-example.yml:kas/opt/sdk.yml
ERROR: python-absl-0.15.0-2-r0 do_fetch: Fetcher failure: Recipe uses
a floating tag/branch without a fixed SRCREV yet doesn't call
bb.fetch2.get_srcrev() (use SRCPV in PV for OE).
ERROR: Logfile of failure stored in:
/build/tmp/work/iot2050-debian-arm64/python-absl/0.15.0-2-r0/temp/log.do_fetch.746
ERROR: Task (/build/../work/meta-coral/recipes-python/python-absl/python-absl_0.15.0-2.bb:do_fetch)
failed with exit code '1'
The only change that I make, is to use my ISAR and obviously I
converted the syntax to the new bitbake 2.0
Best regards, R-
next prev parent reply other threads:[~2022-12-30 8:27 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-28 9:02 Moessbauer, Felix
2022-12-28 9:21 ` Baurzhan Ismagulov
2022-12-28 9:45 ` Moessbauer, Felix
2022-12-28 10:23 ` Uladzimir Bely
2022-12-28 11:04 ` Moessbauer, Felix
2022-12-29 23:15 ` Roberto A. Foglietta
2022-12-30 4:38 ` Uladzimir Bely
2022-12-30 7:08 ` Roberto A. Foglietta
2022-12-30 6:05 ` Moessbauer, Felix
2022-12-30 8:27 ` Roberto A. Foglietta [this message]
2022-12-30 10:04 ` Moessbauer, Felix
2022-12-30 13:11 ` Moessbauer, Felix
2022-12-30 13:33 ` Roberto A. Foglietta
2022-12-30 13:47 ` Roberto A. Foglietta
2022-12-31 8:59 ` Roberto A. Foglietta
2022-12-31 21:03 ` Roberto A. Foglietta
2023-01-09 8:12 ` Roberto A. Foglietta
2023-01-09 9:58 ` Roberto A. Foglietta
2023-01-19 18:08 ` Roberto A. Foglietta
2023-01-25 4:48 ` Roberto A. Foglietta
2023-02-10 16:05 ` Roberto A. Foglietta
2023-02-14 10:01 ` Roberto A. Foglietta
2023-02-14 16:46 ` Roberto A. Foglietta
2022-12-30 12:29 ` Roberto A. Foglietta
2022-12-28 9:22 ` Florian Bezdeka
2023-01-02 16:15 ` Henning Schild
2023-01-05 6:31 ` Uladzimir Bely
2023-01-05 17:10 ` Roberto A. Foglietta
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='CAJGKYO4+qBgSL_XY6zm_jDSma95=EN6BxZRRZPeNKeHZz53GxA@mail.gmail.com' \
--to=roberto.foglietta@gmail.com \
--cc=felix.moessbauer@siemens.com \
--cc=florian.bezdeka@siemens.com \
--cc=henning.schild@siemens.com \
--cc=ibr@radix50.net \
--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