* [PATCH] mtd-utils: Upgrade to 2.3.0
@ 2025-02-15 20:49 Fabio Estevam
2025-02-17 9:11 ` [OE-core] " Mathieu Dubois-Briand
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2025-02-15 20:49 UTC (permalink / raw)
To: openembedded-core; +Cc: Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
Upgrade to mtd-utils 2.3.0.
Details about the 2.3.0 release:
https://lore.kernel.org/linux-mtd/1b7a55a6-1c5b-4e86-8006-e2010e54367e@sigma-star.at/T/#u
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
.../mtd/{mtd-utils_2.2.1.bb => mtd-utils_2.3.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-devtools/mtd/{mtd-utils_2.2.1.bb => mtd-utils_2.3.0.bb} (98%)
diff --git a/meta/recipes-devtools/mtd/mtd-utils_2.2.1.bb b/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb
similarity index 98%
rename from meta/recipes-devtools/mtd/mtd-utils_2.2.1.bb
rename to meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb
index 5ab5f6c729..e27a8b0a17 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_2.2.1.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb
@@ -11,7 +11,7 @@ inherit autotools pkgconfig update-alternatives
DEPENDS = "zlib e2fsprogs util-linux"
RDEPENDS:mtd-utils-tests += "bash"
-SRCREV = "13ec33609213c1dbd75852a09560a707a7f19a5c"
+SRCREV = "4594fc1f4496a0ed55cabd31fbeba4e3fbf05602"
SRC_URI = "git://git.infradead.org/mtd-utils.git;branch=master"
S = "${WORKDIR}/git"
--
2.40.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] mtd-utils: Upgrade to 2.3.0
2025-02-15 20:49 [PATCH] mtd-utils: Upgrade to 2.3.0 Fabio Estevam
@ 2025-02-17 9:11 ` Mathieu Dubois-Briand
2025-02-17 15:46 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Mathieu Dubois-Briand @ 2025-02-17 9:11 UTC (permalink / raw)
To: festevam, openembedded-core; +Cc: Fabio Estevam
On Sat Feb 15, 2025 at 9:49 PM CET, Fabio Estevam via lists.openembedded.org wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> Upgrade to mtd-utils 2.3.0.
>
> Details about the 2.3.0 release:
>
> https://lore.kernel.org/linux-mtd/1b7a55a6-1c5b-4e86-8006-e2010e54367e@sigma-star.at/T/#u
>
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> ---
Hi Fabio,
Thanks for your patch. However, I believe this is breaking some builds
on the autobuilder, with the following error:
ERROR: mtd-utils-2.3.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/mtd-utils/2.3.0/temp/run.do_compile.2425952' failed with exit code 1
...
| In file included from ../git/ubifs-utils/common/bitops.c:7:
| ../git/ubifs-utils/common/defs.h:16:10: fatal error: execinfo.h: No such file or directory
| 16 | #include <execinfo.h>
| | ^~~~~~~~~~~~
| compilation terminated.
| make: *** [Makefile:4822: ubifs-utils/common/mkfs_ubifs-bitops.o] Error 1
| ERROR: oe_runmake failed
https://autobuilder.yoctoproject.org/valkyrie/?#/builders/3/builds/1045/steps/12/logs/stdio
Can you have a look at this issue please?
--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] mtd-utils: Upgrade to 2.3.0
2025-02-17 9:11 ` [OE-core] " Mathieu Dubois-Briand
@ 2025-02-17 15:46 ` Khem Raj
2025-02-17 17:30 ` Fabio Estevam
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2025-02-17 15:46 UTC (permalink / raw)
To: mathieu.dubois-briand; +Cc: festevam, openembedded-core, Fabio Estevam
On Mon, Feb 17, 2025 at 1:11 AM Mathieu Dubois-Briand via
lists.openembedded.org
<mathieu.dubois-briand=bootlin.com@lists.openembedded.org> wrote:
>
> On Sat Feb 15, 2025 at 9:49 PM CET, Fabio Estevam via lists.openembedded.org wrote:
> > From: Fabio Estevam <festevam@denx.de>
> >
> > Upgrade to mtd-utils 2.3.0.
> >
> > Details about the 2.3.0 release:
> >
> > https://lore.kernel.org/linux-mtd/1b7a55a6-1c5b-4e86-8006-e2010e54367e@sigma-star.at/T/#u
> >
> > Signed-off-by: Fabio Estevam <festevam@denx.de>
> > ---
>
> Hi Fabio,
>
> Thanks for your patch. However, I believe this is breaking some builds
> on the autobuilder, with the following error:
>
> ERROR: mtd-utils-2.3.0-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/musl-qemux86-64/build/build/tmp/work/core2-64-poky-linux-musl/mtd-utils/2.3.0/temp/run.do_compile.2425952' failed with exit code 1
> ...
> | In file included from ../git/ubifs-utils/common/bitops.c:7:
> | ../git/ubifs-utils/common/defs.h:16:10: fatal error: execinfo.h: No such file or directory
> | 16 | #include <execinfo.h>
> | | ^~~~~~~~~~~~
> | compilation terminated.
> | make: *** [Makefile:4822: ubifs-utils/common/mkfs_ubifs-bitops.o] Error 1
> | ERROR: oe_runmake failed
you need to DEPEND on libexecinfo for musl and also add -lexecinfo to LDFLAGS
>
> https://autobuilder.yoctoproject.org/valkyrie/?#/builders/3/builds/1045/steps/12/logs/stdio
>
> Can you have a look at this issue please?
>
> --
> Mathieu Dubois-Briand, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#211535): https://lists.openembedded.org/g/openembedded-core/message/211535
> Mute This Topic: https://lists.openembedded.org/mt/111205949/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] mtd-utils: Upgrade to 2.3.0
2025-02-17 15:46 ` Khem Raj
@ 2025-02-17 17:30 ` Fabio Estevam
2025-02-17 18:23 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2025-02-17 17:30 UTC (permalink / raw)
To: Khem Raj; +Cc: mathieu.dubois-briand, openembedded-core, Fabio Estevam
Hi Khem,
On Mon, Feb 17, 2025 at 12:47 PM Khem Raj <raj.khem@gmail.com> wrote:
> you need to DEPEND on libexecinfo for musl and also add -lexecinfo to LDFLAGS
I appreciate your suggestion.
To make your suggestion work, I locally copied the libexecinfo recipe
from meta-oe to one-core.
Is it acceptable to move the libexecinfo recipe from meta-oe to one-core?
One more error needs to be fixed:
| In file included from ../git/ubifs-utils/common/defs.h:18,
| from ../git/ubifs-utils/common/bitops.c:7:
| ../git/ubifs-utils/libubifs/ubifs.h:313:9: error: unknown type name
'loff_t'; did you mean 'off_t'?
| 313 | loff_t ui_size;
| | ^~~~~~
| | off_t
| ../git/ubifs-utils/libubifs/ubifs.h:1341:9: error: unknown type name
'loff_t'; did you mean 'off_t'?
| 1341 | loff_t i_size;
| | ^~~~~~
| | off_t
| ../git/ubifs-utils/libubifs/ubifs.h:1342:9: error: unknown type name
'loff_t'; did you mean 'off_t'?
| 1342 | loff_t d_size;
| | ^~~~~~
| | off_t
| ../git/ubifs-utils/libubifs/ubifs.h:1899:44: error: unknown type
name 'loff_t'; did you mean 'off_t'?
| 1899 | int deletion, loff_t new_size);
| | ^~~~~~
| | off_t
| make: *** [Makefile:4822: ubifs-utils/common/mkfs_ubifs-bitops.o] Error 1
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [OE-core] [PATCH] mtd-utils: Upgrade to 2.3.0
2025-02-17 17:30 ` Fabio Estevam
@ 2025-02-17 18:23 ` Khem Raj
0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2025-02-17 18:23 UTC (permalink / raw)
To: Fabio Estevam; +Cc: mathieu.dubois-briand, openembedded-core, Fabio Estevam
On Mon, Feb 17, 2025 at 9:31 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Khem,
>
> On Mon, Feb 17, 2025 at 12:47 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> > you need to DEPEND on libexecinfo for musl and also add -lexecinfo to LDFLAGS
>
> I appreciate your suggestion.
>
> To make your suggestion work, I locally copied the libexecinfo recipe
> from meta-oe to one-core.
>
> Is it acceptable to move the libexecinfo recipe from meta-oe to one-core?
>
I think it makes sense perhaps add it to recipe-core/musl in oe-core
> One more error needs to be fixed:
>
> | In file included from ../git/ubifs-utils/common/defs.h:18,
> | from ../git/ubifs-utils/common/bitops.c:7:
> | ../git/ubifs-utils/libubifs/ubifs.h:313:9: error: unknown type name
> 'loff_t'; did you mean 'off_t'?
yeah you need to include fcntl.h and add -D_GNU_SOURCE in the compiler
commandline.
> | 313 | loff_t ui_size;
> | | ^~~~~~
> | | off_t
> | ../git/ubifs-utils/libubifs/ubifs.h:1341:9: error: unknown type name
> 'loff_t'; did you mean 'off_t'?
> | 1341 | loff_t i_size;
> | | ^~~~~~
> | | off_t
> | ../git/ubifs-utils/libubifs/ubifs.h:1342:9: error: unknown type name
> 'loff_t'; did you mean 'off_t'?
> | 1342 | loff_t d_size;
> | | ^~~~~~
> | | off_t
> | ../git/ubifs-utils/libubifs/ubifs.h:1899:44: error: unknown type
> name 'loff_t'; did you mean 'off_t'?
> | 1899 | int deletion, loff_t new_size);
> | | ^~~~~~
> | | off_t
> | make: *** [Makefile:4822: ubifs-utils/common/mkfs_ubifs-bitops.o] Error 1
>
> Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-02-17 18:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-15 20:49 [PATCH] mtd-utils: Upgrade to 2.3.0 Fabio Estevam
2025-02-17 9:11 ` [OE-core] " Mathieu Dubois-Briand
2025-02-17 15:46 ` Khem Raj
2025-02-17 17:30 ` Fabio Estevam
2025-02-17 18:23 ` Khem Raj
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox