On Fri, 7 Jun 2024 at 07:45, Khem Raj <raj.k...@gmail.com> wrote: > > fails on riscv as well see > > https://errors.yoctoproject.org/Errors/Details/785949/
https://lore.kernel.org/openembedded-core/20240607072252.1732005-1-dmitry.barysh...@linaro.org > > On Thu, May 30, 2024 at 9:53 AM Dmitry Baryshkov <dbarysh...@gmail.com> wrote: > > > > On Thu, 30 May 2024 at 18:10, Khem Raj <raj.k...@gmail.com> wrote: > > > > > > fails to build. > > > https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3893/steps/14/logs/stdio > > > > So, compiling to the host architecture works (bitbake > > cabextract-native works), but cross-compiling to the host architecture > > doesn't seem to work; > > > > | > > /usr/src/debug/cabextract/1.11/src/cabextract.c:499:(.text.startup+0x103d): > > undefined reference to `rpl_fnmatch' > > > > This should be fixed by > > https://lore.kernel.org/openembedded-core/20240530164355.3294714-1-dmitry.barysh...@linaro.org/ > > > > > > > > > > > > On Wed, May 29, 2024 at 2:02 AM Dmitry Baryshkov via > > > lists.openembedded.org <dbaryshkov=gmail....@lists.openembedded.org> > > > wrote: > > > > > > > > WoA firmware, fonts and some other useful files are being distributed as > > > > a Microsoft cabinet files. Add recipes for the cabextract utility, which > > > > is used to extract such files. > > > > > > > > Cabextract can either use a bundled source tree for libmspack library or > > > > an externally provided library. Package the library separately in order > > > > to be able to share it with the meta-security layer. > > > > > > > > Cc: Armin Kuster <akuster...@gmail.com> > > > > Signed-off-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org> > > > > --- > > > > .../cabextract/cabextract_1.11.bb | 18 ++++++++++++++++++ > > > > .../cabextract/libmspack_0.11alpha.bb | 16 ++++++++++++++++ > > > > 2 files changed, 34 insertions(+) > > > > create mode 100644 > > > > meta-oe/recipes-support/cabextract/cabextract_1.11.bb > > > > create mode 100644 > > > > meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb > > > > > > > > diff --git a/meta-oe/recipes-support/cabextract/cabextract_1.11.bb > > > > b/meta-oe/recipes-support/cabextract/cabextract_1.11.bb > > > > new file mode 100644 > > > > index 000000000000..4d035eeee4b0 > > > > --- /dev/null > > > > +++ b/meta-oe/recipes-support/cabextract/cabextract_1.11.bb > > > > @@ -0,0 +1,18 @@ > > > > +SUMMARY = "Software for extracting Microsoft cabinet files" > > > > +DESCRIPTION = "tool for extracting Microsoft cabinet files" > > > > +HOMEPAGE = "http://www.cabextract.org.uk/" > > > > +SECTION = "console/utils" > > > > + > > > > +LICENSE = "GPL-3.0-or-later" > > > > +LIC_FILES_CHKSUM = > > > > "file://src/cabextract.c;beginline=4;endline=11;md5=b0a10c6d3843f262114e7ecf91fc7e78" > > > > + > > > > +SRC_URI = "https://www.cabextract.org.uk/cabextract-${PV}.tar.gz" > > > > +SRC_URI[sha256sum] = > > > > "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6" > > > > + > > > > +DEPENDS = "libmspack" > > > > + > > > > +EXTRA_OECONF = "--with-external-libmspack" > > > > + > > > > +inherit autotools pkgconfig > > > > + > > > > +BBCLASSEXTEND += "native nativesdk" > > > > diff --git a/meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb > > > > b/meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb > > > > new file mode 100644 > > > > index 000000000000..169a5f271be9 > > > > --- /dev/null > > > > +++ b/meta-oe/recipes-support/cabextract/libmspack_0.11alpha.bb > > > > @@ -0,0 +1,16 @@ > > > > +SUMMARY = "A library for Microsoft compression formats" > > > > +DESCRIPTION = "The library provides compressors and decompressors,\ > > > > +archivers and dearchivers for Microsoft compression formats: CAB, CHM, > > > > WIM,\ > > > > +LIT, HLP, KWAJ and SZDD." > > > > +HOMEPAGE = "http://www.cabextract.org.uk/libmspack/" > > > > +SECTION = "lib" > > > > +LICENSE = "LGPL-2.1-only" > > > > + > > > > +LIC_FILES_CHKSUM = > > > > "file://COPYING.LIB;md5=7fbc338309ac38fefcd64b04bb903e34" > > > > + > > > > +SRC_URI = > > > > "https://www.cabextract.org.uk/libmspack/libmspack-${PV}.tar.gz" > > > > +SRC_URI[sha256sum] = > > > > "70dd1fb2f0aecc36791b71a1e1840e62173079eadaa081192d1c323a0eeea21b" > > > > + > > > > +inherit autotools > > > > + > > > > +BBCLASSEXTEND += "native nativesdk" > > > > -- > > > > 2.39.2 > > > > > > > > > > > > > > > > > > > > > > > > -- > > With best wishes > > Dmitry -- With best wishes Dmitry
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#110761): https://lists.openembedded.org/g/openembedded-devel/message/110761 Mute This Topic: https://lists.openembedded.org/mt/106365503/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-