Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921686 - kde-frameworks/khtml-5.113.0: fails to build with LTO: src/xpath/parser.h:62:15: error: type ‘union YYSTYPE’ violates the C++ One Definition Rule [-Werror=odr]
Summary: kde-frameworks/khtml-5.113.0: fails to build with LTO: src/xpath/parser.h:62:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-01-10 04:06 UTC by Rafael Kitover
Modified: 2024-02-06 19:36 UTC (History)
1 user (show)

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


Attachments
build log (khtml-build.log.xz,59.45 KB, application/x-xz)
2024-01-10 04:08 UTC, Rafael Kitover
Details
emerge --info (emerge-info.txt,20.61 KB, text/plain)
2024-01-10 04:08 UTC, Rafael Kitover
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Kitover 2024-01-10 04:06:23 UTC
Fails to build with recommended flags for LTO according to:

https://wiki.gentoo.org/wiki/LTO

> emerge -pqv =kde-frameworks/khtml-5.113.0
[ebuild   R   ] kde-frameworks/khtml-5.113.0  USE="X -debug -test"

Reproducible: Always
Comment 1 Rafael Kitover 2024-01-10 04:08:00 UTC
Created attachment 881799 [details]
build log
Comment 2 Rafael Kitover 2024-01-10 04:08:38 UTC
Created attachment 881800 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-02-06 19:21:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=5694c8311fa19182220bc0d756f78b549218a4b8

commit 5694c8311fa19182220bc0d756f78b549218a4b8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-02-06 19:05:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-02-06 19:19:37 +0000

    kde-frameworks/khtml: filter-lto, no more development
    
    Bug: https://bugs.gentoo.org/921686
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/khtml/khtml-5.115.0.ebuild    | 5 ++++-
 kde-frameworks/khtml/khtml-5.239.9999.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2024-02-06 19:36:43 UTC
The bug has been closed via the following commit(s):

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

commit 73578e98cf2944304c5f84b36f941b7f7604b817
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-02-06 19:05:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-02-06 19:36:22 +0000

    kde-frameworks/khtml: filter-lto, no more development
    
    Closes: https://bugs.gentoo.org/921686
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/khtml/khtml-5.113.0.ebuild | 5 ++++-
 kde-frameworks/khtml/khtml-5.114.0.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)