Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920360

Summary: app-editors/emacs-18.59-r15 fails to compile (GCC-14-SYSTEM): fakemail.c:487:3: error: [-Wreturn-mismatch]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: GNU Emacs project <gnu-emacs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

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(-)