mtd-utils: Upgrade to 2.3.0
PATCH 1/1 mtd-utils: Upgrade to 2.3.0
From: Fabio Estevam <[email protected]>
Upgrade to mtd-utils 2.3.0.
Details about the 2.3.0 release:
https://lore.kernel.org/linux-mtd/[email protected]/T/#u
---
.../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%)meta/recipes-devtools/mtd/mtd-utils_2.3.0.bb renamed from meta/recipes-devtools/mtd/mtd-utils_2.2.1.bb +1 -1
@@ -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"
Signature · 1 line
2.40.1
Quoted 10 lines · Fabio Estevam via lists.openembedded.org
From: Fabio Estevam <[email protected]>
Upgrade to mtd-utils 2.3.0.
Details about the 2.3.0 release:
https://lore.kernel.org/linux-mtd/[email protected]/T/#u
Signed-off-by Fabio Estevam <[email protected]>---
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?
Signature · 3 lines
Mathieu Dubois-Briand, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 20 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 10 lines · Fabio Estevam via lists.openembedded.org
From: Fabio Estevam <[email protected]>
Upgrade to mtd-utils 2.3.0.
Details about the 2.3.0 release:
https://lore.kernel.org/linux-mtd/[email protected]/T/#u
Signed-off-by Fabio Estevam <[email protected]>---
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
...
Quoted 7 lines
| 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
Quoted 19 lines
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Khem,
Quoted 1 line · Khem Raj
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
Quoted 5 lines · Fabio Estevam
Hi Khem,
On Mon, Feb 17, 2025 at 12:47 PM Khem Raj <[email protected]> wrote:
Quoted 9 lines
Quoted 1 line
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
Quoted 6 lines
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.
Quoted 21 lines
| 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 1Thanks