Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Plasmashell consuming huge amounts of memory.
Date: Thu, 12 Oct 2017 04:40:34
Message-Id: 88b2e148-ffd4-5fdc-7f65-295486b1c693@gmail.com
In Reply to: Re: [gentoo-user] Plasmashell consuming huge amounts of memory. by P Levine
1 Hi,
2
3 It's trying to install dev-qt/qtdeclarative-5.9.2.  I went back and sort
4 of started from the start.  Figured out where I made a boo boo.  Now it
5 tries to apply the patch but fails to apply properly.  This is the error
6 I get. 
7
8
9
10 >>> Emerging (1 of 1) dev-qt/qtdeclarative-5.9.2::gentoo
11  * qtdeclarative-opensource-src-5.9.2.tar.xz SHA256 SHA512 WHIRLPOOL
12 size ;-)
13 ...                                                                                   
14 [ ok ]
15 >>> Unpacking source...
16 >>> Unpacking qtdeclarative-opensource-src-5.9.2.tar.xz to
17 /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work
18 >>> Source unpacked in /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work
19 >>> Preparing source in
20 /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2
21 ...
22  * Applying memory.patch ...
23 1 out of 1 hunk FAILED -- saving rejects to file
24 src/quick/scenegraph/qsgthreadedrenderloop.cpp.rej
25 2 out of 2 hunks FAILED -- saving rejects to file
26 src/quick/scenegraph/util/qsgatlastexture.cpp.rej
27 1 out of 1 hunk FAILED -- saving rejects to file
28 src/quick/scenegraph/util/qsgatlastexture_p.h.rej                                                                  
29 [ !! ]
30  * ERROR: dev-qt/qtdeclarative-5.9.2::gentoo failed (prepare phase):
31  *   patch -p1  failed with
32 /etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch
33  *
34  * Call stack:
35  *               ebuild.sh, line  115:  Called src_prepare
36  *             environment, line 3798:  Called qt5-build_src_prepare
37  *             environment, line 3432:  Called default
38  *      phase-functions.sh, line  808:  Called default_src_prepare
39  *      phase-functions.sh, line  873:  Called __eapi6_src_prepare
40  *             environment, line  273:  Called eapply_user
41  *             environment, line  979:  Called eapply
42 '/etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'
43  *             environment, line  949:  Called _eapply_patch
44 '/etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'
45  *             environment, line  887:  Called __helpers_die 'patch -p1 
46 failed with /etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'
47  *   isolated-functions.sh, line  117:  Called die
48  * The specific snippet of code:
49  *              die "$@"
50  *
51  * If you need support, post the output of `emerge --info
52 '=dev-qt/qtdeclarative-5.9.2::gentoo'`,
53  * the complete build log and the output of `emerge -pqv
54 '=dev-qt/qtdeclarative-5.9.2::gentoo'`.
55  * The complete build log is located at
56 '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'.
57  * For convenience, a symlink to the build log is located at
58 '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/temp/build.log'.
59  * The ebuild environment file is located at
60 '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/temp/environment'.
61  * Working directory:
62 '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2'
63  * S:
64 '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2'
65
66 >>> Failed to emerge dev-qt/qtdeclarative-5.9.2, Log file:
67
68 >>>  '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'
69  *
70  * The following package has failed to build, install, or execute postinst:
71  *
72  *  (dev-qt/qtdeclarative-5.9.2:5/5.9::gentoo, ebuild scheduled for
73 merge), Log file:
74  *   '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'
75  *
76 root@fireball / #
77
78
79 Maybe this is due to it being for a different version or something.  I
80 dunno. 
81
82 If needed, I may go back to a older version for a bit but suspect it to
83 be a bit of a hassle. 
84
85 Dale
86
87 :-)  :-) 
88
89
90
91 P Levine wrote:
92 > What version of dev-qt/qtdeclarative is being installed?
93 >
94 >
95 > On Wed, Oct 11, 2017 at 11:09 PM, Dale <rdalek1967@×××××.com
96 > <mailto:rdalek1967@×××××.com>> wrote:
97 >
98 > P Levine wrote:
99 >> ​
100 >> On Wed, Oct 11, 2017 at 7:28 PM, Dale <rdalek1967@×××××.com
101 >> <mailto:rdalek1967@×××××.com>>wrote:
102 >>
103 >> Howdy,
104 >>
105 >> I did a upgrade recently and after that, plasmashell is
106 >> consuming a huge
107 >> amount of memory. 
108 >>
109 >>
110 >> ​Probably related to
111 >> https://forum.kde.org/viewtopic.php?f=309&t=141169
112 >> <https://forum.kde.org/viewtopic.php?f=309&t=141169> and
113 >> https://bugreports.qt.io/browse/QTBUG-62117
114 >> <https://bugreports.qt.io/browse/QTBUG-62117>​.
115 >>
116 >> Try seeing if this patch applies cleanly to dev-qt/qtdeclarative
117 >> and if merging it resolves the issue: 
118 >> https://codereview.qt-project.org/gitweb?p=qt/qtdeclarative.git;a=patch;h=768f606cd3cd37c235e85225127201a42d272946
119 >> <https://codereview.qt-project.org/gitweb?p=qt/qtdeclarative.git;a=patch;h=768f606cd3cd37c235e85225127201a42d272946>.
120 >>
121 >
122 >
123 > I followed the directions here:
124 >
125 > https://wiki.gentoo.org/wiki//etc/portage/patches
126 > <https://wiki.gentoo.org/wiki//etc/portage/patches>
127 >
128 > I've done it a couple times before, still have some patches there
129 > now, but wanted to be sure I didn't miss anything.  However, when
130 > I tell it to reemerge dev-qt/qtdeclarative, it doesn't apply the
131 > patch.  Usually it has a line that the patch was applied early on
132 > but I never seen it.  Odds are, I'm missing something somewhere. 
133 > I'll look into it more later. 
134 >
135 > Thanks much.
136 >
137 > Dale
138 >
139 > :-)  :-) 
140 >
141 >

Replies

Subject Author
Re: [gentoo-user] Plasmashell consuming huge amounts of memory. P Levine <plevine457@×××××.com>