Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pglaF-0005wy-Bx for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Mar 2023 12:04:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pglaD-0001YX-RV for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Mar 2023 12:04:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pglaC-0001YN-1k for pgsql-hackers@lists.postgresql.org; Mon, 27 Mar 2023 12:04:17 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgla8-0006UF-Q7 for pgsql-hackers@lists.postgresql.org; Mon, 27 Mar 2023 12:04:15 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 29DDA3200938; Mon, 27 Mar 2023 08:04:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 27 Mar 2023 08:04:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1679918646; x=1680005046; bh=by 0xrt68H283/3hS7muEDVF6G2LhVjkdoqvdSFP8drI=; b=2hHdw6Q6XOraLEhzG6 E2dR4TBtVUr4AYxmLO5Mabo+/IbhtZXWjL98qq1z9x5FhxIIB5Ln1cqlppHJhVM8 yzltXSoZPUUfzm0B9NYJeD//+EqsYmoyxjh3uN37AGIG2tUrvgwByvwW2XlZepWV C4c0x5N6EYTHJfWZMSaQ5C33w9DPVcg98ktOKcgizJQ//QZ3pyeYdhq3Nk4n5qHk r1lnrnLYGRtwmHeVuHjV6YUcKb5QQZGUAI9Ihu24117d/xVEAhcR+ZtAjWPsAqYP HjxCLIbSf0N1Pjc6uFWSlu5WXZ7x3leClLAcCHI0VLJCfg46HgkovSrHHLceWqBx AgDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1679918646; x=1680005046; bh=by0xrt68H283/ 3hS7muEDVF6G2LhVjkdoqvdSFP8drI=; b=umSG3GUgYUJDhadwboyEsM9OKYslR w2theAr83wd4zPcLjJ3yYQVeajV9j6zvrtDKyeOwtGyDMUZJ0mTq78QkNeM3uvwk b4zVOQJMMpxdOL74w4PCfRB17SgoPZCtK7JvNgUF/qumlwUHdpy+Fc6hEehm2p9h R6o/U2NjzPyD9Wf/vddgPYEgCmqT7mvles5SsFXvWJuJj7wu4WnTxUJ+LhrNB7L+ 685mhR57QM6DnilcmzMGnRzYmaW9Flf4rzNd9Ul+p63kUCvtLeZmP4Llzry1gNCn wUjOUDToQCdc2eiBV/9YCVc9/pJsJetkqtIuP0U3daGgDvpxBzytvwuuQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdehvddggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufhffjgfkfgggtgesthdtredttderjeenucfhrhhomhepffgrghhf ihhnnhcukfhlmhgrrhhiucforghnnhhsnohkvghruceoihhlmhgrrhhisehilhhmrghrih drohhrgheqnecuggftrfgrthhtvghrnhepkeeljeeufefhffekhfektdefleeuvdeiiefh heeffeefgeegudffudehjeejiefgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepihhlmhgrrhhisehilhhmrghrihdrohhrgh X-ME-Proxy: Feedback-ID: i1ff147bf:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Mar 2023 08:04:05 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Daniel Gustafsson Cc: Julien Rouhaud , Tom Lane , Andres Freund , Aleksander Alekseev , PostgreSQL Hackers , Peter Eisentraut Subject: Re: MacOS: xsltproc fails with "warning: failed to load external entity" References: <20230201103204.ddqqjbuxe5e2jct2@alap3.anarazel.de> <1383731.1675272207@sss.pgh.pa.us> <20230201174900.n7aa35mgwwdtkxum@alap3.anarazel.de> <20230201190428.m2syfhxxhyjx6vpl@alap3.anarazel.de> <1404694.1675279219@sss.pgh.pa.us> <20230206005207.djeq3322p4focdxo@alap3.anarazel.de> <2563864.1675646734@sss.pgh.pa.us> <3788434.1675894693@sss.pgh.pa.us> <20230327082441.h7pa2vqiobbyo7rd@jrouhaud> <20230327084133.qzluydma36nhuaa3@jrouhaud> <10DA84BF-1D80-462D-8CED-F8898DD0DD94@yesql.se> Date: Mon, 27 Mar 2023 13:04:03 +0100 In-Reply-To: <10DA84BF-1D80-462D-8CED-F8898DD0DD94@yesql.se> (Daniel Gustafsson's message of "Mon, 27 Mar 2023 12:07:10 +0200") Message-ID: <87mt3ys8ng.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: >> On 27 Mar 2023, at 10:41, Julien Rouhaud wrote: >> On Mon, Mar 27, 2023 at 10:32:52AM +0200, Daniel Gustafsson wrote: >>>> On 27 Mar 2023, at 10:24, Julien Rouhaud wrote: > >>>> FTR the documented XML_CATALOG_FILES environment variable is only valid for >>>> Intel based machines, as homebrew installs everything in a different location >>>> for M1... >>>> >>>> I'm attaching a patch to make that distinction, hoping that no one else will >>>> have to waste time trying to figure out how to get it working on such hardware. >>> >>> LGTM apart from the double // in the export which is easy enough to fix before >>> pushing. >>> >>> +export XML_CATALOG_FILES=/opt/homebrew//etc/xml/catalog >> >> Oh, I didn't notice it. Apparently apple's find isn't smart enough to trim a / >> when fed with a directory with a trailing / > > Applied with a tiny but of changes to make it look like the rest of the > paragraph more. Thanks! Doesn't this apply to Apple Silicon generally, not just M1? M2 already exists, and M3 etc. will presumably also appear at some point. The linked Homebrew issue refers to Apple Silicon, not any specific models. - ilmari