Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [PATCH 0/1] ecm.eclass: set KDE_DEBUG=1 for ecm_src_test
Date: Sun, 24 Oct 2021 04:34:02
Message-Id: pan$530df$fe4bf4$44b924ad$abd8451d@cox.net
In Reply to: Re: [gentoo-dev] [PATCH 0/1] ecm.eclass: set KDE_DEBUG=1 for ecm_src_test by James Beddek
1 James Beddek posted on Wed, 20 Oct 2021 09:42:14 +0000 as excerpted:
2
3 >> > KDE provides a variable, KDE_DEBUG [1], which when set disables the
4 >> > DrKonqi crash handler. Using this results in the tests segfaulting
5 >> > and the test phase simply failing, rather than hanging.
6 >> Do crashes of other (non-ecm) tests trigger DrKonqi too? What's the
7 >> reason to add this variable only to ecm.eclass?
8 >>
9 > As far as I can tell only packages that use ecm.eclass trigger DrKonqi
10 > upon a test segfault. However, this may just be to me not experiencing
11 > crashes in other test suites. To the best of my knowledge it's purely
12 > the KDE/ecm packages.
13
14 DrKonqi is part of kde's plasma, in gentoo as kde-plasma/drkonqi . As
15 such it depends on various kde-frameworks/* including kde-frameworks/
16 extra-cmake-modules, shortened in kde-dev lingo to ECM, thus ecm.eclass.
17 And ECM is the way they handle kde-specific cmake detection so basically
18 any app that cares about drkonqi is going to be using ecm.eclass as well.
19
20 Tho the reverse doesn't necessarily hold -- ECM as a framework is far
21 more basic than drkonqi as a plasma component, and while my kde/plasma
22 installation is somewhat lite, nothing's actually pulling in drkonqi and
23 it's not merged, while a quick equery d extra-cmake-modules | wc -l
24 suggests 151 packages depend on extra-cmake-modules and a look at the
25 list confirms they're all kde related, tho a few like media-libs/phonon
26 are not kde-*.
27
28 And without drkonqi I get segfaults. Which suggests another possible
29 workaround, unmerging drkonki. If the only thing pulling it in is a set
30 or metapackage the alternative would be either a local-overlay null-
31 package, or commenting that entry in a local copy of the set/metapackage.
32
33 --
34 Duncan - List replies preferred. No HTML msgs.
35 "Every nonfree program has a lord, a master --
36 and if you use the program, he is your master." Richard Stallman