Bug 279965 - graphics/cegui: Fails to build with libxml2 2.13.1 and libxslt 1.1.41
Summary: graphics/cegui: Fails to build with libxml2 2.13.1 and libxslt 1.1.41
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Oliver Lehmann
URL:
Keywords:
Depends on:
Blocks: 279705
  Show dependency treegraph
 
Reported: 2024-06-24 18:33 UTC by Daniel Engberg
Modified: 2024-06-29 23:50 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (oliver)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-06-24 18:33:41 UTC
Deps appears to require PR 279741 while port fails with libxml2

https://pdr2.bofh.network/data/140-diizzy/libxml2-libxslt-run2/logs/errors/cegui-0.8.7_19.log
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2024-06-29 07:27:07 UTC
In this case the best course of action seems to be to track master branch given that it seems like upstream stopped doing releases?

https://github.com/cegui/cegui
Comment 2 Oliver Lehmann freebsd_committer freebsd_triage 2024-06-29 21:50:30 UTC
should be easily fixable by replacing

        xmlError* err = xmlGetLastError();

with

        const xmlError *err = xmlGetLastError();

in cegui/src/XMLParserModules/Libxml2/XMLParser.cpp

What is the easiest way to reproduce the error? Just apply PR 279705 and start the build process?
Comment 3 Oliver Lehmann freebsd_committer freebsd_triage 2024-06-29 21:54:03 UTC
Looks like someone else came up with the same solution already :)

https://github.com/void-linux/void-packages/blob/master/srcpkgs/cegui/patches/fix-libxml2-2.12.patch
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-06-29 23:10:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66ae4f88bcf7ffc77c623d3805567c8e3bc1b69a

commit 66ae4f88bcf7ffc77c623d3805567c8e3bc1b69a
Author:     Oliver Lehmann <oliver@FreeBSD.org>
AuthorDate: 2024-06-29 23:06:57 +0000
Commit:     Oliver Lehmann <oliver@FreeBSD.org>
CommitDate: 2024-06-29 23:08:58 +0000

    graphics/cegui: add patch to fix upcomming libxml2 update

    PR:     279965

 graphics/cegui/files/patch-cegui__src__CMakeLists.txt      |  4 ++--
 ...-cegui_src_XMLParserModules_Libxml2_XMLParser.cpp (new) | 14 ++++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)