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: PullRequest
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-21 09:12 UTC by Agostino Sarubbo
Modified: 2025-05-27 19:20 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.
Comment 7 immolo 2025-04-26 00:22:51 UTC
GCC15 fix will be in 3.0.4 so should be safe to start testing reverting https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abafcded6b538a32c608eeeae45b541a42f6e671 at this point.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-26 00:23:37 UTC
(In reply to immolo from comment #7)
> GCC15 fix will be in 3.0.4 so should be safe to start testing reverting
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=abafcded6b538a32c608eeeae45b541a42f6e671 at this point.

Thanks. Fancy doing a PR to drop that from 9999 if it is fixed in master?
Comment 9 immolo 2025-04-26 00:35:39 UTC
Just waiting for confirmation then I will, It's mile stoned for 3.0.4 though.

(Highlighted originally in this bug as GIMP takes a while to approve and wanted a record in case I forget about it later.)
Comment 10 Larry the Git Cow gentoo-dev 2025-05-07 06:43:32 UTC
The bug has been referenced in the following commit(s):

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

commit 59c5f30b48d486ae9850397e687c560af4abb8e8
Author:     Ian Jordan <immoloism@gmail.com>
AuthorDate: 2025-05-07 06:10:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-07 06:43:05 +0000

    media-gfx/gimp: Revert -std=gnu17
    
    Gimp have merged c23 enforcing compiler support into master which means we can revert forcing -std=gnu17 on the live ebuild now.
    
    Upstream have also said this will be in 3.0.4 release as well.
    
    Bug: https://bugs.gentoo.org/944284
    Signed-off-by: Ian Jordan <immoloism@gmail.com>
    Part-of: https://github.com/gentoo/gentoo/pull/41971
    Closes: https://github.com/gentoo/gentoo/pull/41971
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/gimp/gimp-9999.ebuild | 3 ---
 1 file changed, 3 deletions(-)