* [OE-core][PATCH] systemd: fix efi dependency
@ 2023-08-07 14:26 Jose Quaresma
0 siblings, 0 replies; 5+ messages in thread
From: Jose Quaresma @ 2023-08-07 14:26 UTC (permalink / raw)
To: openembedded-core; +Cc: Jose Quaresma
Last version of systemd dpends now on pyelftools to build the efi support
but the required tool is the native ones and not the target.
The systemd-boot has the corrected dependencie so fix this in the main recipe.
| Program python3 (jinja2) found: YES (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3) modules: jinja2
| Checking if "32bit build possible" : links: NO
| Program python3 (elftools) found: NO
|
| ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader support requires pyelftools.
|
| A full log can be found at /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
meta/recipes-core/systemd/systemd_254.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_254.bb b/meta/recipes-core/systemd/systemd_254.bb
index ea1a4f02f0..cd2a021da2 100644
--- a/meta/recipes-core/systemd/systemd_254.bb
+++ b/meta/recipes-core/systemd/systemd_254.bb
@@ -142,7 +142,7 @@ PACKAGECONFIG[default-compression-lz4] = "-Dlz4=true -Ddefault-compression=lz4,,
PACKAGECONFIG[default-compression-xz] = "-Dxz=true -Ddefault-compression=xz,,xz"
PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true -Ddefault-compression=zstd,,zstd"
PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
-PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false -Dbootloader=false,python3-pyelftools"
+PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false -Dbootloader=false,python3-pyelftools-native"
PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false"
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [OE-core][PATCH] systemd: fix efi dependency
[not found] <1779200FA9E646B9.10230@lists.openembedded.org>
@ 2023-08-08 23:02 ` Jose Quaresma
2023-08-09 20:25 ` Alexandre Belloni
0 siblings, 1 reply; 5+ messages in thread
From: Jose Quaresma @ 2023-08-08 23:02 UTC (permalink / raw)
To: quaresma.jose; +Cc: openembedded-core, Jose Quaresma
[-- Attachment #1: Type: text/plain, Size: 2600 bytes --]
Ping!
Jose Quaresma via lists.openembedded.org <quaresma.jose=
gmail.com@lists.openembedded.org> escreveu no dia segunda, 7/08/2023 à(s)
15:26:
> Last version of systemd dpends now on pyelftools to build the efi support
> but the required tool is the native ones and not the target.
> The systemd-boot has the corrected dependencie so fix this in the main
> recipe.
>
> | Program python3 (jinja2) found: YES
> (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
> modules: jinja2
> | Checking if "32bit build possible" : links: NO
> | Program python3 (elftools) found: NO
> |
> | ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader
> support requires pyelftools.
> |
> | A full log can be found at
> /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt
>
> Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> ---
> meta/recipes-core/systemd/systemd_254.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_254.bb
> b/meta/recipes-core/systemd/systemd_254.bb
> index ea1a4f02f0..cd2a021da2 100644
> --- a/meta/recipes-core/systemd/systemd_254.bb
> +++ b/meta/recipes-core/systemd/systemd_254.bb
> @@ -142,7 +142,7 @@ PACKAGECONFIG[default-compression-lz4] = "-Dlz4=true
> -Ddefault-compression=lz4,,
> PACKAGECONFIG[default-compression-xz] = "-Dxz=true
> -Ddefault-compression=xz,,xz"
> PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true
> -Ddefault-compression=zstd,,zstd"
> PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
> -PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> -Dbootloader=false,python3-pyelftools"
> +PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> -Dbootloader=false,python3-pyelftools-native"
> PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
> PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
> PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#185603):
> https://lists.openembedded.org/g/openembedded-core/message/185603
> Mute This Topic: https://lists.openembedded.org/mt/100600508/5052612
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> quaresma.jose@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
--
Best regards,
José Quaresma
[-- Attachment #2: Type: text/html, Size: 4119 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core][PATCH] systemd: fix efi dependency
2023-08-08 23:02 ` [OE-core][PATCH] systemd: fix efi dependency Jose Quaresma
@ 2023-08-09 20:25 ` Alexandre Belloni
2023-08-09 20:52 ` Jose Quaresma
0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Belloni @ 2023-08-09 20:25 UTC (permalink / raw)
To: Jose Quaresma; +Cc: openembedded-core, Jose Quaresma
Hello,
On 09/08/2023 00:02:08+0100, Jose Quaresma wrote:
> Ping!
We developed the same patch at the same time, I confirm yours is working
but it was not enough to solve all the systemd v254 related issues. I've
just sent the hopefully last patch to fix the remaining issue.
>
> Jose Quaresma via lists.openembedded.org <quaresma.jose=
> gmail.com@lists.openembedded.org> escreveu no dia segunda, 7/08/2023 �(s)
> 15:26:
>
> > Last version of systemd dpends now on pyelftools to build the efi support
> > but the required tool is the native ones and not the target.
> > The systemd-boot has the corrected dependencie so fix this in the main
> > recipe.
> >
> > | Program python3 (jinja2) found: YES
> > (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
> > modules: jinja2
> > | Checking if "32bit build possible" : links: NO
> > | Program python3 (elftools) found: NO
> > |
> > | ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader
> > support requires pyelftools.
> > |
> > | A full log can be found at
> > /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt
> >
> > Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> > ---
> > meta/recipes-core/systemd/systemd_254.bb | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-core/systemd/systemd_254.bb
> > b/meta/recipes-core/systemd/systemd_254.bb
> > index ea1a4f02f0..cd2a021da2 100644
> > --- a/meta/recipes-core/systemd/systemd_254.bb
> > +++ b/meta/recipes-core/systemd/systemd_254.bb
> > @@ -142,7 +142,7 @@ PACKAGECONFIG[default-compression-lz4] = "-Dlz4=true
> > -Ddefault-compression=lz4,,
> > PACKAGECONFIG[default-compression-xz] = "-Dxz=true
> > -Ddefault-compression=xz,,xz"
> > PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true
> > -Ddefault-compression=zstd,,zstd"
> > PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
> > -PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> > -Dbootloader=false,python3-pyelftools"
> > +PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> > -Dbootloader=false,python3-pyelftools-native"
> > PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
> > PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
> > PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false"
> > --
> > 2.34.1
> >
> >
> >
> >
> >
>
> --
> Best regards,
>
> Jos� Quaresma
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#185679): https://lists.openembedded.org/g/openembedded-core/message/185679
> Mute This Topic: https://lists.openembedded.org/mt/100600508/3617179
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alexandre.belloni@bootlin.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core][PATCH] systemd: fix efi dependency
2023-08-09 20:25 ` Alexandre Belloni
@ 2023-08-09 20:52 ` Jose Quaresma
2023-08-09 22:25 ` Alexandre Belloni
0 siblings, 1 reply; 5+ messages in thread
From: Jose Quaresma @ 2023-08-09 20:52 UTC (permalink / raw)
To: Alexandre Belloni; +Cc: openembedded-core, Jose Quaresma
[-- Attachment #1: Type: text/plain, Size: 3710 bytes --]
Hi Alexandre,
Alexandre Belloni <alexandre.belloni@bootlin.com> escreveu no dia quarta,
9/08/2023 à(s) 21:25:
> Hello,
>
> On 09/08/2023 00:02:08+0100, Jose Quaresma wrote:
> > Ping!
>
> We developed the same patch at the same time, I confirm yours is working
> but it was not enough to solve all the systemd v254 related issues. I've
> just sent the hopefully last patch to fix the remaining issue.
>
Thanks for your support and we hope your wic fix is the last one
for the systemd-boot.
Anyway please note that this patch is not for the systemd-boot but
it is for systemd to fix the build when the efi packageconfig is enabled.
Jose
>
> >
> > Jose Quaresma via lists.openembedded.org <quaresma.jose=
> > gmail.com@lists.openembedded.org> escreveu no dia segunda, 7/08/2023
> à(s)
> > 15:26:
> >
> > > Last version of systemd dpends now on pyelftools to build the efi
> support
> > > but the required tool is the native ones and not the target.
> > > The systemd-boot has the corrected dependencie so fix this in the main
> > > recipe.
> > >
> > > | Program python3 (jinja2) found: YES
> > >
> (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
> > > modules: jinja2
> > > | Checking if "32bit build possible" : links: NO
> > > | Program python3 (elftools) found: NO
> > > |
> > > | ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader
> > > support requires pyelftools.
> > > |
> > > | A full log can be found at
> > >
> /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt
> > >
> > > Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> > > ---
> > > meta/recipes-core/systemd/systemd_254.bb | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/meta/recipes-core/systemd/systemd_254.bb
> > > b/meta/recipes-core/systemd/systemd_254.bb
> > > index ea1a4f02f0..cd2a021da2 100644
> > > --- a/meta/recipes-core/systemd/systemd_254.bb
> > > +++ b/meta/recipes-core/systemd/systemd_254.bb
> > > @@ -142,7 +142,7 @@ PACKAGECONFIG[default-compression-lz4] =
> "-Dlz4=true
> > > -Ddefault-compression=lz4,,
> > > PACKAGECONFIG[default-compression-xz] = "-Dxz=true
> > > -Ddefault-compression=xz,,xz"
> > > PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true
> > > -Ddefault-compression=zstd,,zstd"
> > > PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
> > > -PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> > > -Dbootloader=false,python3-pyelftools"
> > > +PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> > > -Dbootloader=false,python3-pyelftools-native"
> > > PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
> > > PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
> > > PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false"
> > > --
> > > 2.34.1
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Best regards,
> >
> > José Quaresma
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#185679):
> https://lists.openembedded.org/g/openembedded-core/message/185679
> > Mute This Topic: https://lists.openembedded.org/mt/100600508/3617179
> > Group Owner: openembedded-core+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> alexandre.belloni@bootlin.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
--
Best regards,
José Quaresma
[-- Attachment #2: Type: text/html, Size: 6076 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core][PATCH] systemd: fix efi dependency
2023-08-09 20:52 ` Jose Quaresma
@ 2023-08-09 22:25 ` Alexandre Belloni
0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Belloni @ 2023-08-09 22:25 UTC (permalink / raw)
To: Jose Quaresma; +Cc: openembedded-core, Jose Quaresma
On 09/08/2023 21:52:35+0100, Jose Quaresma wrote:
> Hi Alexandre,
>
> Alexandre Belloni <alexandre.belloni@bootlin.com> escreveu no dia quarta,
> 9/08/2023 �(s) 21:25:
>
> > Hello,
> >
> > On 09/08/2023 00:02:08+0100, Jose Quaresma wrote:
> > > Ping!
> >
> > We developed the same patch at the same time, I confirm yours is working
> > but it was not enough to solve all the systemd v254 related issues. I've
> > just sent the hopefully last patch to fix the remaining issue.
> >
>
> Thanks for your support and we hope your wic fix is the last one
> for the systemd-boot.
>
> Anyway please note that this patch is not for the systemd-boot but
> it is for systemd to fix the build when the efi packageconfig is enabled.
>
Ah yes, sorry, I got confused with your other patch. I don't know what
happened with this one. I'm pretty sure I had it in my branch at some
point but it got dropped and I forgot to get it back, thanks for the
reminder, I'll ensure it gets queued.
> Jose
>
>
> >
> > >
> > > Jose Quaresma via lists.openembedded.org <quaresma.jose=
> > > gmail.com@lists.openembedded.org> escreveu no dia segunda, 7/08/2023
> > �(s)
> > > 15:26:
> > >
> > > > Last version of systemd dpends now on pyelftools to build the efi
> > support
> > > > but the required tool is the native ones and not the target.
> > > > The systemd-boot has the corrected dependencie so fix this in the main
> > > > recipe.
> > > >
> > > > | Program python3 (jinja2) found: YES
> > > >
> > (/build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/recipe-sysroot-native/usr/bin/python3-native/python3)
> > > > modules: jinja2
> > > > | Checking if "32bit build possible" : links: NO
> > > > | Program python3 (elftools) found: NO
> > > > |
> > > > | ../git/meson.build:2147:8: ERROR: Problem encountered: EFI bootloader
> > > > support requires pyelftools.
> > > > |
> > > > | A full log can be found at
> > > >
> > /build/tmp-lmp/work/corei7-64-lmp-linux/systemd/1_254-r0/build/meson-logs/meson-log.txt
> > > >
> > > > Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
> > > > ---
> > > > meta/recipes-core/systemd/systemd_254.bb | 2 +-
> > > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/meta/recipes-core/systemd/systemd_254.bb
> > > > b/meta/recipes-core/systemd/systemd_254.bb
> > > > index ea1a4f02f0..cd2a021da2 100644
> > > > --- a/meta/recipes-core/systemd/systemd_254.bb
> > > > +++ b/meta/recipes-core/systemd/systemd_254.bb
> > > > @@ -142,7 +142,7 @@ PACKAGECONFIG[default-compression-lz4] =
> > "-Dlz4=true
> > > > -Ddefault-compression=lz4,,
> > > > PACKAGECONFIG[default-compression-xz] = "-Dxz=true
> > > > -Ddefault-compression=xz,,xz"
> > > > PACKAGECONFIG[default-compression-zstd] = "-Dzstd=true
> > > > -Ddefault-compression=zstd,,zstd"
> > > > PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus"
> > > > -PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> > > > -Dbootloader=false,python3-pyelftools"
> > > > +PACKAGECONFIG[efi] = "-Defi=true -Dbootloader=true,-Defi=false
> > > > -Dbootloader=false,python3-pyelftools-native"
> > > > PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils"
> > > > PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false"
> > > > PACKAGECONFIG[repart] = "-Drepart=true,-Drepart=false"
> > > > --
> > > > 2.34.1
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > Best regards,
> > >
> > > Jos� Quaresma
> >
> > >
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > > Links: You receive all messages sent to this group.
> > > View/Reply Online (#185679):
> > https://lists.openembedded.org/g/openembedded-core/message/185679
> > > Mute This Topic: https://lists.openembedded.org/mt/100600508/3617179
> > > Group Owner: openembedded-core+owner@lists.openembedded.org
> > > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> > alexandre.belloni@bootlin.com]
> > > -=-=-=-=-=-=-=-=-=-=-=-
> > >
> >
> >
> > --
> > Alexandre Belloni, co-owner and COO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://bootlin.com
> >
>
>
> --
> Best regards,
>
> Jos� Quaresma
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-08-09 22:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1779200FA9E646B9.10230@lists.openembedded.org>
2023-08-08 23:02 ` [OE-core][PATCH] systemd: fix efi dependency Jose Quaresma
2023-08-09 20:25 ` Alexandre Belloni
2023-08-09 20:52 ` Jose Quaresma
2023-08-09 22:25 ` Alexandre Belloni
2023-08-07 14:26 Jose Quaresma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox