Summary: | dev-db/mariadb-10.11.7 fails to compile: my_global.h:384:18: error: size of array compile_time_assert is negative | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | erhard_f, zerebratus |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.debian.org/1063738 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 951697 | ||
Bug Blocks: | |||
Attachments: |
build.log.xz
Disable compile_time_assert(sizeof(MYSQL) build.log.xz (ppc, 10.6.21) build.log.xz (ppc, 10.11.11) |
Description
Agostino Sarubbo
![]() Created attachment 890039 [details]
build.log.xz
build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: Could not find a package configuration file provided by "GSSAPI" with any -- Could NOT find PMEM (missing: PMEM_LIBRARIES PMEM_INCLUDE_DIRS) -- Could NOT find Snappy (missing: SNAPPY_LIBRARIES SNAPPY_INCLUDE_DIRS) FAILED: tests/CMakeFiles/mariadb-client-test.dir/mysql_client_test.c.o /var/tmp/portage/dev-db/mariadb-10.11.7/work/mysql/include/my_global.h:384:18: error: size of array ‘compile_time_assert’ is negative Created attachment 917969 [details, diff] Disable compile_time_assert(sizeof(MYSQL) Similar to what is described here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063738 Adding this patch to /etc/portage/dev-db/mariadb allowed me to emerge mariadb 10.6.17 on arm (RPI 2). Sorry, the directory of course was: /etc/portage/patches/dev-db/mariadb Created attachment 923252 [details]
build.log.xz (ppc, 10.6.21)
Same for 10.6.20, 10.6.21 on ppc.
Created attachment 923253 [details]
build.log.xz (ppc, 10.11.11)
But 10.11.11 builds ok.
|