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 2BFED158089 for ; Wed, 13 Sep 2023 02:26:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D45B52BC137; Wed, 13 Sep 2023 02:26:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 8CE562BC014 for ; Wed, 13 Sep 2023 02:26:08 +0000 (UTC) Message-ID: <39ec5b95f8af61cc9e580b8f98cf8ce01b728d14.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH 1/2] distutils-r1.eclass: teach setuptools to respect (some) build options From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org, Ulrich Mueller Date: Wed, 13 Sep 2023 04:26:03 +0200 In-Reply-To: <1affddb8-221c-4c67-4395-03c2425d0e0e@gmail.com> References: <20230912191501.536700-1-eschwartz93@gmail.com> <1affddb8-221c-4c67-4395-03c2425d0e0e@gmail.com> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 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 X-Archives-Salt: 43f39582-1a7f-4c12-bdfd-52a14e25b534 X-Archives-Hash: eefc26984f40ef8e9fbdd02bd043d57c 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: > >=20 > > > + 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 > >=20 > > "|| die" should also be added for the cat command. >=20 >=20 > Redirecting output to a file in a directory you have just guaranteed to > exist cannot fail. Eh, you make me prove you wrong: # cat > dupa <<-EOF blahblah > EOF cat: write error: No space left on device --=20 Best regards, Micha=C5=82 G=C3=B3rny