Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955368 - mail-mta/exim-4.98.2 build failure with gcc-15
Summary: mail-mta/exim-4.98.2 build failure with gcc-15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-05-03 19:09 UTC by Forza
Modified: 2025-05-06 08:31 UTC (History)
1 user (show)

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


Attachments
build log (file_955368.txt,33.75 KB, text/plain)
2025-05-03 19:10 UTC, Forza
Details
Exim build log with USE='-X' (exim-buildlog-without-X.txt,67.33 KB, text/plain)
2025-05-05 14:03 UTC, Forza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2025-05-03 19:09:48 UTC
exim builds well with gcc-14, but not with gcc-15.

Reproducible: Always
Comment 1 Forza 2025-05-03 19:10:44 UTC
Created attachment 927458 [details]
build log

Attached build log.
Comment 2 Fabian Groffen gentoo-dev 2025-05-05 10:55:57 UTC
I don't have GCC-15 around at this moment, any chance you could do a quick check if USE=-X results in a successful build?
Comment 3 Forza 2025-05-05 14:03:50 UTC
Created attachment 927699 [details]
Exim build log with USE='-X'

Exim builds with gcc-15 and USE="-X", and seems to run, thouh there are still warnings during the build.
Comment 4 Fabian Groffen gentoo-dev 2025-05-06 06:11:34 UTC
Yes, thank you, those warnings exist with <gcc-15 already, but upstream believes any compiler warning or error is a compiler bug, because it means that the compiler does not understand their code.  It's hard to argue with that.

Thanks for trying out.
Comment 5 Larry the Git Cow gentoo-dev 2025-05-06 08:31:28 UTC
The bug has been closed via the following commit(s):

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

commit 4dccfba52a9e905f1d000ecf5f57c8292794e7e6
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2025-05-06 08:25:53 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2025-05-06 08:25:53 +0000

    mail-mta/exim-4.98.2-r1: fix build with C23 by disabling eximon
    
    - bump to EAPI=8
    - drop USE=X to disable eximon
    
    eximon is very old, and probably not that much maintained code.  It
    isn't enabled by default (upstream) and relies on X, which is dated.  It
    doesn't compile with -std=c23, and upstream has the habit of refusing
    any fix for compiler warnings/errors, so just disable eximon, as it is
    just a client tool, the MTA is unaffected.
    
    Closes: https://bugs.gentoo.org/955368
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 .../{exim-4.98.2.ebuild => exim-4.98.2-r1.ebuild}  | 30 +++-------------------
 1 file changed, 4 insertions(+), 26 deletions(-)