Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944284 - media-gfx/gimp-2.10.38-r1 fails to compile: gimpconfig-serialize.c:370:16: error: two or more data types in declaration specifiers
Summary: media-gfx/gimp-2.10.38-r1 fails to compile: gimpconfig-serialize.c:370:16: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 09:12 UTC by Agostino Sarubbo
Modified: 2025-02-20 00:55 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,965.76 KB, text/plain)
2024-11-21 09:12 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-11-21 09:12:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/gimp-2.10.38-r1 fails to compile.
Discovered on: arm64 (internal ref: tinderbox_arm64)
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-11-21 09:12:34 UTC
Created attachment 910981 [details]
build.log

build log and emerge --info
Comment 2 immolo 2025-02-01 14:40:35 UTC
Configured same issue in 3.0.0-RC2, upstreamed bug in hopes it will get noticed before 3.0.0 becomes stable.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-11 15:30:32 UTC
Thanks. I'm going to add a workaround just for 2.x for now, given an upstream MR seems to exist as well now.
Comment 4 Larry the Git Cow gentoo-dev 2025-02-12 05:00:03 UTC
The bug has been referenced in the following commit(s):

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

commit d3d83c6a06a57241395a389970cf2fb8495a36ba
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-02-11 15:30:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-12 04:59:33 +0000

    media-gfx/gimp: add gnu17 for 2.x
    
    Not bothering for 3.x as immolo reported it upstream already & there's
    an MR pending, so it should be fixed there soon.
    
    Bug: https://bugs.gentoo.org/944284
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/gimp/gimp-2.10.38-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2025-02-19 18:26:20 UTC
The bug has been closed via the following commit(s):

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

commit abafcded6b538a32c608eeeae45b541a42f6e671
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-02-19 18:25:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-19 18:25:29 +0000

    media-gfx/gimp: forward-port -std=gnu17 to 3.x too
    
    In d3d83c6a06a57241395a389970cf2fb8495a36ba, I said I wasn't going to do this,
    but it hasn't been merged upstream yet still, so whatever. Let's avoid
    an unnecessary build failure for people.
    
    Closes: https://bugs.gentoo.org/944284
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/gimp/gimp-3.0.0_rc1.ebuild | 7 +++++--
 media-gfx/gimp/gimp-3.0.0_rc2.ebuild | 7 +++++--
 media-gfx/gimp/gimp-9999.ebuild      | 5 ++++-
 3 files changed, 14 insertions(+), 5 deletions(-)
Comment 6 immolo 2025-02-20 00:55:23 UTC
Thanks, I'll monitor upstream and revert when/if the MR is pushed.