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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A519158089 for ; Wed, 13 Sep 2023 03:14:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A48E52BC0B5; Wed, 13 Sep 2023 03:14:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 71A642BC014 for ; Wed, 13 Sep 2023 03:14:09 +0000 (UTC) References: <20230912191501.536700-1-eschwartz93@gmail.com> <1affddb8-221c-4c67-4395-03c2425d0e0e@gmail.com> <39ec5b95f8af61cc9e580b8f98cf8ce01b728d14.camel@gentoo.org> <3b8c01be-2ac6-8594-e841-fbbff9ea1ec4@gmail.com> User-agent: mu4e 1.10.6; emacs 30.0.50 From: Sam James To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: teach setuptools to respect (some) build options Date: Wed, 13 Sep 2023 04:13:59 +0100 Organization: Gentoo In-reply-to: <3b8c01be-2ac6-8594-e841-fbbff9ea1ec4@gmail.com> Message-ID: <87sf7ivk76.fsf@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8ae2396b-9fd7-4a3c-b006-854bcb16ec38 X-Archives-Hash: 5d3a708ccfbd25aa722f25ab90afc2aa Eli Schwartz writes: > On 9/12/23 10:26 PM, Micha=C5=82 G=C3=B3rny wrote: >> On Tue, 2023-09-12 at 22:07 -0400, Eli Schwartz wrote: >>> On 9/12/23 3:56 PM, Ulrich Mueller wrote: >>>>>>>>> On Tue, 12 Sep 2023, Eli Schwartz wrote: >>>> >>>>> + mkdir -p "${BUILD_DIR}" || die >>>>> + local -x DIST_EXTRA_CONFIG=3D"${BUILD_DIR}/extra-setup.cfg" >>>>> + cat > "${DIST_EXTRA_CONFIG}" <<-EOF >>>>> + [build] >>>>> + build_base =3D ${BUILD_DIR}/build >>>>> + >>>>> + [build_ext] >>>>> + parallel =3D ${jobs} >>>>> + EOF >>>> >>>> "|| die" should also be added for the cat command. >>> >>> >>> Redirecting output to a file in a directory you have just guaranteed to >>> exist cannot fail. >>=20 >> Eh, you make me prove you wrong: >>=20 >> # cat > dupa <<-EOF >> blahblah >>> EOF >> cat: write error: No space left on device > > > =E0=B2=A0_=E0=B2=A0 > > Is portage generally expected to successfully complete (including > internal metadata write stages) when its workdir drive runs out of space > partway through? oh you