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 643C0158041 for ; Wed, 8 Sep 2021 15:24:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E300AE09BA; Wed, 8 Sep 2021 15:24:52 +0000 (UTC) Received: from neon.hostmds.com (neon.hostmds.com [208.88.6.30]) (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 68AD4E0990 for ; Wed, 8 Sep 2021 15:24:48 +0000 (UTC) Received: from fctnnbsc38w-142-162-166-27.dhcp-dynamic.fibreop.nb.bellaliant.net ([142.162.166.27]:43256 helo=fellowsandcarr.ca) by neon.hostmds.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mNzRV-000Khe-Qc; Wed, 08 Sep 2021 11:24:47 -0400 To: gentoo-user@lists.gentoo.org, Ramon Fischer From: "David M. Fellows" Subject: Re: [gentoo-user] Re: Compile large packages as last package In-reply-to: References: Comments: In-reply-to Ramon Fischer message dated "Wed, 08 Sep 2021 14:12:15 +0200." X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 27.2 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8011.1631114687.1@owl.pooh.corner> Date: Wed, 08 Sep 2021 12:24:47 -0300 Message-ID: <8012.1631114687@owl.pooh.corner> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - neon.hostmds.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fellowsandcarr.ca X-Get-Message-Sender-Via: neon.hostmds.com: authenticated_id: dmf+fellowsandcarr.ca/only user confirmed/virtual account not confirmed X-Authenticated-Sender: neon.hostmds.com: dmf@fellowsandcarr.ca X-Source: X-Source-Args: X-Source-Dir: X-Archives-Salt: b5b2c4dc-5555-484f-a951-4c1f7fc7107a X-Archives-Hash: a95724618de8c71d12011044afa9c706 >Thank you for your ideas! > >I was actually hoping for a neat hack with "/etc/portage/env/" and >"/etc/portage/package.env/", where you can set environment variables. Did you look at example 2 in https://wiki.gentoo.org/wiki//etc/portage/package.env ? It seems to address your problem. DaveF > >I will try out the following solution: > > $ < "/etc/portage/package.env/no_tmpfs.conf > # custom - 20181121 - rfischer: list packages, which are too big for > tmpfs > #app-emulation/qemu-kv no_tmpfs.conf > #app-office/libreoffice no_tmpfs.conf > #dev-java/icedtea no_tmpfs.conf > #dev-lang/ghc no_tmpfs.conf > #dev-lang/rust no_tmpfs.conf > #mail-client/thunderbird no_tmpfs.conf > #sci-libs/tensorflow no_tmpfs.conf > #sys-devel/gcc no_tmpfs.conf > #www-client/firefox no_tmpfs.conf > #www-client/ungoogled-chromium no_tmpfs.conf #throttle_make_emerge.conf > > $ < "${HOME}/bin/update.sh" > [...] > large_package_list=$(/bin/grep --extended-regexp --only-matching > "[a-z]+-[a-z]+\/[-0-9a-zA-Z]+" "/etc/portage/package.env/no_tmpfs.conf") > [...] > /usr/bin/emerge --ask --update --deep --newuse --tree --verbose > --exclude="${large_package_list//$'\n'/ }" @world > /usr/bin/emerge --ask --update --deep --newuse --tree --verbose @world > >-Ramon > >On 15/08/2021 17:48, Nikos Chantziaras wrote: >> On 14/08/2021 22:20, Ramon Fischer wrote: >>> Is there any way to tell "portage", that packages like "qtwebengine", >>> "(ungoogled-)chromium", "firefox" and so on are always compiled as >>> last package? >> >> The simplest way is to exclude those packages in the first update, and >> then allow them in the second: >> >> emerge -uDU @world --exclude "qtwebengine firefox chromium" && emerge >> -uDU @world >> >> The dependency tracker of portage will of course also exclude packages >> that depend on the excluded packages, unless they themselves have >> updates pending. In that case, they *might* get built twice; once >> against the current version of the excluded packages, and then perhaps >> again on the second run, if there's rebuild triggers involved. >> >> Most of the time though, you won't run into cases of redundant >> rebuilds. Rebuild triggers are not very common. >> >> > >-- >GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF > > > >>> application/pgp-signature attachment, name=OpenPGP_signature