package/libxmlsec1: bump version to 1.3.11
PATCH v2 1/1 package/libxmlsec1: bump version to 1.3.11
https://github.com/lsh123/xmlsec/releases/tag/1.3.11
https://github.com/lsh123/xmlsec/releases/tag/1.3.10
Switched to tarball hash provided by upstream.
Disable the build of unit_tests/transform_helpers_unit_tests to fix a build error which would be introduced by this bump:
unit_tests/transform_helpers_unit_tests.c:291:9: error: implicit declaration of function ‘xmlDebugDumpDocument’ [-Wimplicit-function-declaration]
The build error occurs due to upstream commit
https://github.com/lsh123/xmlsec/commit/633c06e756a3770b4414771d7692c3f29235b49c
which added unit_tests/transform_helpers_unit_tests.c to version 1.3.10 and makes use of xmlDebugDumpDocument() which is part of libxml2:
https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.3/include/libxml/debugXML.h?ref_type=tags#L58
but only when libxml2 was build with --with-debug:
https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.3/include/libxml/debugXML.h?ref_type=tags#L20
Buildroot builds the target package of libxml2 with --without-debug:
https://gitlab.com/buildroot.org/buildroot/-/blob/c17d110b10d4462822d712e327ee0579cf45af10/package/libxml2/libxml2.mk#L25
so we need to disable the build of xmlsec_unit_tests.
The host-libxmlsec1 package is not affected because host-libxml2 does not make use of --without-debug.
---
v2: fixed libxml2-related build error (Julien)
package/libxmlsec1/libxmlsec1.hash | 5 +++-- package/libxmlsec1/libxmlsec1.mk | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-)
package/libxmlsec1/libxmlsec1.hash +3 -2
@@ -1,3 +1,4 @@ +# From https://github.com/lsh123/xmlsec/releases/tag/1.3.11 +sha256 53675e98fa83b48201d24f7bfbcaeaa1b51496b8b19ff969785856bdeb196af3 xmlsec1-1.3.11.tar.gz # Locally computed -sha256 a631c8cd7a6b86e6adb9f5b935d45a9cf9768b3cb090d461e8eb9d043cf9b62f xmlsec1-1.3.9.tar.gz -sha256 d5e9388534256360c6a009d4f19ab2b8d6ec0aa7ff32a51e22d899ed7beb5c48 Copyright +sha256 a6d217151f3d423e06639c075bad8e442ea1936828d3a660105122ef78ecd96d Copyright
package/libxmlsec1/libxmlsec1.mk +8 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBXMLSEC1_VERSION = 1.3.9 +LIBXMLSEC1_VERSION = 1.3.11 LIBXMLSEC1_SOURCE = xmlsec1-$(LIBXMLSEC1_VERSION).tar.gz LIBXMLSEC1_SITE = https://github.com/lsh123/xmlsec/releases/download/$(LIBXMLSEC1_VERSION) LIBXMLSEC1_LICENSE = MIT
@@ -14,6 +14,13 @@ LIBXMLSEC1_DEPENDENCIES = libxml2 openssl HOST_LIBXMLSEC1_DEPENDENCIES = host-libxml2 host-openssl LIBXMLSEC1_AUTORECONF = YES +# xmlsec_unit_tests needs xmlDebugDumpDocument() from libxml2 which is +# not present in buildroot because libxml2 is build with --without-debug +define LIBXMLSEC1_DISABLE_UNIT_TESTS + $(SED) 's/noinst_PROGRAMS = xmlsec_unit_tests/noinst_PROGRAMS =/' $(@D)/apps/Makefile.am +endef +LIBXMLSEC1_POST_PATCH_HOOKS += LIBXMLSEC1_DISABLE_UNIT_TESTS + LIBXMLSEC1_CONF_OPTS = \ --enable-crypto-dl=no \ --with-openssl \
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Bernd,
Thanks for the v2.
Quoted 57 lines · Bernd Kuhls
https://github.com/lsh123/xmlsec/releases/tag/1.3.11
https://github.com/lsh123/xmlsec/releases/tag/1.3.10Switched to tarball hash provided by upstream.
Disable the build of unit_tests/transform_helpers_unit_tests to fix a build error which would be introduced by this bump:
unit_tests/transform_helpers_unit_tests.c:291:9: error: implicit declaration of function ‘xmlDebugDumpDocument’ [-Wimplicit-function-declaration]The build error occurs due to upstream commit
https://github.com/lsh123/xmlsec/commit/633c06e756a3770b4414771d7692c3f29235b49cwhich added
unit_tests/transform_helpers_unit_tests.cto version 1.3.10 and makes use ofxmlDebugDumpDocument()which is part of libxml2:
https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.3/include/libxml/debugXML.h?ref_type=tags#L58but only when libxml2 was build with --with-debug:
https://gitlab.gnome.org/GNOME/libxml2/-/blob/v2.15.3/include/libxml/debugXML.h?ref_type=tags#L20Buildroot builds the target package of libxml2 with --without-debug:
https://gitlab.com/buildroot.org/buildroot/-/blob/c17d110b10d4462822d712e327ee0579cf45af10/package/libxml2/libxml2.mk#L25
so we need to disable the build ofxmlsec_unit_tests.The host-libxmlsec1 package is not affected because host-libxml2 does not make use of --without-debug.
Signed-off-by Bernd Kuhls <[email protected]>---
v2: fixed libxml2-related build error (Julien)package/libxmlsec1/libxmlsec1.hash | 5 +++-- package/libxmlsec1/libxmlsec1.mk | 9 ++++++++- 2 files changed, 11 insertions(+), 3 deletions(-)package/libxmlsec1/libxmlsec1.hash +2
-0@@ -1,3 +1,4 @@ +# From https://github.com/lsh123/xmlsec/releases/tag/1.3.11 +sha256
53675e98fa83b48201d24f7bfbcaeaa1b51496b8b19ff969785856bdeb196af3xmlsec1-1.3.11.tar.gz
# Locally computed
-sha256a631c8cd7a6b86e6adb9f5b935d45a9cf9768b3cb090d461e8eb9d043cf9b62fxmlsec1-1.3.9.tar.gz -sha256d5e9388534256360c6a009d4f19ab2b8d6ec0aa7ff32a51e22d899ed7beb5c48Copyright +sha256a6d217151f3d423e06639c075bad8e442ea1936828d3a660105122ef78ecd96dCopyrightpackage/libxmlsec1/libxmlsec1.mk +0
-0
package/libxmlsec1/libxmlsec1.mk line 8
Quoted 6 lines
package/libxmlsec1/libxmlsec1.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -LIBXMLSEC1_VERSION = 1.3.9 +LIBXMLSEC1_VERSION = 1.3.11
With this new version, there is still two build failures:
https://gitlab.com/jolivain/buildroot/-/pipelines/2538340801
Could you have a look, please?
Quoted 21 lines
package/libxmlsec1/libxmlsec1.mk +0
-0LIBXMLSEC1_SOURCE = xmlsec1-$(LIBXMLSEC1_VERSION).tar.gz LIBXMLSEC1_SITE =https://github.com/lsh123/xmlsec/releases/download/$(LIBXMLSEC1_VERSION)
LIBXMLSEC1_LICENSE= MITpackage/libxmlsec1/libxmlsec1.mk +4
-1@@ -14,6 +14,13 @@ LIBXMLSEC1_DEPENDENCIES = libxml2 openssl HOST_LIBXMLSEC1_DEPENDENCIES = host-libxml2 host-openssl LIBXMLSEC1_AUTORECONF = YES +# xmlsec_unit_tests needs xmlDebugDumpDocument() from libxml2 which is +# not present in buildroot because libxml2 is build with --without-debug +define LIBXMLSEC1_DISABLE_UNIT_TESTS + $(SED) 's/noinst_PROGRAMS = xmlsec_unit_tests/noinst_PROGRAMS =/'$(@D)/apps/Makefile.am
package/libxmlsec1/libxmlsec1.mk +3
-1+endef +LIBXMLSEC1_POST_PATCH_HOOKS += LIBXMLSEC1_DISABLE_UNIT_TESTS + LIBXMLSEC1_CONF_OPTS = \ --enable-crypto-dl=no \ --with-openssl \ --
Quoted 1 line
2.47.3
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot