From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1AA6D1396D9 for ; Thu, 12 Oct 2017 04:40:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD9AE2BC027; Thu, 12 Oct 2017 04:40:27 +0000 (UTC) Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4EB44E0BCB for ; Thu, 12 Oct 2017 04:40:27 +0000 (UTC) Received: by mail-qt0-x236.google.com with SMTP id n61so11475267qte.10 for ; Wed, 11 Oct 2017 21:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=hF4lUhkYIEJzsOhJ6A1yrn3c8xk5x2qrp9fDQbqYhiA=; b=NtPdaxo0N+SeP4ssZP1ItTPngeDvuPn+fzadN1DBTRFFDPH6xGnTFUKQYdkbd6SkxT YrpCqcQ94kdJUVx14fJFMMXJv5/l3YP87BhgcI3nMsDF3asH5yEVojbawnpXvPFBaRkh fXlb6WUsMg3OpZ0pqgdrOlPKqIu4u5/DIzQaBfCuNreoqfZXWtnEeyjg3MIJBL3nC+tv J6KyoJIw8PEpa32/OIldzBX9Tu5WeR96Q/BMEFhjtSaIzfFaKN4mEQkVudeCTbR7GZxP 8v20oa0BZnFUcXlXJegaEdGwcsLJ/tX5zRxNUifFFy9UlVETS9N3lb+UkhlxMp1+QuYL 6G4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=hF4lUhkYIEJzsOhJ6A1yrn3c8xk5x2qrp9fDQbqYhiA=; b=EfFZRZadp6BR0osapIBwvV6JxXrABiFiLYYrkFCOyBdY9GynM7GEI9vnb17Ej5OKTE dNxBb1e9IjmLfRGVmTdkA7VDP9wRVwsGsecsDyFeIViHEBOf980C0SfEB8yf9pB0EKoQ 2CmrkhwD9ILcGHmVra+u0MnOKIPlcAP2x4P+mGzXYI2sue2TgWlM2JDvDSucy4jl2Fvr 8JtXhaNaTouik81AoX1mAJ2bZFG4nPRylZCpZ1qTeuJOyfaHNv80olb2xK99zTDEdh1/ wWYof+FV5/SrvS/95sKsgeqfr9SrmtpByKFQ4GEOu2IN/UaxXF7V4JHpH41dWPxpv1Wy 9WLg== X-Gm-Message-State: AMCzsaUzvVfF8plt26UR8AEYUPAmfZ7arVsEGoS85BYK5yRFqfdiI+Zf 02iGGk1jau99VRskAbIR6a3EwQ== X-Google-Smtp-Source: AOwi7QD8k97Jrj2Ga012jeMZkNH8rrtLtT7cEUZfFEYNQyQvfAYkKxmmNI7CsA6J9HRjbWtj9PD5EA== X-Received: by 10.129.35.205 with SMTP id j196mr1036668ywj.143.1507783226246; Wed, 11 Oct 2017 21:40:26 -0700 (PDT) Received: from [192.168.2.5] (adsl-74-240-55-63.jan.bellsouth.net. [74.240.55.63]) by smtp.gmail.com with ESMTPSA id s6sm6268409ywj.81.2017.10.11.21.40.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Oct 2017 21:40:24 -0700 (PDT) Subject: Re: [gentoo-user] Plasmashell consuming huge amounts of memory. To: gentoo-user@lists.gentoo.org References: <28e1c23b-46d3-e0d5-f4ec-3166bc124c03@gmail.com> <6f77571e-e000-b337-25c7-6cda61ffc279@gmail.com> From: Dale Message-ID: <88b2e148-ffd4-5fdc-7f65-295486b1c693@gmail.com> Date: Wed, 11 Oct 2017 23:40:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------DCC7C627C02BD8C8204A9904" X-Archives-Salt: 1a850073-e6d7-49c3-a653-f6f89964457d X-Archives-Hash: 221347b8805b7b3231be5e519b5b3ef4 This is a multi-part message in MIME format. --------------DCC7C627C02BD8C8204A9904 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi, It's trying to install dev-qt/qtdeclarative-5.9.2.  I went back and sort of started from the start.  Figured out where I made a boo boo.  Now it tries to apply the patch but fails to apply properly.  This is the error I get.  >>> Emerging (1 of 1) dev-qt/qtdeclarative-5.9.2::gentoo  * qtdeclarative-opensource-src-5.9.2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                    [ ok ] >>> Unpacking source... >>> Unpacking qtdeclarative-opensource-src-5.9.2.tar.xz to /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work >>> Source unpacked in /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work >>> Preparing source in /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2 ...  * Applying memory.patch ... 1 out of 1 hunk FAILED -- saving rejects to file src/quick/scenegraph/qsgthreadedrenderloop.cpp.rej 2 out of 2 hunks FAILED -- saving rejects to file src/quick/scenegraph/util/qsgatlastexture.cpp.rej 1 out of 1 hunk FAILED -- saving rejects to file src/quick/scenegraph/util/qsgatlastexture_p.h.rej                                                                   [ !! ]  * ERROR: dev-qt/qtdeclarative-5.9.2::gentoo failed (prepare phase):  *   patch -p1  failed with /etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch  *  * Call stack:  *               ebuild.sh, line  115:  Called src_prepare  *             environment, line 3798:  Called qt5-build_src_prepare  *             environment, line 3432:  Called default  *      phase-functions.sh, line  808:  Called default_src_prepare  *      phase-functions.sh, line  873:  Called __eapi6_src_prepare  *             environment, line  273:  Called eapply_user  *             environment, line  979:  Called eapply '/etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'  *             environment, line  949:  Called _eapply_patch '/etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'  *             environment, line  887:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'  *   isolated-functions.sh, line  117:  Called die  * The specific snippet of code:  *              die "$@"  *  * If you need support, post the output of `emerge --info '=dev-qt/qtdeclarative-5.9.2::gentoo'`,  * the complete build log and the output of `emerge -pqv '=dev-qt/qtdeclarative-5.9.2::gentoo'`.  * The complete build log is located at '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'.  * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/temp/build.log'.  * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/temp/environment'.  * Working directory: '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2'  * S: '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2' >>> Failed to emerge dev-qt/qtdeclarative-5.9.2, Log file: >>>  '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'  *  * The following package has failed to build, install, or execute postinst:  *  *  (dev-qt/qtdeclarative-5.9.2:5/5.9::gentoo, ebuild scheduled for merge), Log file:  *   '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'  * root@fireball / # Maybe this is due to it being for a different version or something.  I dunno.  If needed, I may go back to a older version for a bit but suspect it to be a bit of a hassle.  Dale :-)  :-)  P Levine wrote: > What version of dev-qt/qtdeclarative is being installed? > > > On Wed, Oct 11, 2017 at 11:09 PM, Dale > wrote: > > P Levine wrote: >> ​ >> On Wed, Oct 11, 2017 at 7:28 PM, Dale > >wrote: >> >> Howdy, >> >> I did a upgrade recently and after that, plasmashell is >> consuming a huge >> amount of memory.  >> >> >> ​Probably related to >> https://forum.kde.org/viewtopic.php?f=309&t=141169 >>  and >> https://bugreports.qt.io/browse/QTBUG-62117 >> ​. >> >> Try seeing if this patch applies cleanly to dev-qt/qtdeclarative >> and if merging it resolves the issue:  >> https://codereview.qt-project.org/gitweb?p=qt/qtdeclarative.git;a=patch;h=768f606cd3cd37c235e85225127201a42d272946 >> . >> > > > I followed the directions here: > > https://wiki.gentoo.org/wiki//etc/portage/patches > > > I've done it a couple times before, still have some patches there > now, but wanted to be sure I didn't miss anything.  However, when > I tell it to reemerge dev-qt/qtdeclarative, it doesn't apply the > patch.  Usually it has a line that the patch was applied early on > but I never seen it.  Odds are, I'm missing something somewhere.  > I'll look into it more later.  > > Thanks much. > > Dale > > :-)  :-)  > > --------------DCC7C627C02BD8C8204A9904 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Hi,

It's trying to install dev-qt/qtdeclarative-5.9.2.  I went back and sort of started from the start.  Figured out where I made a boo boo.  Now it tries to apply the patch but fails to apply properly.  This is the error I get. 



>>> Emerging (1 of 1) dev-qt/qtdeclarative-5.9.2::gentoo
 * qtdeclarative-opensource-src-5.9.2.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                    [ ok ]
>>> Unpacking source...
>>> Unpacking qtdeclarative-opensource-src-5.9.2.tar.xz to /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work
>>> Preparing source in /var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2 ...
 * Applying memory.patch ...
1 out of 1 hunk FAILED -- saving rejects to file src/quick/scenegraph/qsgthreadedrenderloop.cpp.rej
2 out of 2 hunks FAILED -- saving rejects to file src/quick/scenegraph/util/qsgatlastexture.cpp.rej
1 out of 1 hunk FAILED -- saving rejects to file src/quick/scenegraph/util/qsgatlastexture_p.h.rej                                                                   [ !! ]
 * ERROR: dev-qt/qtdeclarative-5.9.2::gentoo failed (prepare phase):
 *   patch -p1  failed with /etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch
 *
 * Call stack:
 *               ebuild.sh, line  115:  Called src_prepare
 *             environment, line 3798:  Called qt5-build_src_prepare
 *             environment, line 3432:  Called default
 *      phase-functions.sh, line  808:  Called default_src_prepare
 *      phase-functions.sh, line  873:  Called __eapi6_src_prepare
 *             environment, line  273:  Called eapply_user
 *             environment, line  979:  Called eapply '/etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'
 *             environment, line  949:  Called _eapply_patch '/etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'
 *             environment, line  887:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/dev-qt/qtdeclarative-5.9.2/memory.patch'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtdeclarative-5.9.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtdeclarative-5.9.2::gentoo'`.
 * The complete build log is located at '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2'
 * S: '/var/tmp/portage/dev-qt/qtdeclarative-5.9.2/work/qtdeclarative-opensource-src-5.9.2'

>>> Failed to emerge dev-qt/qtdeclarative-5.9.2, Log file:

>>>  '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (dev-qt/qtdeclarative-5.9.2:5/5.9::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/dev-qt:qtdeclarative-5.9.2:20171012-043431.log'
 *
root@fireball / #


Maybe this is due to it being for a different version or something.  I dunno. 

If needed, I may go back to a older version for a bit but suspect it to be a bit of a hassle. 

Dale

:-)  :-) 



P Levine wrote:
What version of dev-qt/qtdeclarative is being installed?


On Wed, Oct 11, 2017 at 11:09 PM, Dale <rdalek1967@gmail.com> wrote:
P Levine wrote:
On Wed, Oct 11, 2017 at 7:28 PM, Dale <rdalek1967@gmail.com> wrote:
Howdy,

I did a upgrade recently and after that, plasmashell is consuming a huge
amount of memory. 


Try seeing if this patch applies cleanly to dev-qt/qtdeclarative and if merging it resolves the issue: 



I followed the directions here:

https://wiki.gentoo.org/wiki//etc/portage/patches

I've done it a couple times before, still have some patches there now, but wanted to be sure I didn't miss anything.  However, when I tell it to reemerge dev-qt/qtdeclarative, it doesn't apply the patch.  Usually it has a line that the patch was applied early on but I never seen it.  Odds are, I'm missing something somewhere.  I'll look into it more later. 

Thanks much.

Dale

:-)  :-) 


--------------DCC7C627C02BD8C8204A9904--