Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920360 - app-editors/emacs-18.59-r15 fails to compile (GCC-14-SYSTEM): fakemail.c:487:3: error: [-Wreturn-mismatch]
Summary: app-editors/emacs-18.59-r15 fails to compile (GCC-14-SYSTEM): fakemail.c:487:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GNU Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-20 08:34 UTC by Agostino Sarubbo
Modified: 2023-12-20 10:00 UTC (History)
0 users

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


Attachments
build.log (build.log,45.75 KB, text/plain)
2023-12-20 08:34 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 2023-12-20 08:34:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-editors/emacs-18.59-r15 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-12-20 08:34:12 UTC
Created attachment 880035 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-12-20 10:00:22 UTC
The bug has been closed via the following commit(s):

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

commit 02ac61b498061a3851e094150165ddf4cab93166
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-12-20 09:58:03 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-12-20 10:00:13 +0000

    app-editors/emacs: Append -Wno-return-mismatch to CFLAGS
    
    If you think this should be fixed in the source instead, feel free to
    submit a patch that adds all the missing prototypes.
    
    Closes: https://bugs.gentoo.org/920360
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/emacs/emacs-18.59-r15.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)