diff mbox series

[meta-multimedia] libebml: upgrade 1.3.0 -> 1.4.4

Message ID 20231112131355.189550-1-alperyasinak1@gmail.com
State Accepted
Headers show
Series [meta-multimedia] libebml: upgrade 1.3.0 -> 1.4.4 | expand

Commit Message

Alper Ak Nov. 12, 2023, 1:13 p.m. UTC
Changelog:

https://github.com/Matroska-Org/libebml/blob/master/NEWS.md

Signed-off-by: alperak <alperyasinak1@gmail.com>
---
 .../recipes-mkv/libebml/libebml/ldflags.patch | 57 ------------------
 .../libebml/libebml/override-uname.patch      | 42 -------------
 .../recipes-mkv/libebml/libebml_1.3.0.bb      | 59 -------------------
 .../recipes-mkv/libebml/libebml_1.4.4.bb      | 15 +++++
 4 files changed, 15 insertions(+), 158 deletions(-)
 delete mode 100644 meta-multimedia/recipes-mkv/libebml/libebml/ldflags.patch
 delete mode 100644 meta-multimedia/recipes-mkv/libebml/libebml/override-uname.patch
 delete mode 100644 meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
 create mode 100644 meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb

Comments

Alper Ak Nov. 12, 2023, 1:20 p.m. UTC | #1
Old patches are no longer needed. In addition,  build system changed makefile to CMakelist.txt.
Khem Raj Nov. 13, 2023, 6:33 p.m. UTC | #2
On Sun, 12 Nov 2023 16:13:55 +0300, alperak wrote:
> Changelog:
> 
> https://github.com/Matroska-Org/libebml/blob/master/NEWS.md
> 
> 

Applied, thanks!

[1/1] libebml: upgrade 1.3.0 -> 1.4.4
      commit: 7d1a0cd654ecaa68e27e09666744901e21b775a9

Best regards,
Martin Jansa Nov. 14, 2023, 2:51 p.m. UTC | #3
This seems to break gerbera build (I haven't looked further, just noticed
this as new failure in world builds):

FAILED: gerbera
: &&
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++
--sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot
-m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong
 -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
-Werror=return-type
 --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot
 -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
 -fvisibility-inlines-hidden  -m64 -march=core2 -mtune=core2 -msse3
-mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security -Werror=return-type
 --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot
 -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
 -fvisibility-inlines-hidden  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-fcanon-prefix-map
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
 -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
-fcanon-prefix-map
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
 -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
 -Wl,-z,relro,-z,now CMakeFiles/gerbera.dir/src/main.cc.o -o gerbera
 liblibgerbera.a  -latomic
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libuuid.so
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libupnp.so
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libixml.so
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libspdlog.so.1.12.0
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libfmt.so.10.1.0
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libpugixml.so
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libsqlite3.so
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libnsl.so
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libcurl.so
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libebml.a
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a
 TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libz.so
&& :
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxBlockData.cpp.o):
warning: relocation against `_ZTVN7libebml12EbmlSIntegerE' in read-only
section `.text'
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
in function `libmatroska::KaxReferenceVirtual::KaxReferenceVirtual()':
/usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:174:(.text+0xda5):
undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
in function `libmatroska::KaxDiscardPadding::KaxDiscardPadding()':
/usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:176:(.text+0xde5):
undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
in function `libmatroska::KaxTrackOffset::KaxTrackOffset()':
/usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:280:(.text+0x11e7):
undefined reference to `libebml::EbmlSInteger::EbmlSInteger(long)'
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
in function `libebml::EbmlSInteger::~EbmlSInteger()':
/usr/include/ebml/EbmlSInteger.h:54:(.text._ZN11libmatroska17KaxDiscardPaddingD2Ev[_ZN11libmatroska17KaxDiscardPaddingD5Ev]+0x3):
undefined reference to `vtable for libebml::EbmlSInteger'
...

On Mon, Nov 13, 2023 at 7:34 PM Khem Raj <raj.khem@gmail.com> wrote:

>
> On Sun, 12 Nov 2023 16:13:55 +0300, alperak wrote:
> > Changelog:
> >
> > https://github.com/Matroska-Org/libebml/blob/master/NEWS.md
> >
> >
>
> Applied, thanks!
>
> [1/1] libebml: upgrade 1.3.0 -> 1.4.4
>       commit: 7d1a0cd654ecaa68e27e09666744901e21b775a9
>
> Best regards,
> --
> Khem Raj <raj.khem@gmail.com>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#106660):
> https://lists.openembedded.org/g/openembedded-devel/message/106660
> Mute This Topic: https://lists.openembedded.org/mt/102541696/3617156
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> martin.jansa@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Khem Raj Nov. 14, 2023, 6:36 p.m. UTC | #4
interesting, did not fail for yoe CI world build, but then it uses
clang and here I see you are using g++ so maybe something to look
into. Thanks for report.

On Tue, Nov 14, 2023 at 6:51 AM Martin Jansa <martin.jansa@gmail.com> wrote:
>
> This seems to break gerbera build (I haven't looked further, just noticed this as new failure in world builds):
>
> FAILED: gerbera
> : && TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++ --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type  --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=  -fvisibility-inlines-hidden  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type  --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=  -fvisibility-inlines-hidden  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=  -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=  -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=  -Wl,-z,relro,-z,now CMakeFiles/gerbera.dir/src/main.cc.o -o gerbera  liblibgerbera.a  -latomic  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libuuid.so  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libupnp.so  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libixml.so  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libspdlog.so.1.12.0  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libfmt.so.10.1.0  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libpugixml.so  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libsqlite3.so  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libnsl.so  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libcurl.so  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libebml.a  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a  TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libz.so && :
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld: TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxBlockData.cpp.o): warning: relocation against `_ZTVN7libebml12EbmlSIntegerE' in read-only section `.text'
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld: TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o): in function `libmatroska::KaxReferenceVirtual::KaxReferenceVirtual()':
> /usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:174:(.text+0xda5): undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld: TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o): in function `libmatroska::KaxDiscardPadding::KaxDiscardPadding()':
> /usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:176:(.text+0xde5): undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld: TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o): in function `libmatroska::KaxTrackOffset::KaxTrackOffset()':
> /usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:280:(.text+0x11e7): undefined reference to `libebml::EbmlSInteger::EbmlSInteger(long)'
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld: TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o): in function `libebml::EbmlSInteger::~EbmlSInteger()':
> /usr/include/ebml/EbmlSInteger.h:54:(.text._ZN11libmatroska17KaxDiscardPaddingD2Ev[_ZN11libmatroska17KaxDiscardPaddingD5Ev]+0x3): undefined reference to `vtable for libebml::EbmlSInteger'
> ...
>
> On Mon, Nov 13, 2023 at 7:34 PM Khem Raj <raj.khem@gmail.com> wrote:
>>
>>
>> On Sun, 12 Nov 2023 16:13:55 +0300, alperak wrote:
>> > Changelog:
>> >
>> > https://github.com/Matroska-Org/libebml/blob/master/NEWS.md
>> >
>> >
>>
>> Applied, thanks!
>>
>> [1/1] libebml: upgrade 1.3.0 -> 1.4.4
>>       commit: 7d1a0cd654ecaa68e27e09666744901e21b775a9
>>
>> Best regards,
>> --
>> Khem Raj <raj.khem@gmail.com>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#106660): https://lists.openembedded.org/g/openembedded-devel/message/106660
>> Mute This Topic: https://lists.openembedded.org/mt/102541696/3617156
>> Group Owner: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [martin.jansa@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
Martin Jansa Nov. 15, 2023, 10:21 a.m. UTC | #5
Full log with nodistro build:
http://errors.yoctoproject.org/Errors/Details/742478/

if I revert this libebml upgrade and libmatroska upgrade (which depends on
newer libebml), then gerbera builds again.

On Tue, Nov 14, 2023 at 7:37 PM Khem Raj <raj.khem@gmail.com> wrote:

> interesting, did not fail for yoe CI world build, but then it uses
> clang and here I see you are using g++ so maybe something to look
> into. Thanks for report.
>
> On Tue, Nov 14, 2023 at 6:51 AM Martin Jansa <martin.jansa@gmail.com>
> wrote:
> >
> > This seems to break gerbera build (I haven't looked further, just
> noticed this as new failure in world builds):
> >
> > FAILED: gerbera
> > : &&
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-g++
> --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot
> -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse
> -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat
> -Wformat-security -Werror=format-security -Werror=return-type
> --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot
> -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
> -fvisibility-inlines-hidden  -m64 -march=core2 -mtune=core2 -msse3
> -mfpmath=sse -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat
> -Wformat-security -Werror=format-security -Werror=return-type
> --sysroot=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot
> -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
> -fvisibility-inlines-hidden  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
> -fcanon-prefix-map
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
> -Wl,-z,relro,-z,now -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
> -fcanon-prefix-map
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/git=/usr/src/debug/gerbera/1.12.1-r0
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/build=/usr/src/debug/gerbera/1.12.1-r0
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fmacro-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot=
> -fdebug-prefix-map=TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native=
> -Wl,-z,relro,-z,now CMakeFiles/gerbera.dir/src/main.cc.o -o gerbera
> liblibgerbera.a  -latomic
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libuuid.so
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libupnp.so
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libixml.so
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libspdlog.so.1.12.0
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libfmt.so.10.1.0
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libpugixml.so
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libsqlite3.so
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libnsl.so
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libcurl.so
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libebml.a
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libz.so
> && :
> >
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxBlockData.cpp.o):
> warning: relocation against `_ZTVN7libebml12EbmlSIntegerE' in read-only
> section `.text'
> >
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
> in function `libmatroska::KaxReferenceVirtual::KaxReferenceVirtual()':
> >
> /usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:174:(.text+0xda5):
> undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'
> >
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
> in function `libmatroska::KaxDiscardPadding::KaxDiscardPadding()':
> >
> /usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:176:(.text+0xde5):
> undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'
> >
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
> in function `libmatroska::KaxTrackOffset::KaxTrackOffset()':
> >
> /usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:280:(.text+0x11e7):
> undefined reference to `libebml::EbmlSInteger::EbmlSInteger(long)'
> >
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/13.2.0/ld:
> TOPDIR/BUILD/work/qemux86_64-oe-linux/gerbera/1.12.1/recipe-sysroot/usr/lib/libmatroska.a(KaxSemantic.cpp.o):
> in function `libebml::EbmlSInteger::~EbmlSInteger()':
> >
> /usr/include/ebml/EbmlSInteger.h:54:(.text._ZN11libmatroska17KaxDiscardPaddingD2Ev[_ZN11libmatroska17KaxDiscardPaddingD5Ev]+0x3):
> undefined reference to `vtable for libebml::EbmlSInteger'
> > ...
> >
> > On Mon, Nov 13, 2023 at 7:34 PM Khem Raj <raj.khem@gmail.com> wrote:
> >>
> >>
> >> On Sun, 12 Nov 2023 16:13:55 +0300, alperak wrote:
> >> > Changelog:
> >> >
> >> > https://github.com/Matroska-Org/libebml/blob/master/NEWS.md
> >> >
> >> >
> >>
> >> Applied, thanks!
> >>
> >> [1/1] libebml: upgrade 1.3.0 -> 1.4.4
> >>       commit: 7d1a0cd654ecaa68e27e09666744901e21b775a9
> >>
> >> Best regards,
> >> --
> >> Khem Raj <raj.khem@gmail.com>
> >>
> >>
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >> Links: You receive all messages sent to this group.
> >> View/Reply Online (#106660):
> https://lists.openembedded.org/g/openembedded-devel/message/106660
> >> Mute This Topic: https://lists.openembedded.org/mt/102541696/3617156
> >> Group Owner: openembedded-devel+owner@lists.openembedded.org
> >> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
> [martin.jansa@gmail.com]
> >> -=-=-=-=-=-=-=-=-=-=-=-
> >>
>
Hains van den Bosch Nov. 15, 2023, 11:10 a.m. UTC | #6
Uncomment:

EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON" libebml_1.4.4.

https://git.openembedded.org/meta-openembedded/tree/meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb#n14

Did for me the trick to fix build Gerbera.
Martin Jansa Nov. 15, 2023, 11:26 a.m. UTC | #7
On Wed, Nov 15, 2023 at 12:10 PM Hains van den Bosch <hvdbosch@cybercomm.nl>
wrote:

> Uncomment:
>
> EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON"
>
> libebml_1.4.4.
>
>
> https://git.openembedded.org/meta-openembedded/tree/meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb#n14
>
> Did for me the trick to fix build Gerbera.


Can you send a patch with that?

I don't know why it was commented out during the upgrade and I don't use
neither libebml, libmatroska nor gerbera (other than them being included in
world builds).
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-mkv/libebml/libebml/ldflags.patch b/meta-multimedia/recipes-mkv/libebml/libebml/ldflags.patch
deleted file mode 100644
index a01c7544b..000000000
--- a/meta-multimedia/recipes-mkv/libebml/libebml/ldflags.patch
+++ /dev/null
@@ -1,57 +0,0 @@ 
-Use LD and obey LDFLAGS
-
-Signed-off-by: Christopher Larson <chris_larson@mentor.com>
-Upstream-Status: Pending
-
-diff --git a/make/linux/Makefile b/make/linux/Makefile
-index 391b6e3..a2ac13e 100644
---- a/make/linux/Makefile
-+++ b/make/linux/Makefile
-@@ -64,6 +64,7 @@ objects_so:=$(patsubst %$(EXTENSION),%.lo,$(sources))
- WARNINGFLAGS=-Wall -Wextra -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow
- COMPILEFLAGS=$(WARNINGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DEBUGFLAGS) $(INCLUDE)
- DEPENDFLAGS  = $(CXXFLAGS) $(INCLUDE)
-+LINKFLAGS=$(LDFLAGS)
-
- ifeq (Darwin,$(shell uname -s))
- all: staticlib
-@@ -91,7 +92,7 @@ $(LIBRARY): $(objects)
-	$(RANLIB) $@
-
- $(LIBRARY_SO): $(objects_so)
--	$(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
-+	$(LD) $(LINKFLAGS) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
-	rm -f $(LIBRARY_SO)
-	ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
-
-diff --git a/make/mingw32/Makefile b/make/mingw32/Makefile
-index e5986ef..6ca16aa 100644
---- a/make/mingw32/Makefile
-+++ b/make/mingw32/Makefile
-@@ -18,6 +18,7 @@ DEBUGFLAGS=-g -DDEBUG
- endif
- CROSS   =
- CXX     = $(CROSS)g++
-+LD      = $(CXX)
- CC      = $(CROSS)gcc
- WINDRES = $(CROSS)windres
- RANLIB  = $(CROSS)ranlib
-@@ -33,6 +34,7 @@ LIBS = libebml.a
- endif
- INCS = -I"$(shell pwd)/../.."
- COMPILEFLAGS = $(DEBUGFLAGS) $(INCS) $(DLLFLAGS) $(CXXFLAGS)
-+LINKFLAGS = $(LDFLAGS)
-
- .PHONY: all all-before all-after clean clean-custom
-
-@@ -54,7 +56,7 @@ libebml.a: $(OBJ)
-	$(RANLIB) $@
-
- libebml.dll: $(OBJ)
--	$(CXX) -shared -Wl,--export-all -Wl,--out-implib=$@.a -o $@ $(OBJ)
-+	$(LD) $(LINKFLAGS) -shared -Wl,--export-all -Wl,--out-implib=$@.a -o $@ $(OBJ)
-
- depend:
-	@echo Calculating dependecies:
---
-2.8.0
diff --git a/meta-multimedia/recipes-mkv/libebml/libebml/override-uname.patch b/meta-multimedia/recipes-mkv/libebml/libebml/override-uname.patch
deleted file mode 100644
index 57eb3450d..000000000
--- a/meta-multimedia/recipes-mkv/libebml/libebml/override-uname.patch
+++ /dev/null
@@ -1,42 +0,0 @@ 
-Allow override of the 'uname -s' for cross-compilation
-
-Signed-off-by: Christopher Larson <chris_larson@mentor.com>
-Upstream-Status: Pending
-
-diff --git a/make/linux/Makefile b/make/linux/Makefile
-index a2ac13e..4188bee 100644
---- a/make/linux/Makefile
-+++ b/make/linux/Makefile
-@@ -9,9 +9,11 @@
- # 'make DEBUG=yes'.
- #
-
-+TARGET_OS ?= $(shell uname -s)
-+
- # Paths
- # BeOS wants the libs and headers in /boot/home/config
--ifeq (BeOS,$(shell uname -s))
-+ifeq (BeOS,$(TARGET_OS))
- prefix=/boot/home/config
- else
- prefix=/usr/local
-@@ -66,7 +68,7 @@ COMPILEFLAGS=$(WARNINGFLAGS) $(CXXFLAGS) $(CPPFLAGS) $(DEBUGFLAGS) $(INCLUDE)
- DEPENDFLAGS  = $(CXXFLAGS) $(INCLUDE)
- LINKFLAGS=$(LDFLAGS)
-
--ifeq (Darwin,$(shell uname -s))
-+ifeq (Darwin,$(TARGET_OS))
- all: staticlib
- else
- all: staticlib sharedlib
-@@ -116,7 +118,7 @@ depend:
-		$(CXX) $(DEPENDFLAGS) -MM -MT $$o $$i >> .depend ; \
-	done
-
--ifeq (Darwin,$(shell uname -s))
-+ifeq (Darwin,$(TARGET_OS))
- install: install_staticlib install_headers
- else
- install: install_staticlib install_sharedlib install_headers
---
-2.8.0
diff --git a/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb b/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
deleted file mode 100644
index 744486fa2..000000000
--- a/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
+++ /dev/null
@@ -1,59 +0,0 @@ 
-SUMMARY = "libebml is a C++ libary to parse EBML files"
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=7fbc338309ac38fefcd64b04bb903e34"
-
-SRC_URI = "\
-    http://dl.matroska.org/downloads/libebml/libebml-${PV}.tar.bz2 \
-    file://ldflags.patch \
-    file://override-uname.patch \
-"
-SRC_URI[md5sum] = "efec729bf5a51e649e1d9d1f61c0ae7a"
-SRC_URI[sha256sum] = "83b074d6b62715aa0080406ea84d33df2e44b5d874096640233a4db49b8096de"
-
-inherit dos2unix
-
-LIBEBML_OS = "Unknown"
-LIBEBML_OS_linux = "Linux"
-LIBEBML_OS:darwin = "Darwin"
-LIBEBML_OS:mingw32 = "Windows"
-
-EXTRA_OEMAKE = "\
-    'TARGET_OS=${LIBEBML_OS}' \
-    \
-    'CXX=${CXX}' \
-    'LD=${CXX}' \
-    'AR=${AR}' \
-    'RANLIB=${RANLIB}' \
-    \
-    'DEBUGFLAGS=' \
-    'CPPFLAGS=${CPPFLAGS}' \
-    'CXXFLAGS=${CXXFLAGS}' \
-    'LDFLAGS=${LDFLAGS}' \
-    \
-    'prefix=${prefix}' \
-    'libdir=${libdir}' \
-    'includedir=${includedir}/ebml' \
-"
-
-do_compile () {
-    oe_runmake -C make/linux
-}
-
-do_install() {
-    cd ${S}/make/linux
-
-    install -d ${D}${libdir}
-    install -m 0644 libebml.a ${D}${libdir}
-    install -m 0755 libebml.so.* ${D}${libdir}
-    cp -R --no-dereference --preserve=mode,links -v libebml.so ${D}${libdir}
-
-    install -d ${D}${includedir}/ebml
-    for i in ../../ebml/*.h; do
-        install -m 0644 $i ${D}${includedir}/ebml
-    done
-
-    install -d ${D}${includedir}/ebml/c
-    for i in ../../ebml/c/*.h; do
-        install -m 0644 $i ${D}${includedir}/ebml/c
-    done
-}
diff --git a/meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb b/meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb
new file mode 100644
index 000000000..fe6436b14
--- /dev/null
+++ b/meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb
@@ -0,0 +1,15 @@ 
+SUMMARY = "C++ library to parse EBML files"
+HOMEPAGE = "https://github.com/Matroska-Org/libebml"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=4fbd65380cdd255951079008b364516c"
+
+SRC_URI = "git://github.com/Matroska-Org/libebml.git;branch=v1.x;protocol=https"
+SRCREV = "8330b222fec992b295c8b2149cf70f9ff648ce4a"
+
+S = "${WORKDIR}/git"
+
+inherit pkgconfig cmake dos2unix
+
+#Static library enabled by default. It has been added in case you want to use it dynamically.
+#EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON"
+