Next to dev-libs/icu-74.2 update, games-strategy/0ad-0.0.26_alpha-r1 fails to build. with the following error: ../../../source/ps/XML/RelaxNG.cpp:162:50: error: invalid conversion from ‘void (*)(void*, xmlErrorPtr)’ {aka ‘void (*)( void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive] 162 | xmlRelaxNGSetValidStructuredErrors(ctxt, &relaxNGErrorHandler, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(void*, xmlErrorPtr) {aka void (*)(void*, _xmlError*)} Reproducible: Always Steps to Reproduce: 1. update dev-libs/icu to 74.2 2. build games-strategy/0ad-0.0.26_alpha-r1 Actual Results: build fail Expected Results: build succeed
Created attachment 884819 [details] build.log
Created attachment 884820 [details] emerge --info
Same here.
Here too.
I’m trying to build games-strategy/0ad-0.0.26_alpha-r1 with this patch: https://github.com/0ad/0ad/commit/d2426312.patch I’ll keep you informed if that works.
The patch I did give above is making build working
(In reply to Quentin Retornaz from comment #6) > The patch I did give above is making build working Yeah, it works for me too.
The above patch fixed it for me too.
That patch also did work for me (x86_64 AMD). For anyone else reading this that may not know how to use the patch: mkdir -p /etc/portage/patches/games-strategy/0ad-0.0.26_alpha-r1 cd /etc/portage/patches/games-strategy/0ad-0.0.26_alpha-r1 wget https://github.com/0ad/0ad/commit/d2426312.patch And emerge again.
Hello, Just to remove any doubt, this patch is from upstream that did fix the issue: https://code.wildfiregames.com/D5219
thanks guys, works for me to ping, as the solution is known, can someone with enough right just add the patch to the tree, please?
I'll take a quick look.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e42097df80ddaf3eb5ca2906bc2c8625785f6ba commit 4e42097df80ddaf3eb5ca2906bc2c8625785f6ba Author: Sam James <sam@gentoo.org> AuthorDate: 2024-04-01 06:44:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-01 06:45:52 +0000 games-strategy/0ad: fix build w/ libxml2-2.12 Closes: https://bugs.gentoo.org/924387 Signed-off-by: Sam James <sam@gentoo.org> games-strategy/0ad/0ad-0.0.26_alpha-r1.ebuild | 4 +- .../0ad/files/0ad-0.0.26_alpha-libxml2-2.12.patch | 274 +++++++++++++++++++++ 2 files changed, 277 insertions(+), 1 deletion(-)
now that was quick :-) - thankyou!