Summary: | media-gfx/inkscape-1.2.2: error: statement-expressions are not allowed outside functions nor in template-argument lists | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dominique Michel <dominique.c.michel> |
Component: | Current packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://gitlab.com/inkscape/inkscape/-/merge_requests/5108 https://gitlab.com/inkscape/inbox/-/issues/8244 https://gitlab.com/inkscape/inkscape/-/merge_requests/5111 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
output of # emerge --info '=media-gfx/inkscape-1.2.2::gentoo'
complete build log part 1 complete build log #2 complete build log #3 complete build log #4 on 4 environment file patch that solves that issue |
Description
Dominique Michel
2023-04-05 13:54:01 UTC
Created attachment 859538 [details]
output of # emerge --info '=media-gfx/inkscape-1.2.2::gentoo'
# emerge -pqv '=media-gfx/inkscape-1.2.2::gentoo' [ebuild U ] media-gfx/inkscape-1.2.2 [1.2.1-r2] USE="X cdr exif jpeg openmp readline spell -dia -graphicsmagick -imagemagick -inkjar (-jemalloc) -postscript -svg2 -test -visio -wpg" PYTHON_SINGLE_TARGET="python3_10 -python3_9 -python3_11% (-python3_8%)" Created attachment 859539 [details]
complete build log part 1
Created attachment 859540 [details]
complete build log #2
Created attachment 859541 [details]
complete build log #3
Created attachment 859542 [details]
complete build log #4 on 4
Created attachment 859543 [details]
environment file
Created attachment 859574 [details, diff] patch that solves that issue Same than http://mirrors.infowest.com/freebsd-ftp/ports/distfiles/781e29cd3538.patch but with modified offset as explained here: https://forums.gentoo.org/viewtopic-t-1162685-highlight-inkscape.html That patch solve that issue for me. I still don't get why only certain people can hit this. (In reply to Dominique Michel from comment #8) > Created attachment 859574 [details, diff] [details, diff] > patch that solves that issue > > Same than > http://mirrors.infowest.com/freebsd-ftp/ports/distfiles/781e29cd3538.patch > but with modified offset as explained here: > https://forums.gentoo.org/viewtopic-t-1162685-highlight-inkscape.html > > That patch solve that issue for me. I'd really prefer not to apply this until it's backported upstream given how large it is until we understand what's going on here, fwiw. Okay, I think I partly get it now. I suspect it's not really just gcc 13 and some change got backported to newer GCCs. Fedora are using https://src.fedoraproject.org/rpms/inkscape/blob/rawhide/f/0001-Fix-build-with-GCC13.patch for now (https://gitlab.com/inkscape/inkscape/-/merge_requests/5108) which is less invasive than the patch here (https://gitlab.com/inkscape/inkscape/-/merge_requests/5111). Let's add that in. (In reply to Sam James from comment #11) > Okay, I think I partly get it now. I suspect it's not really just gcc 13 and > some change got backported to newer GCCs. > I still think it's possible this is a glib/glibmm thing but it's harmless enough, so. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4edc51728fdea1246c4dbe0abf6dd310e7362dbc commit 4edc51728fdea1246c4dbe0abf6dd310e7362dbc Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-01 07:31:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-01 07:32:11 +0000 media-gfx/inkscape: fix compile issue Unclear when this happens but I can see how it might, so.. Closes: https://bugs.gentoo.org/903867 Signed-off-by: Sam James <sam@gentoo.org> .../files/inkscape-1.2.2-fix-compile.patch | 46 +++++ media-gfx/inkscape/inkscape-1.2.2-r1.ebuild | 197 +++++++++++++++++++++ 2 files changed, 243 insertions(+) |