Skip to contentSkip to conversation

libebml: upgrade 1.3.0 -> 1.4.4

PATCH Applied alperak 4 participants 8 messages Nov 12, 2023 – Nov 15, 2023

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

alperak

author
#0 lore raw

PATCH 1/1 libebml: upgrade 1.3.0 -> 1.4.4

Changelog:

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

---
 .../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
meta-multimedia/recipes-mkv/libebml/libebml/ldflags.patch deleted +0 -57
deleted file mode 100644
index a01c7544b..000000000
@@ -1,57 +0,0 @@
-Use LD and obey LDFLAGS
-
-Signed-off-by: Christopher Larson <[email protected]>
-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,[email protected] -o $@ $(OBJ)
-+	$(LD) $(LINKFLAGS) -shared -Wl,--export-all -Wl,[email protected] -o $@ $(OBJ)
-
- depend:
-	@echo Calculating dependecies:
---
-2.8.0
meta-multimedia/recipes-mkv/libebml/libebml/override-uname.patch deleted +0 -42

42 lines not on this page · raw message

meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb deleted +0 -59

59 lines not on this page · raw message

meta-multimedia/recipes-mkv/libebml/libebml_1.4.4.bb new file +15 -0
new file mode 100644
index 000000000..fe6436b14
@@ -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"
+
Signature · 1 line
2.25.1
author
#1 lore raw

Old patches are no longer needed. In addition,  build system changed makefile to CMakelist.txt.

#3 lore raw

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'
...

Quoted 29 lines · Khem Raj
Quoted 5 lines · alperak

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 <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

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.

Quoted 44 lines · Martin Jansa

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'
...

Quoted 27 lines · Khem Raj
Quoted 5 lines · alperak

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 <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw

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.

Quoted 137 lines · Khem Raj

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.

Quoted 2 lines · Martin Jansa

This seems to break gerbera build (I haven't looked further, just

noticed this as new failure in world builds):

Quoted 3 lines

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

(quoted diff) +0 -43
-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 && :

Quoted 1 line

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'

Quoted 1 line

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()':

Quoted 1 line

/usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:174:(.text+0xda5):
undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'

Quoted 1 line

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()':

Quoted 1 line

/usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:176:(.text+0xde5):
undefined reference to `libebml::EbmlSInteger::EbmlSInteger()'

Quoted 1 line

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()':

Quoted 1 line

/usr/src/debug/libmatroska/1.7.1-r0/src/KaxSemantic.cpp:280:(.text+0x11e7):
undefined reference to `libebml::EbmlSInteger::EbmlSInteger(long)'

Quoted 1 line

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()':

Quoted 1 line

/usr/include/ebml/EbmlSInteger.h:54:(.text._ZN11libmatroska17KaxDiscardPaddingD2Ev[_ZN11libmatroska17KaxDiscardPaddingD5Ev]+0x3):
undefined reference to `vtable for libebml::EbmlSInteger'

Quoted 17 lines

...

Quoted 14 lines · Khem Raj
Quoted 5 lines · alperak

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
Quoted 8 lines
Quoted 8 lines

Best regards,
--
Khem Raj <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#106660):

https://lists.openembedded.org/g/openembedded-devel/message/106660

Quoted 3 lines
Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/102541696/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub

[[email protected]]

Quoted 2 lines
Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-