From: "Stefano Babic" <sbabic@denx.de>
To: Paul Barker <pbarker@konsulko.com>, Adrian Bunk <bunk@stusta.de>
Cc: Steve Sakoman <steve@sakoman.com>,
openembedded-core <openembedded-core@lists.openembedded.org>,
Marek Vasut <marex@denx.de>, Stefano Babic <sbabic@denx.de>
Subject: Re: [OE-core][dunfell 09/17] libubootenv: Depend on zlib
Date: Tue, 26 May 2020 11:07:00 +0200 [thread overview]
Message-ID: <8d101a43-0795-2d0e-2abf-1098292ecb4b@denx.de> (raw)
In-Reply-To: <CAM9ZRVsmbfB4YzFa_kOdt-+QocRGz=uMjP0iw2a-5MMVJhaFrg@mail.gmail.com>
On 26.05.20 10:57, Paul Barker wrote:
> On Tue, 26 May 2020 at 09:56, Adrian Bunk <bunk@stusta.de> wrote:
>>
>> On Tue, May 26, 2020 at 09:24:59AM +0100, Paul Barker wrote:
>>> On Mon, 25 May 2020 at 23:37, Steve Sakoman <steve@sakoman.com> wrote:
>>>>
>>>> From: Marek Vasut <marex@denx.de>
>>>>
>>>> The libubootenv depends on zlib as it calls at least crc32() from
>>>> there and links against it. Add the DEPENDS entry.
>>>>
>>>> Signed-off-by: Marek Vasut <marex@denx.de>
>>>> Cc: Stefano Babic <sbabic@denx.de>
>>>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>>>> Signed-off-by: Steve Sakoman <steve@sakoman.com>
>>>> (cherry picked from commit db513f9ec59b7ac526b2cdc42b0eb2573e134bc4)
>>>> Signed-off-by: Steve Sakoman <steve@sakoman.com>
>>>> ---
>>>> meta/recipes-bsp/u-boot/libubootenv_0.2.bb | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/meta/recipes-bsp/u-boot/libubootenv_0.2.bb b/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
>>>> index 3251d0f05b..fa90a12bf8 100644
>>>> --- a/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
>>>> +++ b/meta/recipes-bsp/u-boot/libubootenv_0.2.bb
>>>> @@ -1,5 +1,5 @@
>>>> SUMMARY = "U-Boot libraries and tools to access environment"
>>>> -DEPENDS += "mtd-utils"
>>>> +DEPENDS += "mtd-utils zlib"
>>>>
>>>> DESCRIPTION = "This package contains tools and libraries to read \
>>>> and modify U-Boot environment. \
>>>> --
>>>> 2.17.1
>>>
>>> Is this actually needed for the u-boot version in dunfell? My
>>> understanding when I saw the original patch was that this is a new
>>> requirement of the latest u-boot.
>>
>> libubootenv (not u-boot) uses zlib also in dunfell,
>> and a direct dependency looks correct to me.
>>
>> I assume the breaking case involves a layer shipping an own mtd-utils
>> recipe that does not pull in zlib.
>
Yes, it is exactly the case. dunfell builds without issues
libubootenv-bin (fw_setenv / fw_printenv). Users of library have
doscovered the issue because they have not zlib in their own recipe.
> Thanks for the confirmation, I understand now. Looks good for dunfell.
>
Regards,
Stefano
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================
next prev parent reply other threads:[~2020-05-26 9:07 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 22:36 [OE-core][dunfell 00/17] Patch review Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 01/17] gcr: depends on gnupg-native Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 02/17] bison: fix the parallel build Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 03/17] archiver.bbclass: Make do_deploy_archives a recursive dependency Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 04/17] python3-setuptools: add the missing rdepends Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 05/17] recipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 06/17] recipes-kernel/linux-firmware: Add adreno-a630 firmware package Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 07/17] linux-firmware: Update to 20200122 -> 20200421 Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 08/17] make-mod-scripts: Fix dependence error Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 09/17] libubootenv: Depend on zlib Steve Sakoman
2020-05-26 8:24 ` Paul Barker
2020-05-26 8:56 ` Adrian Bunk
2020-05-26 8:57 ` Paul Barker
2020-05-26 9:07 ` Stefano Babic [this message]
2020-05-25 22:36 ` [OE-core][dunfell 10/17] qemu: fix CVE-2020-11869 Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 11/17] base/insane: Check pkgs lics are subset of recipe lics only once Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 12/17] testresults.json: add duration of the tests as well Steve Sakoman
2020-05-25 22:36 ` [OE-core][dunfell 13/17] file: add bzip2-replacement-native to DEPENDS to fix sstate issue Steve Sakoman
2020-05-25 22:37 ` [OE-core][dunfell 14/17] newlib: Upgrade to latest yearly release 3.3.0 Steve Sakoman
2020-05-26 8:31 ` Paul Barker
2020-05-26 13:59 ` Steve Sakoman
2020-05-25 22:37 ` [OE-core][dunfell 15/17] git: Upgrade 2.24.1 -> 2.24.3 Steve Sakoman
2020-05-25 22:37 ` [OE-core][dunfell 16/17] wireless-regdb: Upgrade 2019.06.03 -> 2020.04.29 Steve Sakoman
2020-05-25 22:37 ` [OE-core][dunfell 17/17] avahi: Don't advertise example services by default Steve Sakoman
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=8d101a43-0795-2d0e-2abf-1098292ecb4b@denx.de \
--to=sbabic@denx.de \
--cc=bunk@stusta.de \
--cc=marex@denx.de \
--cc=openembedded-core@lists.openembedded.org \
--cc=pbarker@konsulko.com \
--cc=steve@sakoman.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