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 D568E158041 for ; Wed, 8 Sep 2021 19:58:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA1CFE0933; Wed, 8 Sep 2021 19:57:44 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-oln040092065016.outbound.protection.outlook.com [40.92.65.16]) (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 BFF15E091A for ; Wed, 8 Sep 2021 19:57:43 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ksQwOFueIl0VJWXynDDxqIhsYyrY0LVndXJQyNU9vKrBjJbdH11GL4L+CFenLGwXnr3PWjf8Ot6G66c2gTn4i6UfRf/j8D9+ryqYZgN5+aAdl8XkXT4oofguftrWdCu+3zxfgihCDaJzvSlKwzgWD/SX45CdU1MvEymFEUAxaDvy4MAC8e+CYw8lzBLSAcbAjrA1pGLn++HaSHs/QyVL/JfeWNLj4doPoJoSTNUsmqFTG5Yp4X2AGRzxmqj+Q+dI1/5cY9otNxTpXHQtxGlTVpvBhz0Jz6j0hbG9dUNhPI5+QPMPMe9dJRtF0uvynOH/7XUmWpUredN96I8OTsTd0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dcyvTtDrGyMEDtKao6HZXZgohNHFJeUWkL3t3aAHJqs=; b=GHqWJXikl+cu4MX6d/e4BdLhbr6xlDvnDdn/NrF+ycSs2T2da/5h31MwFwgq+79drtonFuiQ8fRSe51CUB1yRFYIyvkgLnJpjCKAsNkpef2dS4MyIT1Qm6KmQviS4ewyTzUOIPQbk91kXdikvwKKcRaCkGUfSatGX6odrZd7Wu6VhjKFJJBsApCOnCIW0EFcxS9Lj1V8AJNhKPrqLQ8O6mtoUOUyWBf/4BZKtw1RiwVcf2yLwLKSqazJ7lLGzJXljG8ETPzl4LVfZ2wkvigZj7QWwCyDjL3DvO4HtfEWbeSKWjViN0XxE9M9OOysydhedkXtNq4+vkTs/BcKIyy1tA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from HE1EUR01FT038.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e18::46) by HE1EUR01HT172.eop-EUR01.prod.protection.outlook.com (2a01:111:e400:7e18::429) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Wed, 8 Sep 2021 19:57:40 +0000 Received: from AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM (2a01:111:e400:7e18::4d) by HE1EUR01FT038.mail.protection.outlook.com (2a01:111:e400:7e18::349) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 19:57:40 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:FAEB4A9C45D3481D2B9E6576D4521DD0CFC03512C6E5FA969758D9D416E538B6;UpperCasedChecksum:DDF671CCA93C99B7378B3ECACA8F099689F9DB0B788ADD450C198C89D817C151;SizeAsReceived:8992;Count:45 Received: from AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM ([fe80::429:de52:1152:d88b]) by AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM ([fe80::429:de52:1152:d88b%7]) with mapi id 15.20.4500.014; Wed, 8 Sep 2021 19:57:40 +0000 To: "David M. Fellows" , gentoo-user@lists.gentoo.org References: <8012.1631114687@owl.pooh.corner> From: Ramon Fischer Subject: Re: [gentoo-user] Re: Compile large packages as last package [SOLVED] Message-ID: Date: Wed, 8 Sep 2021 21:57:38 +0200 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) In-Reply-To: <8012.1631114687@owl.pooh.corner> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="XkQFXESc55a0Exph2jmEzShwwGMIBjLPe" X-TMN: [QaQgY8KUv8ijuWi3dmhQWir5t8B5nqCeTX4qcFyvvpiID9mGnYw6SsTUG6K6h/k0] X-ClientProxiedBy: AM0PR02CA0005.eurprd02.prod.outlook.com (2603:10a6:208:3e::18) To AM6PR10MB2440.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:4c::30) X-Microsoft-Original-Message-ID: <52295aa0-55f5-a809-29b8-0d315c995740@hotmail.de> 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 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2a0a:a545:168:0:80a1:cb76:3526:a7cb] (2a0a:a545:168:0:80a1:cb76:3526:a7cb) by AM0PR02CA0005.eurprd02.prod.outlook.com (2603:10a6:208:3e::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14 via Frontend Transport; Wed, 8 Sep 2021 19:57:39 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: b64b07a2-61a2-4fd9-2098-08d97302e9ca X-MS-TrafficTypeDiagnostic: HE1EUR01HT172: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: QZs8jRHu84U+/RuwrUi2y0WYPs8VRrhFqBOZ7QvAwzMgrkgkZfqUEqxysMqwhWd9vp7ezWByRq0V/qjJMk92gowH59YiTn0F3hP7A3bSKW0Zt1mlVfIOfbkAw3jwEen3U+gMyDam+u1DRg3bj6O6ddvWCkliKmDoQu+lYqKf/EKyvOjAWmJ+zslCu3wwgc7VzCVfJ5sqquBeIGvIzzRBs6oYvjsNnDe/+Y73H7TQWYz4RAzKQ41ww4s2vcY3e0XRro+lPOZH3jD4IEIesM06eiklkXRzKJHSHL+B/INW8X+JF4aBG8132I3UyhaICaHHf5fqy7jqpIa5QnnvuEcVxPqOKixOekyT1RN33XDTW6aCu8eAL9rcQMicJY1ThsgKzQD/PMXmzOH8VpiJr4bY3xK9nk1kSdXGNbMa5/1ly3CqALi2dmMoVNJ/5Kfum3N4FATUQlWiFWp1VIsTYNykWQNLXCrWSp9L42IsVTeCAF4= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CLSf2GjfAV7o1ZpY+Cewl03HtfXRr3XrP8ZLQ4oeNjmia2m+dOhW57FDbkn8oqjxF0oofaL5JMpk38toJ0cdy7aF408Qe5Oqj5mgiBUoPCn9wrDYhQOcE8opLQKwCcs+7pk1IhaCzcGXcC+Gj3C2QWu1HLgYls5ve8ReM9uNXl6QIxUkM9oflnV8QsinQu3Em3Jf174eFJs7ZMlIG+/avA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b64b07a2-61a2-4fd9-2098-08d97302e9ca X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Sep 2021 19:57:40.4349 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: HE1EUR01FT038.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT172 X-Archives-Salt: db0f258c-8cb0-48ed-a459-16585f957890 X-Archives-Hash: 47dd7247b94f2e9a539ee3b29e753ab9 --XkQFXESc55a0Exph2jmEzShwwGMIBjLPe Content-Type: multipart/mixed; boundary="qTXenvXQb0ZbE4UJWDKC6Iaw5vsV3FKvs"; protected-headers="v1" From: Ramon Fischer To: "David M. Fellows" , gentoo-user@lists.gentoo.org Message-ID: <52295aa0-55f5-a809-29b8-0d315c995740@hotmail.de> Subject: Re: [gentoo-user] Re: Compile large packages as last package [SOLVED] References: <8012.1631114687@owl.pooh.corner> In-Reply-To: <8012.1631114687@owl.pooh.corner> --qTXenvXQb0ZbE4UJWDKC6Iaw5vsV3FKvs Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-US Thank you for the hint, but I am very aware of this. As the subject says, I want to compile large packages as last package,=20 since it sometimes happens, that a large package may get compiled as=20 package 245 of 300 for example; blocking other small packages. I just re-used "/etc/portage/package.env/no_tmpfs.conf", since it=20 already contains a list of large packages, which most likely need a long = time to compile. I should have been more elaborate in my last e-mail: I was actually hoping for a neat hack, where you can tag or prioritise (not nice or renice) packages in "/etc/portage/env/" or "/etc/portage/package.env/" to compile them as last packages. The solution with "--exclude" is working well so far; I had no redundant = rebuilds. :) Maybe I need to tweak it later on, if rebuilds occur frequently, but=20 this for another time. -Ramon On 08/09/2021 17:24, David M. Fellows wrote: >> 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 f= or >> 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= =2Econf >> >> $ < "${HOME}/bin/update.sh" >> [...] >> large_package_list=3D$(/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=3D"${large_package_list//$'\n'/ }" @world >> /usr/bin/emerge --ask --update --deep --newuse --tree --verbose @w= orld >> >> -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, an= d >>> 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 package= s >>> 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 perhap= s >>> 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. >>> >>> >> --=20 >> GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF >> >> >> >>>> application/pgp-signature attachment, name=3DOpenPGP_signature --=20 GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF --qTXenvXQb0ZbE4UJWDKC6Iaw5vsV3FKvs-- --XkQFXESc55a0Exph2jmEzShwwGMIBjLPe Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWYOY2l9NpGQ4/c+HFVviZBPmmb8FAmE5FbMFAwAAAAAACgkQFVviZBPmmb8A gBAA0jIo4J6ctyD5LhHW/HfjkZIkNEs+unU2vKzKOE9gi+Ng/+bzz+qHBhVmUquqGWwbM3gV2N9I 31aLEFDzlVd9Na6zTCIpIZPCXFICMKeMh/dWXiUmCWyFN0VZIioWZeXC3fQbEhQ5fc31zOHi2z9v 8+lUjSY0r5PrGgHhPTaQ3Yvw27b1on8YNkaNKskL6T1Jlm0+YZcED7o/0J4tMJ8tn4+T0IoJtisk 4I72LyE52k1O+jhUfBDWUwVrHe65TGcPLGk3+btwMb/CpXY0zCQCaNWHaEODyrDOo/TQ5epEF0dV utSRg1K5iJA84wSUOBTg1k3Q5r80aYeecpQek7bUqxf3Y4LrfJ6gN8gVTQNoXEHyDQs/t8Rp1TZ6 SSFP24fsunJ5jNVbm9D90Vot8e5RmJpYBqlmoVNyKLwQPSt0266Wrq9Zu4AXqx4xUZ3jcGsz3Tcg 9UgqBwdFik4ZRWGCrOruKT85O/6Lwn2WCXX83P/nTze2cKdyAFjWjZmha+qm1kNosb1SUe6TmYeu /UcmLVlX6a/UflJx1XQ0+Q82/TdZ5e+WXc6auT7hf34ni+Pf/KnetXK2/Lt+ARfWYH+yrxxOb7AV 2hIEPbOFtsNQQX6+3wd4IYZcjkYP0wuXvUqmlZepWC3VZhLIlbhVqyCn7NtpSsk0jnm1nZIQw0J3 e8A= =dV4m -----END PGP SIGNATURE----- --XkQFXESc55a0Exph2jmEzShwwGMIBjLPe--