From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Peter Kjellerstedt <peter.kjellerstedt@axis.com>,
Alexander Kanavin <alexander.kanavin@linux.intel.com>
Cc: "openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: RSS-related problem after update to OE-Core with dnf
Date: Wed, 15 Mar 2017 21:54:04 +0000 [thread overview]
Message-ID: <1489614844.13980.77.camel@linuxfoundation.org> (raw)
In-Reply-To: <373dcecc935f454eb93d1fa97a7f9e36@XBOX02.axis.com>
On Wed, 2017-03-15 at 09:29 +0000, Peter Kjellerstedt wrote:
> I update my Poky to the latest on master yesterday (i.e., I went
> from
> a version using smart to one using dnf) and when I rebuilt my image
> I
> got the following error:
> [...]
> I.e., it is trying to link a MIPS library with an x86_64 one...
>
> After I did a "bitbake libsolv -c cleansstate", the problem went
> away,
> and checking the log.do_compile afterwards it seems it is not even
> trying to link with librpmdb.so at all any more.
>
> My guess is that the librpmdb.so (which was a link to librpmdb-
> 5.4.so)
> was a leftover from before the switch from smart to dnf. However,
> the
> fact that it remained in ${WORKDIR}/recipe-sysroot-native AND that
> it
> was picked up by the build indicates both a problem with the
> determinism of RSS, and the with the build of libsolv itself.
FWIW I have read this and it is a concern. Unfortunately RSS is just
that, *recipe* specific, not task specific and therefore as I mentioned
in the original commits, it can't be perfect as it doesn't know
anything about the dependencies of other tasks this recipe may have and
which may be running in parallel.
I'm contiuing to see if there are better ways we can ensure stale
things get removed from the sysroots but its a hard problem due to the
parallelism. I do have some ideas though.
Distilling an easy to reproduce test case would help if someone has the
time.
Cheers,
Richard
prev parent reply other threads:[~2017-03-15 21:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-15 9:29 RSS-related problem after update to OE-Core with dnf Peter Kjellerstedt
2017-03-15 21:54 ` Richard Purdie [this message]
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=1489614844.13980.77.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=alexander.kanavin@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.kjellerstedt@axis.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