Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414721 - dev-util/kdevelop-4.3.1 crashes when building project when Qt is built with USE=debug
Summary: dev-util/kdevelop-4.3.1 crashes when building project when Qt is built with U...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-05 12:02 UTC by Matěj Laitl
Modified: 2012-05-07 11:42 UTC (History)
0 users

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


Attachments
kdevelop-4.3.1-fix-assert.patch (kdevelop-4.3.1-fix-assert.patch,1.15 KB, text/plain)
2012-05-05 12:02 UTC, Matěj Laitl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matěj Laitl 2012-05-05 12:02:14 UTC
Created attachment 310865 [details]
kdevelop-4.3.1-fix-assert.patch

Upstream bug is: https://bugs.kde.org/show_bug.cgi?id=297644

Patching kdevelop with a diff from http://quickgit.kde.org/index.php?p=kdevelop.git&a=commit&h=8a0b638c58dcfe261ce789963be2413300a65fc6 solves the bug for me, so I suggest adding the patch to Gentoo ebuild.

$ diff -u /usr/portage/dev-util/kdevelop/kdevelop-4.3.1.ebuild /usr/local/portage/dev-util/kdevelop/kdevelop-4.3.1.ebuild 
--- /usr/portage/dev-util/kdevelop/kdevelop-4.3.1.ebuild        2012-04-15 01:31:20.000000000 +0200
+++ /usr/local/portage/dev-util/kdevelop/kdevelop-4.3.1.ebuild  2012-05-05 13:56:38.021173170 +0200
@@ -34,6 +34,11 @@
 RESTRICT="test"
 # see bug 366471
 
+src_prepare() {
+       epatch "${FILESDIR}/${P}-fix-assert.patch"
+       kde4-base_src_prepare
+}
+
 src_configure() {
        mycmakeargs=(
                $(cmake-utils_use_build cmake)
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2012-05-07 11:42:16 UTC
Thanks, patch added.

+  07 May 2012; Johannes Huber <johu@gentoo.org>
+  +files/kdevelop-4.3.1-fix-assert.patch, +kdevelop-4.3.1-r1.ebuild:
+  Revision bump adds upstream patch to fix crash when building project if qt is
+  built with USE=debug spotted by Matěj Laitl <matej@laitl.cz> wrt bug #414721.