msgpack: disables tests
PATCH 1/1 msgpack: disables tests
tests are enabled if gperf and zlib are found and they fail on:/home/buildroot/autobuild/run/instance-0/output/build/msgpack-2.1.5/include/msgpack/v1/object.hpp:652:34:
error: 'void* memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'struct msgpack::v2::object' from an array of 'const msgpack_object' {aka 'const struct msgpack_object'} [-Werror=class-memaccess]
std::memcpy(&o, &v, sizeof(v));
So disable them.
Fixes:
- http://autobuild.buildroot.org/results/7d7aa9723f02f9bc78dbf6248674be4d402199bf
--- package/msgpack/msgpack.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/msgpack/msgpack.mk +1 -1
@@ -9,7 +9,7 @@ MSGPACK_SITE = $(call github,msgpack,msgpack-c,cpp-$(MSGPACK_VERSION)) MSGPACK_LICENSE = BSL-1.0 MSGPACK_LICENSE_FILES = COPYING LICENSE_1_0.txt MSGPACK_INSTALL_STAGING = YES -MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF +MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF ifeq ($(BR2_STATIC_LIBS),y) MSGPACK_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFF
Signature · 1 line
2.14.1
PATCH 1/1 msgpack: disables tests
Fabrice, All,
On 2018-11-25 10:50 +0100, Fabrice Fontaine spake thusly:
Quoted 11 lines
tests are enabled if gperf and zlib are found and they fail on:
/home/buildroot/autobuild/run/instance-0/output/build/msgpack-2.1.5/include/msgpack/v1/object.hpp:652:34:
error: 'void*memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'structmsgpack::v2::object' from an array of 'constmsgpack_object' {aka 'const structmsgpack_object'} [-Werror=class-memaccess]std::memcpy(&o, &v, sizeof(v));So disable them.
Fixes:
- http://autobuild.buildroot.org/results/7d7aa9723f02f9bc78dbf6248674be4d402199bfSigned-off-by Fabrice Fontaine <[email protected]>
Regards,
Yann E. MORIN.
Quoted 24 lines
--- package/msgpack/msgpack.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/msgpack/msgpack.mk +1
-1@@ -9,7 +9,7 @@ MSGPACK_SITE = $(call github,msgpack,msgpack-c,cpp-$(MSGPACK_VERSION)) MSGPACK_LICENSE = BSL-1.0 MSGPACK_LICENSE_FILES = COPYING LICENSE_1_0.txt MSGPACK_INSTALL_STAGING = YES -MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF +MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF ifeq ($(BR2_STATIC_LIBS),y) MSGPACK_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFFSignature · 6 lines
2.14.1 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
Arnout Vandecappelle
AppliedPATCH 1/1 msgpack: disables tests
In reply to Fabrice FontaineQuoted 11 lines · Fabrice Fontaine
tests are enabled if gperf and zlib are found and they fail on:
/home/buildroot/autobuild/run/instance-0/output/build/msgpack-2.1.5/include/msgpack/v1/object.hpp:652:34:
error: 'void*memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'structmsgpack::v2::object' from an array of 'constmsgpack_object' {aka 'const structmsgpack_object'} [-Werror=class-memaccess]std::memcpy(&o, &v, sizeof(v));So disable them.
Fixes:
- http://autobuild.buildroot.org/results/7d7aa9723f02f9bc78dbf6248674be4d402199bfSigned-off-by Fabrice Fontaine <[email protected]>
Applied to master, thanks.
I didn't bother copying the much more verbose commit log from Thomas, since
this one was pretty good already.
Regards,
Arnout
Quoted 18 lines
--- package/msgpack/msgpack.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/msgpack/msgpack.mk +1
-1@@ -9,7 +9,7 @@ MSGPACK_SITE = $(call github,msgpack,msgpack-c,cpp-$(MSGPACK_VERSION)) MSGPACK_LICENSE = BSL-1.0 MSGPACK_LICENSE_FILES = COPYING LICENSE_1_0.txt MSGPACK_INSTALL_STAGING = YES -MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF +MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF ifeq ($(BR2_STATIC_LIBS),y) MSGPACK_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFF
PATCH 1/1 msgpack: disables tests
In reply to Fabrice FontaineQuoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
tests are enabled if gperf and zlib are found and they fail on:
/home/buildroot/autobuild/run/instance-0/output/build/msgpack-2.1.5/include/msgpack/v1/object.hpp:652:34:
error: 'void*memcpy(void*, const void*, size_t)' copying an object of non-trivial type 'structmsgpack::v2::object' from an array of 'constmsgpack_object' {aka 'const structmsgpack_object'} [-Werror=class-memaccess]
Quoted 8 lines
std::memcpy(&o, &v, sizeof(v));So disable them.
Fixes:
- http://autobuild.buildroot.org/results/7d7aa9723f02f9bc78dbf6248674be4d402199bfSigned-off-by Fabrice Fontaine <[email protected]>
Committed to 2018.02.x and 2018.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard