Summary: | media-gfx/inkscape-1.0.2 fails to build with gcc-11 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Geoff Leach <gl> |
Component: | Current packages | Assignee: | Mikle Kolyada (RETIRED) <zlogene> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dilfridge, gentoo, jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | build log |
*** Bug 760114 has been marked as a duplicate of this bug. *** Fixed upstream https://gitlab.com/speleo3/inkscape/-/commit/7c1b8a1587b9c3b473a01b7fe7908102a251899d (In reply to Geoff Leach from comment #2) > Fixed upstream > > https://gitlab.com/speleo3/inkscape/-/commit/ > 7c1b8a1587b9c3b473a01b7fe7908102a251899d Confirmed: the current 9999 ebuild does not exhibit this issue. fixed upstream and patch included in inkscape-1.0.2-r1 |
Created attachment 684981 [details] build log inkscape-1.0.2 fails to build with gcc-11 /var/tmp/portage/media-gfx/inkscape-1.0.2/work/inkscape-1.0.2_2021-01-15_e86c870 879/src/extension/system.cpp:177:78: error: ‘this’ pointer null [-Werror=nonnull ] 177 | gchar const *ext = dynamic_cast<Input *>(in_plug)->get_exten sion(); | ^ I've tried setting -Wno-error=nonnull in CXXFLAGS and even though that option shows up in the compilation line still get an error rather than warning. With clang-11 compiles and runs ok - just simple test of drawing a line.