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 7C29B1582EF for ; Sun, 09 Feb 2025 16:46:16 +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 5F94C343120 for ; Sun, 09 Feb 2025 16:46:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D716011047E; Sun, 09 Feb 2025 16:45:09 +0000 (UTC) Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (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 C1CA41103CB for ; Sun, 09 Feb 2025 16:45:08 +0000 (UTC) Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-e5b32f64ffeso2915671276.3 for ; Sun, 09 Feb 2025 08:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739119507; x=1739724307; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=V6b912+VipXVjXvFRjAY1H6Vz0tw3DW1ejtH5mAd2U8=; b=JnH+OxD6eNObQOxHGt20RMvRe6KceZce8Dy5PW80i/2D10AVlm9rOaCTTq6Qyy4FmR z9tYiizAL7HA7iFEzTByLUgVnp/oZLV4WFrnkjz/+89Q2gm/uqycbdHHmUYopCHu5Nii EN7SP7oc+9Dx6NU9itOHYuJZNUqcaS4WN+F7YVpW72f3QoCZlY2YKJs/4/C8qxT6cJhR jNo/btNjq16l/pT/xNHVsBHBYWYKhuOxcyBYT8bwwIBa1e6NiS/7A1E2ocZ0Aj4FwbE0 ZrZ5y4G3jOjFQQjNNr6fCOC+MPDesoZuSYCaIoUUM4pZ1DAkoX1S3E4PR5irlFtKUyuV 5Mdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739119507; x=1739724307; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=V6b912+VipXVjXvFRjAY1H6Vz0tw3DW1ejtH5mAd2U8=; b=aP0WIsGkmzV+4sXqN1uH7YTRW+3esctPU/nmuvx2ZWJ6oloq4pPD6JboX9MFOlpdus 3MrmIoz+p9nbPvVjOVVaZY1riw/TVSgX2lOARyz9cWxFYNNMqxWzfs3a0LqU+UA447l/ KNIap7DcXprGuF5SjxvCgDsm3ETitSkwbgDpJEzZ+ahxxL5urdDWC3SaJFBcRERhIUYD MJ92TN2wVkzUTGpfCZbBNawt0gUaGLtA66TOqfmdyiOR3s/q4eIsFpZMyqnU3O0kB9c1 6giZo9ESOaMvUUlgQs8PPnwFspH4Vbk1TmaTwpfFlAu1FrYZsSOTsq2ei8euQB9x7XGo fUow== X-Gm-Message-State: AOJu0YyuEM9CqwLVww1xAEDBjkH0mKhhNpueJgTI9brJ+If76JFrghsQ FrLy1BUzf/6GaI5wNXsbfkYbE7HqPj3tR7b56pj9wobugcMAMNQCag6/N8/fzpPcnskBQEr0f5W 8HzNlSScwey1zjygRvFmqcZBVPJy+BcuIWUs= X-Gm-Gg: ASbGnctTOiPO5CCqfNxrJy4grrYFiMhhHLBUk7PRJrnQwjJZibZzpQVytUiXm6L+Tl5 NSh4+cyjpSOqqoteGZI97Fp6dKgcW39p6f+n0brosG2hRIhG9kqEkuZIdFoKGtKjbOkwvZfo= X-Google-Smtp-Source: AGHT+IEIVABvKg5T1GX8VHE6b5F7K7ARSnd51Sdb1sDsIEoC2sVXXg1AbpAdG7I4m5L1A258qnTVr5YynU1XoH+hqGE= X-Received: by 2002:a05:6902:240e:b0:e5b:2e2f:e4e6 with SMTP id 3f1490d57ef6-e5b461c2fe2mr8982308276.29.1739119507419; Sun, 09 Feb 2025 08:45:07 -0800 (PST) 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 References: In-Reply-To: From: Jacques Montier Date: Sun, 9 Feb 2025 17:44:55 +0100 X-Gm-Features: AWEUYZmx99IBuqsH53T1ue20eqS7qlX7PoHeBRZOyZWADRxlH0uPKAI9T092xSA Message-ID: Subject: Re: [gentoo-user] Question about compilation To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000763b21062db850cc" X-Archives-Salt: 23f2cf6b-cfc2-4f50-b5d5-bc1af2cc1603 X-Archives-Hash: 1db3f4b28bd834e3775878abae18a249 --000000000000763b21062db850cc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le dim. 9 f=C3=A9vr. 2025 =C3=A0 15:36, H=C3=A5kon Alstadheim a =C3=A9crit : > 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=3D/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. > > > > Thank you all for your feedback and advice. For testing, - emerge media-libs/opencv-4.10.0 - some time later CTRL+C to stop compilation Then I followed Jack's advice - ebuild /var/db/repos/gentoo/media-libs/opencv/opencv-4.10.0.ebuild compil= e - ebuild /var/db/repos/gentoo/media-libs/opencv/opencv-4.10.0.ebuild instal= l - ebuild /var/db/repos/gentoo/media-libs/opencv/opencv-4.10.0.ebuild qmerge Everything worked fine, thanks a lot. Good evening to all, Best regards, -- Jacques --000000000000763b21062db850cc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Le= =C2=A0dim. 9 f=C3=A9vr. 2025 =C3=A0=C2=A015:36, H=C3=A5kon Alstadheim <<= a href=3D"mailto:hakon@alstadheim.priv.no">hakon@alstadheim.priv.no>= a =C3=A9crit=C2=A0:
Den 08.02.2025 15:47, skrev Jacques Montier:
> =C2=A0Hello 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 <= br> > start over from the beginning ?
>
> Thank you for your response.
>
For the big compiles I set PORTAGE_TMPDIR=3D/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:

<code> ebuild `equery w www-client/firefox ` merge. </code>

make=C2=A0 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.



=C2=A0
Thank you all for your feedback and = advice.
For testing,
- emerge=C2=A0media-libs/opencv-4.= 10.0
- some time later CTRL+C to stop compilation

<= /div>Then I followed Jack's advice
-=C2=A0ebuild /var/db/repos/gent= oo/media-libs/opencv/opencv-4.10.0.ebuild compile
-=C2=A0ebuild /= var/db/repos/gentoo/media-libs/opencv/opencv-4.10.0.ebuild install
-=C2=A0ebuild /var/db/repos/gentoo/media-libs/opencv/opencv-4.10.0.ebuild= qmerge=C2=A0

Everything worked fine,=C2=A0thanks = a=C2=A0lot.

Good evening to all,

Best regards,

--
Jacques

=C2=A0
--000000000000763b21062db850cc--