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

Bug 858263

Summary: dev-tcltk/snack-2.2.10-r9 fails to compile (lto): sound.c:125:20: error: type of [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: TCL/TK Project <tcltk>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-07-15 17:11:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-tcltk/snack-2.2.10-r9 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-15 17:11:43 UTC
Created attachment 791603 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-07-18 06:34:20 UTC
The bug has been closed via the following commit(s):

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

commit f3945e03f09a91f63c9a4068457580d1195a5841
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2022-07-18 06:34:01 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2022-07-18 06:34:01 +0000

    dev-tcltk/snack: fix type mismatch
    
    Closes: https://bugs.gentoo.org/858263
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-tcltk/snack/files/snack-2.2.10-lto.patch | 28 ++++++++++++++++++++++++++++
 dev-tcltk/snack/snack-2.2.10-r9.ebuild       |  1 +
 2 files changed, 29 insertions(+)