Re: MacOS: xsltproc fails with "warning: failed to load external entity"
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
From: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Julien Rouhaud <rjuju123@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>,
Andres Freund <andres@anarazel.de>, Aleksander Alekseev
<aleksander@timescale.com>, PostgreSQL Hackers
<pgsql-hackers@lists.postgresql.org>, Peter Eisentraut
<peter.eisentraut@enterprisedb.com>
Date: 2023-03-27T12:04:03Z
Lists: pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes: >> On 27 Mar 2023, at 10:41, Julien Rouhaud <rjuju123@gmail.com> wrote: >> On Mon, Mar 27, 2023 at 10:32:52AM +0200, Daniel Gustafsson wrote: >>>> On 27 Mar 2023, at 10:24, Julien Rouhaud <rjuju123@gmail.com> 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
Commits
-
docs: meson: Change what 'docs' target builds
- 9e5b2a091fd0 17.0 landed
-
doc: Fix XML_CATALOG_FILES env var for Apple Silicon machines
- 4257d34e310b 11.20 landed
- aad9a2ee7c2d 12.15 landed
- c6f1f4e443fb 14.8 landed
- 9850ef9fc123 13.11 landed
- 50792b155371 15.3 landed
-
doc: fix Apple Silicon Homebrew prefix change documentation
- 5a91c7975503 16.0 landed
-
doc: Fix XML_CATALOG_FILES env var for Apple M1 machines
- 4c8d65408470 16.0 landed
-
Stop recommending auto-download of DTD files, and indeed disable it.
- 36a646d99c3f 11.20 landed
- 11f1f9f4fa30 12.15 landed
- 969509c3f2e3 16.0 landed
- c7b608600547 13.11 landed
- 7f8778fcf342 14.8 landed
- 2ee703c9d1c6 15.3 landed