Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854051 - app-accessibility/speech-tools-2.5.0 fails to compile (lto): esps_utils.cc:985:28: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: app-accessibility/speech-tools-2.5.0 fails to compile (lto): esps_utils.cc:98...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Accessibility Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-24 09:31 UTC by Agostino Sarubbo
Modified: 2022-06-24 23:54 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,116.74 KB, text/plain)
2022-06-24 09:31 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-06-24 09:31:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-accessibility/speech-tools-2.5.0 fails to compile (lto).
Discovered on: amd64 (internal ref: 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-06-24 09:31:04 UTC
Created attachment 787319 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-24 09:35:14 UTC
(In reply to Agostino Sarubbo from comment #0)
> Discovered on: amd64 (internal ref: tinderbox)

internal ref is: lto_tinderbox
Comment 5 Larry the Git Cow gentoo-dev 2022-06-24 23:54:32 UTC
The bug has been closed via the following commit(s):

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

commit aa9db8863d577f8e34d67a19dd57c8596c9a5b80
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-24 23:40:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-24 23:40:26 +0000

    app-accessibility/speech-tools: fix build w/ newer ncurses; fix strict-aliasing
    
    Closes: https://bugs.gentoo.org/837800
    Closes: https://bugs.gentoo.org/854051
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/speech-tools-2.5.0-drop-curses.patch     |  43 ++++++
 .../files/speech-tools-2.5.0-warnings.patch        |  35 +++++
 .../speech-tools/speech-tools-2.5.0-r1.ebuild      | 150 +++++++++++++++++++++
 3 files changed, 228 insertions(+)