Re: MacOS: xsltproc fails with "warning: failed to load external entity"

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andres Freund <andres(at)anarazel(dot)de>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: Re: MacOS: xsltproc fails with "warning: failed to load external entity"
Date: 2023-03-27 08:32:52
Message-ID: B574DD48-A526-4799-AF03-2C39C69868F9@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 27 Mar 2023, at 10:24, Julien Rouhaud <rjuju123(at)gmail(dot)com> wrote:
>
> Hi,
>
> On Wed, Feb 08, 2023 at 05:18:13PM -0500, Tom Lane wrote:
>> I pushed the discussed documentation improvements, and changed the
>> behavior of "ninja docs" to only build the HTML docs. However,
>> I've not done anything about documenting what is the minimum
>> ninja version.
>
> 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

For reference on why Homebrew use a different structure on Apple M1 the below
issue has more details:

https://github.com/Homebrew/brew/issues/9177

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2023-03-27 08:41:33 Re: MacOS: xsltproc fails with "warning: failed to load external entity"
Previous Message Julien Rouhaud 2023-03-27 08:24:41 Re: MacOS: xsltproc fails with "warning: failed to load external entity"