Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941674 - media-gfx/inkscape-1.4 fails to compile: gobjectptr.h:23:97: error: const class Inkscape::Util::GObjectPtr<T> has no member named p [-Wtemplate-body]
Summary: media-gfx/inkscape-1.4 fails to compile: gobjectptr.h:23:97: error: const cla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-10-17 06:55 UTC by Agostino Sarubbo
Modified: 2024-10-17 07:08 UTC (History)
0 users

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


Attachments
build.log (build.log,926.36 KB, text/plain)
2024-10-17 06:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-10-17 06:55:44 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/inkscape-1.4 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-17 06:55:46 UTC
Created attachment 906142 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-17 06:55:47 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Boost: missing: stacktrace_backtrace (found /usr/lib64/cmake/Boost-1.85.0/BoostConfig.cmake (found suitable version "1.85.0", minimum required is "1.19.0"))
FAILED: src/CMakeFiles/inkscape_base.dir/display/control/canvas-item-drawing.cpp.o 
/var/tmp/portage/media-gfx/inkscape-1.4/work/inkscape-1.4/src/util/gobjectptr.h:23:97: error: ‘const class Inkscape::Util::GObjectPtr<T>’ has no member named ‘p’; did you mean ‘_p’? [-Wtemplate-body]
Comment 4 Larry the Git Cow gentoo-dev 2024-10-17 07:08:06 UTC
The bug has been closed via the following commit(s):

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

commit 0e21aff244a4247a58729df0d641538b1b767296
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-17 07:04:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-17 07:06:58 +0000

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

 media-gfx/inkscape/files/inkscape-1.4-gcc15.patch | 21 +++++++++++++++++++++
 media-gfx/inkscape/inkscape-1.4.ebuild            |  4 ++++
 2 files changed, 25 insertions(+)