Message ID | 20250215204941.1453502-1-festevam@gmail.com |
---|---|
State | New |
Headers | show |
Series | mtd-utils: Upgrade to 2.3.0 | expand |
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?
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] > -=-=-=-=-=-=-=-=-=-=-=- >
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
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
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"