Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941425 - kde-frameworks/sonnet-6.7.0 - backend now required
Summary: kde-frameworks/sonnet-6.7.0 - backend now required
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://invent.kde.org/frameworks/son...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-12 20:22 UTC by Gino McCarty
Modified: 2024-10-15 20:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gino McCarty 2024-10-12 20:22:18 UTC
backends used to be optional, now they are required

```
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Could NOT find HSPELL (missing: HSPELL_LIBRARIES HSPELL_INCLUDE_DIR)
-- Could NOT find VOIKKO (missing: VOIKKO_LIBRARIES VOIKKO_INCLUDE_DIR)
CMake Error at src/plugins/CMakeLists.txt:58 (message):
  Can not build any backend plugin for Sonnet.


-- Configuring incomplete, errors occurred!
 * ERROR: kde-frameworks/sonnet-6.7.0::gentoo failed (configure phase):
 *   cmake failed
````

adding 

REQUIRED_USE="||(hunspell aspell)"

would fix it



Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2024-10-15 20:04:19 UTC
They really want us to build at least one backend, and we have hunspell default enabled. For now let's have this backport, but if indeed revdeps may fail without at least one backend enabled, we'll have to enforce something.
Comment 2 Larry the Git Cow gentoo-dev 2024-10-15 20:06:44 UTC
The bug has been closed via the following commit(s):

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

commit 7912e1f9972e947d1180ae3f0e3b84dd166bcefb
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-10-15 20:00:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-10-15 20:06:28 +0000

    kde-frameworks/sonnet: Backport SONNET_NO_BACKENDS patch
    
    Closes: https://bugs.gentoo.org/941425
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../sonnet/files/sonnet-6.7.0-no-backend.patch     | 44 ++++++++++++++++++++++
 kde-frameworks/sonnet/sonnet-6.7.0.ebuild          |  5 +++
 2 files changed, 49 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2024-10-15 20:09:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=6e7ce7ccf41fbf4ce6026479bd8065b397fce39a

commit 6e7ce7ccf41fbf4ce6026479bd8065b397fce39a
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-10-15 20:00:00 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-10-15 20:09:03 +0000

    kde-frameworks/sonnet: Set SONNET_NO_BACKENDS=ON w/ USE=-aspell,-hunspell
    
    Upstream commit 1764decd7b7426320f24f3dbde44fc13993d1ed2
    
    Bug: https://bugs.gentoo.org/941425
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/sonnet/sonnet-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)