Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858263 - dev-tcltk/snack-2.2.10-r9 fails to compile (lto): sound.c:125:20: error: type of [-Werror=lto-type-mismatch]
Summary: dev-tcltk/snack-2.2.10-r9 fails to compile (lto): sound.c:125:20: error: type...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-15 17:11 UTC by Agostino Sarubbo
Modified: 2022-07-18 06:34 UTC (History)
0 users

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


Attachments
build.log (build.log,71.40 KB, text/plain)
2022-07-15 17:11 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 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(+)