[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    Re: [OE-core] [PATCH 07/10] opkg-utils/update-alternatives: not warn same priorities for multilib
From:       Richard Purdie <richard.purdie () linuxfoundation ! org>
Date:       2018-09-29 12:40:50
Message-ID: 51d281559eb5f84b6df309e100eccf2034fd3c5a.camel () linuxfoundation ! org
[Download RAW message or body]

On Sat, 2018-09-29 at 13:43 +0800, kai.kang@windriver.com wrote:
> From: Kai Kang <kai.kang@windriver.com>
> 
> update-alternatives is used to handle install file conflicts of
> multilib
> packages in multilib_script.bbclass. And the default priority is used
> for the alternatives which causes QA warning:
> 
> > WARNING: core-image-minimal-1.0-r0 do_rootfs: [log_check] core-
> > image-minimal: found 1 warning message in the logfile
> > [log_check] Warn: update-alternatives: libtool has multiple
> > providers with the same priority, please check
> > .../core-image-minimal/1.0-
> > r0/rootfs/usr/lib/opkg/alternatives/libtool for details
> 
> The same priorities of alternatives are by design, so eliminate the
> warning for alternatives from multilib packages.
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>

Sorry, no, this isn't right either :(

If we read the patch where multilib_scripts were introduced:

http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e3497cc22b969e02efa54e4e54e087dbb91d8ced

it says "standardisation amongst the multilibs on how the alternatives
are named and prioritiesd. The priotitisation code needs to be added
but this change means there is somewhere to add it."

so the intent was to allow the user to define which multilib should be
the higher priority and add in some prioritisation code.

The correct way to fix these warning is to add such code, allowing the
user to specify the order of priorities of the multilibs.

Cheers,

Richard


-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic