Summary: | media-gfx/inkscape-9999 fails to compile with new poppler: error: no matching function for call to ‘PDFDoc::PDFDoc(GooString*&, std::nullptr_t, std::nullptr_t, std::nullptr_t)’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dilfridge, harleyw, harrisl, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=843275 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 843317 | ||
Attachments: | build.log |
Description
Miroslav Šulc
2022-03-20 13:41:25 UTC
THe patch isn't upstream yet so it's in release ebuilds but not 9999. I'm getting this same error when trying to build inkscape-1.1-r1 today. I'm getting this with Clang w/libc++. My error is a bit different so for the sake of search results: error: no matching constructor for initialization of 'PDFDoc' These commits (introduced in Poppler 22.03.0) changed the PDFDoc constructors: https://github.com/freedesktop/poppler/commit/07889cdfd8a261dc5ae6eb72c26a8a3ec2e35930 https://github.com/freedesktop/poppler/commit/4f2abd3efa1ee013d7e672bad5a2fe58610cdc1d Upstream patches Poppler 22.03 compatibility https://gitlab.com/inkscape/inkscape/-/commit/a18c57ffff313fd08bc8a44f6b6bf0b01d7e9b75.patch Poppler 22.04 compatibility https://gitlab.com/inkscape/inkscape/-/commit/d989cdf1059c78bc3bb6414330242073768d640b.patch The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea7abbfe5d1f6fbe2f25979b00e3d36651e0a041 commit ea7abbfe5d1f6fbe2f25979b00e3d36651e0a041 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-08 17:41:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-08 17:42:19 +0000 media-gfx/inkscape: fix build with Poppler 22.04.0 Also, switch out the 22.03.0 patch with the variant in upstream's 1.1.x branch so that 22.04.x patch applies (from same place). Closes: https://bugs.gentoo.org/843275 Closes: https://bugs.gentoo.org/835661 Bug: https://bugs.gentoo.org/835424 Signed-off-by: Sam James <sam@gentoo.org> .../files/inkscape-1.1.2-r1-poppler-22.03.0.patch | 43 +++++ .../files/inkscape-1.1.2-r1-poppler-22.04.0.patch | 130 +++++++++++++++ media-gfx/inkscape/inkscape-1.1.2-r1.ebuild | 184 +++++++++++++++++++++ 3 files changed, 357 insertions(+) |