Re: Docs Build in CI failing with "failed to load external entity"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Docs Build in CI failing with "failed to load external entity"
Date: 2024-10-25 01:44:31
Message-ID: 2634430.1729820671@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Melanie Plageman <melanieplageman(at)gmail(dot)com> writes:
> I know in the past docs builds failing with "failed to load external
> entity" have happened on macos. But, recently I've noticed this
> failure for docs build on CI (not on macos) -- docs build is one of
> the jobs run under the "Compiler Warnings" task.

It looks to me like a broken docbook installation on (one of?)
the CI machines. Note that the *first* complaint is

[19:23:20.590] file:///etc/xml/catalog:1: parser error : Document is empty

I suspect that the subsequent "failed to load external entity"
complaints happen because the XML processor doesn't find any DTD
objects in the local catalog, so it tries to go out to the net for
them, and is foiled by the --no-net switch we use.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-10-25 01:58:13 Re: Missing installation of Kerberos.pm and AdjustUpgrade.pm
Previous Message David Rowley 2024-10-25 01:29:14 Re: Changing the default random_page_cost value