Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943971 - media-libs/netpbm-11.8.1 fails to compile: libopt.c:92:23: error: two or more data types in declaration specifiers
Summary: media-libs/netpbm-11.8.1 fails to compile: libopt.c:92:23: error: two or more...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-19 09:46 UTC by Agostino Sarubbo
Modified: 2024-11-25 08:12 UTC (History)
0 users

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


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

Issue: media-libs/netpbm-11.8.1 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-11-19 09:46:48 UTC
Created attachment 910125 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-11-24 11:21:27 UTC
The bug has been referenced in the following commit(s):

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

commit 89ce343124c6a1dbc28e9d268af9e8912ddd5765
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-11-24 10:41:24 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-11-24 11:21:16 +0000

    media-libs/netpbm: fix building with gcc-15
    
    Bug: https://bugs.gentoo.org/943971
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 media-libs/netpbm/files/netpbm-11.8.1-fix-C23.patch        | 14 ++++++++++++++
 .../{netpbm-11.8.1.ebuild => netpbm-11.8.1-r1.ebuild}      |  1 +
 2 files changed, 15 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-11-25 08:12:54 UTC
The bug has been closed via the following commit(s):

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

commit 2f9fc8bf2054d8f9f81874a8929cc3a0f3303fc7
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2024-11-25 08:08:18 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2024-11-25 08:12:49 +0000

    media-libs/netpbm: backport fix for gcc-15
    
    Applied patch from upstream dev branch to 11.8.2 and backported it to
    11.2.11.
    
    The fix only works for gcc.  clang -std=gnu23 is fixed on dev branch,
    but the patch is too big, so let's just wait for it to reach
    advanced and stable.
    
    Closes: https://bugs.gentoo.org/943971
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../netpbm/files/netpbm-11.2.11-fix-C23.patch      | 245 +++++++++++++++++++
 media-libs/netpbm/netpbm-11.2.11-r1.ebuild         | 267 +++++++++++++++++++++
 2 files changed, 512 insertions(+)