From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB40E1582EF for ; Sun, 09 Feb 2025 14:37:33 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AD1FA343238 for ; Sun, 09 Feb 2025 14:37:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 84FA011047E; Sun, 09 Feb 2025 14:36:28 +0000 (UTC) Received: from altibox-smtp1.altibox.no (altibox-smtp1-bis.altibox.no [212.97.141.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 342E91103CB for ; Sun, 09 Feb 2025 14:36:26 +0000 (UTC) Received: from alti-pct-smtp1 (unknown [172.17.0.3]) by altibox-smtp1.altibox.no (Postfix) with ESMTP id 3DBBE10697EB for ; Sun, 9 Feb 2025 15:36:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 altibox-smtp1.altibox.no 3DBBE10697EB Authentication-Results: altibox-smtp1.altibox.no; dkim=pass (1024-bit key, unprotected) header.d=alstadheim.priv.no header.i=@alstadheim.priv.no header.a=rsa-sha256 header.s=smtp header.b=gQuPTBq1 X-Fuglu-Spamstatus: NO X-Fuglu-Suspect: 38fa3f695b9b42f8a0b18cf200c55511 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED=-1 autolearn=disabled version=4.0.0 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on alti-pct-smtp1.altibox.int X-Spam-RelaysUntrusted: X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP X-Fuglu-Incomingport: 10050 X-Fuglu-Suspect: 38fa3f695b9b42f8a0b18cf200c55511 Received: from alti-v7-smtp3.altibox.no (unknown [172.16.220.73]) by altibox-smtp1.altibox.no (Postfix) with ESMTPS id 94F171068DC8 for ; Sun, 9 Feb 2025 15:36:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by alti-v7-smtp3.altibox.no (Postfix) with ESMTP id 4YrVdD3qMdz3lNX2 for ; Sun, 9 Feb 2025 15:36:16 +0100 (CET) X-Virus-Scanned: amavisd-new at localdomain Received: from alti-v7-smtp3.altibox.no ([127.0.0.1]) by localhost (alti-v7-smtp3.altibox.int [127.0.0.1]) (amavisd-new, port 10050) with LMTP id 82EjIdjGSzJu for ; Sun, 9 Feb 2025 15:36:16 +0100 (CET) Received: from postfix-relay.alstadheim.priv.no (148-252-106.155.3p.ntebredband.no [148.252.106.155]) (Authenticated sender: hakon.alstadheim@ntebb.no) by alti-v7-smtp3.altibox.no (Postfix) with ESMTPSA id 4YrVdD32KCz3kNbH for ; Sun, 9 Feb 2025 15:36:15 +0100 (CET) X-Finnesikke-B-A-I-T: finnesikke@alstadheim.priv.no Received: from smtps.alstadheim.priv.no (localhost [127.0.0.1]) by postfix-relay.alstadheim.priv.no (Postfix) with ESMTP id F13648487F58 for ; Sun, 9 Feb 2025 15:36:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=alstadheim.priv.no; s=smtp; t=1739111774; bh=KN8r9ylM60JDL7OFXKHkV5O+YhhPACVX52xES1CvH+c=; h=Date:Subject:To:References:From:In-Reply-To:From; b=gQuPTBq1hI2lUJdJhUEznBUKy4s1L68rV8wkii/IAKagsqmwVilV8Zz7+paCCGhft m+0kfljjUso+zHU1aGB6eOlKl6N1f3DHLgNqWb7DxD5qRi+Mho28U/id+W9Mj8L72u l7BAt1dIZC3dtFho2RezHDCrDU9Ubdx00nUI9rwk= Received: from [192.168.2.201] (gt.alstadheim.priv.no [192.168.2.201]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: hakon) by smtps.alstadheim.priv.no (Postfix) with ESMTPSA id CAD5170D4723 for ; Sun, 9 Feb 2025 15:36:14 +0100 (CET) Message-ID: Date: Sun, 9 Feb 2025 15:36:14 +0100 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 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Question about compilation To: gentoo-user@lists.gentoo.org References: Content-Language: en-US, nb-NO From: =?UTF-8?Q?H=C3=A5kon_Alstadheim?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Archives-Salt: 7026c164-751f-41ed-9d52-bd8088d90d4c X-Archives-Hash: b5a22fea651c91dde54eaac344042545 Den 08.02.2025 15:47, skrev Jacques Montier: >  Hello everyone, > > Is it possible to stop a compilation midway in the case of a very long > compilation and then resume it from the same point without having to > start over from the beginning ? > > Thank you for your response. > For the big compiles I set PORTAGE_TMPDIR=/pt/ , which I have created and which is NOT a tmpfs, so it will survive a reboot (and I don't have enough ram anyway) . You might also want to check FEATURES, either globally or on a per-package basis, make sure you don't have fail-clean. Watch out so your newly permanent tmpdir does not fill up. Then, if it dies for some reason, I do for example: ebuild `equery w www-client/firefox ` merge. make  or cmake or whatever will do the best it can to pick up where it left off. P.S: Search the web to find out to set FEATURES and PORTAGE_TMPDIR in the environment on a per-package basis, or just prepend the settings to your command-line.