Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923247 - media-gfx/inkscape-1.3.2 fails to compile with libxml 2.12
Summary: media-gfx/inkscape-1.3.2 fails to compile with libxml 2.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL: https://gitlab.com/inkscape/inkscape/...
Whiteboard:
Keywords: PATCH
: 923365 (view as bug list)
Depends on:
Blocks: libxml2-2.12
  Show dependency tree
 
Reported: 2024-01-29 09:29 UTC by Maciej S. Szmigiero
Modified: 2024-01-30 23:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej S. Szmigiero 2024-01-29 09:29:30 UTC
media-gfx/inkscape-1.3.2 fails to compile with libxml 2.12:
/var/tmp/portage/media-gfx/inkscape-1.3.2/work/inkscape-1.3.2/src/object/uri.cpp: In constructor ‘Inkscape::URI::URI(const gchar*, const char*)’:
/var/tmp/portage/media-gfx/inkscape-1.3.2/work/inkscape-1.3.2/src/object/uri.cpp:86:9: error: ‘xmlFree’ was not declared in this scope; did you mean ‘xmlFreeURI’?
   86 |         xmlFree(full);
      |         ^~~~~~~
      |         xmlFreeURI
/var/tmp/portage/media-gfx/inkscape-1.3.2/work/inkscape-1.3.2/src/object/uri.cpp:89:9: error: ‘xmlFree’ was not declared in this scope; did you mean ‘xmlFreeURI’?
   89 |         xmlFree(escaped);
      |         ^~~~~~~
      |         xmlFreeURI
/var/tmp/portage/media-gfx/inkscape-1.3.2/work/inkscape-1.3.2/src/object/uri.cpp: In member function ‘std::string Inkscape::URI::str(const char*) const’:
/var/tmp/portage/media-gfx/inkscape-1.3.2/work/inkscape-1.3.2/src/object/uri.cpp:292:9: error: ‘xmlFree’ was not declared in this scope; did you mean ‘xmlFreeURI’?
  292 |         xmlFree(saveuri);
      |         ^~~~~~~
      |         xmlFreeURI


Patch at ${URL} fixes the build.
Comment 1 Larry the Git Cow gentoo-dev 2024-01-29 09:37:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=892e038ce84ea5079ab87955e84bc76af2a4eb60

commit 892e038ce84ea5079ab87955e84bc76af2a4eb60
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-29 09:36:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-29 09:37:34 +0000

    media-gfx/inkscape: fix build w/ libxml2-2.12
    
    Closes: https://bugs.gentoo.org/923247
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/inkscape-1.3.2-libxml2-2.12.patch        | 29 ++++++++++++++++++++++
 media-gfx/inkscape/inkscape-1.3.2.ebuild           | 12 ++++++---
 media-gfx/inkscape/inkscape-9999.ebuild            | 10 ++++----
 3 files changed, 42 insertions(+), 9 deletions(-)
Comment 2 Andreas Sturmlechner gentoo-dev 2024-01-30 21:39:37 UTC
*** Bug 923365 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2024-01-30 21:48:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebb79a04f909576b0332655afb6764bcd01f017

commit 9ebb79a04f909576b0332655afb6764bcd01f017
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-30 21:47:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-30 21:47:40 +0000

    media-gfx/inkscape: fix libxml2-2.12 compat for 1.2.2 too
    
    1.3.x is going to be a pain to stable as needs newer boost, so...
    
    Bug: https://bugs.gentoo.org/923247
    Bug: https://bugs.gentoo.org/923255
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/inkscape/inkscape-1.2.2-r4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-30 23:18:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1409e7f8b46917eb60b8641a8c4854de732b94a

commit d1409e7f8b46917eb60b8641a8c4854de732b94a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-30 21:52:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-30 23:18:13 +0000

    media-gfx/inkscape: drop 1.2.2, 1.3 (broken with dev-libs/libxml2-2.12)
    
    Bug: https://bugs.gentoo.org/923247
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/inkscape/Manifest              |   1 -
 media-gfx/inkscape/inkscape-1.2.2.ebuild | 191 -----------------------------
 media-gfx/inkscape/inkscape-1.3.ebuild   | 201 -------------------------------
 3 files changed, 393 deletions(-)