Summary: | games-engines/box2d-2.4.1 - /.../doctest.h: error: size of array altStackMem is not an integral constant-expression | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/erincatto/box2d/issues/677 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 816954, 817434 | ||
Bug Blocks: | 803482 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tar.bz2 games-engines:box2d-2.4.1:20210803-203419.log logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
2021-08-04 08:33:33 UTC
Created attachment 729950 [details]
emerge-info.txt
Created attachment 729952 [details]
emerge-history.txt
Created attachment 729954 [details]
environment
Created attachment 729956 [details]
etc.portage.tar.bz2
Created attachment 729958 [details]
games-engines:box2d-2.4.1:20210803-203419.log
Created attachment 729960 [details]
logs.tar.bz2
Created attachment 729962 [details]
temp.tar.bz2
This was fixed, or worked around, by adding "-DBOX2D_BUILD_UNIT_TESTS=OFF" to the src_configure() section of the box2d-2.4.1.ebuild file. the problem is related to changes in glibc-2.34 and seems only to affect the unit test code. (In reply to FR from comment #8) > This was fixed, or worked around, by adding "-DBOX2D_BUILD_UNIT_TESTS=OFF" > to the src_configure() section of the box2d-2.4.1.ebuild file. > > the problem is related to changes in glibc-2.34 and seems only to affect the > unit test code. Thanks, let's include that workaround to speed up the build anyway. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adea094719995c15eb6642c5cc7691899972ad80 commit adea094719995c15eb6642c5cc7691899972ad80 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-09-05 03:02:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-09-05 05:24:44 +0000 games-engines/box2d: conditionally build tests This is also a workaround for the glibc 2.34 build failure. Bug: https://bugs.gentoo.org/806342 Signed-off-by: Sam James <sam@gentoo.org> games-engines/box2d/box2d-2.4.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e27625bafd1ff9d1e04b6e8b308638723531ee4c commit e27625bafd1ff9d1e04b6e8b308638723531ee4c Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2021-10-08 12:26:59 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2021-10-11 00:39:12 +0000 games-engines/box2d: unbundle doctest to fix tests with glibc-2.34 Skipping leaving a bugref in the ebuild not to imply this should be removed after it's fixed with glibc-2.34 (upstream has bumped doctest in upcoming version, but may as well use system's anyway). While not the cleanest, use a symlink to avoid patching files. Closes: https://bugs.gentoo.org/806342 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> games-engines/box2d/box2d-2.4.1.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) |