Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858608 - games-board/ace-1.4-r2 fails to compile (lto): cards.h:63:26: error: type of appimglib_imageli does not match original declaration [-Werror=lto-type-mismatch]
Summary: games-board/ace-1.4-r2 fails to compile (lto): cards.h:63:26: error: type of ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-07-17 17:07 UTC by Agostino Sarubbo
Modified: 2022-07-17 17:25 UTC (History)
0 users

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


Attachments
build.log (build.log,112.93 KB, text/plain)
2022-07-17 17:07 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-17 17:07:53 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-board/ace-1.4-r2 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-17 17:07:55 UTC
Created attachment 791960 [details]
build.log

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

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

commit 7df8b808b33d5a12cbe747e6789cf83a8b78ec18
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-17 17:21:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-17 17:21:55 +0000

    games-board/ace: filter LTO (type mismatch), fix impl. func. decl.
    
    As noted in ebuild comment, the LTO issue is actually fixed upstream,
    but it's awkward to get patches out of CVS, and when I did for this
    paritcular change, it didn't apply b/c lots of changes since last
    release.
    
    Not worth the effort for now -- filter until next release.
    
    Closes: https://bugs.gentoo.org/858608
    Signed-off-by: Sam James <sam@gentoo.org>

 games-board/ace/ace-1.4-r2.ebuild                   | 10 ++++++++--
 games-board/ace/files/ace-1.4-isgraph-include.patch |  7 +++++++
 2 files changed, 15 insertions(+), 2 deletions(-)