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

Bug 729254

Summary: app-editors/teco fails to compile with Clang
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Ulrich Müller <ulm>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-06-23 06:35:34 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: app-editors/teco fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-23 06:35:39 UTC
Created attachment 645808 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-23 10:47:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f375b2016fb01c6407cff3cf857b09578d2028

commit 11f375b2016fb01c6407cff3cf857b09578d2028
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2020-06-23 10:46:02 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2020-06-23 10:46:19 +0000

    app-editors/teco: Fix compile errors with clang.
    
    Closes: https://bugs.gentoo.org/729254
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 app-editors/teco/files/teco-void-functions.patch | 536 +++++++++++++++++++++++
 app-editors/teco/teco-36_p19940820.ebuild        |   1 +
 2 files changed, 537 insertions(+)
Comment 3 Ulrich Müller gentoo-dev 2020-06-23 11:07:04 UTC
All errors and most warnings should be gone. Please test.

Note that I haven't bothered to fix some of the more silly warnings that clang appears to enable by default, like -Wcomment or -Wempty-body.