Thread
-
HEAD build error on Fedora 39
Devrim Gündüz <devrim@gunduz.org> — 2024-04-15T09:59:40Z
Hi, I'm unable to build the latest snapshot on my Fedora 39 box. I think this problem appeared before the weekend (not sure, though). This is libxml 2.10.4: =============================================================== '/usr/bin/perl' ../../../src/backend/utils/activity/generate-wait_event_types.pl --docs ../../../src/backend/utils/activity/wait_event_names.txt /usr/bin/xmllint --nonet --path . --path . --output postgres-full.xml --noent --valid postgres.sgml I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd postgres.sgml:21: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" ]> ^ postgres.sgml:23: element book: validity error : No declaration for attribute id of element book <book id="postgres"> ^ postgres.sgml:24: element title: validity error : No declaration for element title <title>PostgreSQL &version; Documentation</title> ^ postgres.sgml:27: element corpauthor: validity error : No declaration for element corpauthor <corpauthor>The PostgreSQL Global Development Group</corpauthor> ^ postgres.sgml:28: element productname: validity error : No declaration for element productname <productname>PostgreSQL</productname> ^ postgres.sgml:29: element productnumber: validity error : No declaration for element productnumber <productnumber>&version;</productnumber> ^ postgres.sgml:3: element date: validity error : No declaration for element date legal.sgml:6: parser error : Entity 'ndash' not defined <year>1996–2024</year> ^ legal.sgml:14: parser error : Entity 'copy' not defined <productname>PostgreSQL</productname> is Copyright © 1996–2024 ^ legal.sgml:14: parser error : Entity 'ndash' not defined <productname>PostgreSQL</productname> is Copyright © 1996–2024 ^ legal.sgml:19: parser error : Entity 'copy' not defined <productname>Postgres95</productname> is Copyright © 1994–5 ^ legal.sgml:19: parser error : Entity 'ndash' not defined <productname>Postgres95</productname> is Copyright © 1994–5 ^ legal.sgml:49: parser error : chunk is not well balanced ^ postgres.sgml:30: parser error : Entity 'legal' failed to parse &legal; ^ make[3]: *** [Makefile:72: postgres-full.xml] Error 1 ==================================================== Any hints? Regards -- Devrim Gündüz Open Source Solution Architect, PostgreSQL Major Contributor Twitter: @DevrimGunduz , @DevrimGunduzTR -
Re: HEAD build error on Fedora 39
Andrew Dunstan <andrew@dunslane.net> — 2024-04-15T10:35:46Z
On 2024-04-15 Mo 05:59, Devrim Gündüz wrote: > Hi, > > I'm unable to build the latest snapshot on my Fedora 39 box. I think > this problem appeared before the weekend (not sure, though). This is > libxml 2.10.4: > > =============================================================== > '/usr/bin/perl' ../../../src/backend/utils/activity/generate-wait_event_types.pl --docs ../../../src/backend/utils/activity/wait_event_names.txt > /usr/bin/xmllint --nonet --path . --path . --output postgres-full.xml --noent --valid postgres.sgml > I/O error : Attempt to load network entityhttp://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd > postgres.sgml:21: warning: failed to load external entity"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" > ]> It's working on my Fedora 39. This error suggests to me that you don't have docbook-dtds installed. If you do, then I don't know :-) cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com
-
Re: HEAD build error on Fedora 39
Devrim Gündüz <devrim@gunduz.org> — 2024-05-02T23:37:31Z
Hi Andrew, On Mon, 2024-04-15 at 06:35 -0400, Andrew Dunstan wrote: > It's working on my Fedora 39. This error suggests to me that you don't > have docbook-dtds installed. If you do, then I don't know :-) Sorry for the noise. I got a new laptop, and apparently some of the packages (like this) were missing. Regards, -- Devrim Gündüz Open Source Solution Architect, PostgreSQL Major Contributor Twitter: @DevrimGunduz , @DevrimGunduzTR
-
Re: HEAD build error on Fedora 39
Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> — 2024-05-23T08:08:22Z
Hi Andrew, Devrim, I'm seeing these errors on MacOS: -- /opt/local/Current_v15/bin/xsltproc --nonet --path . --path . --stringparam pg.version '17beta1' stylesheet.xsl postgres-full.xml I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl warning: failed to load external entity " http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl" compilation error: file stylesheet.xsl line 6 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/common/entities.ent stylesheet-html-common.xsl:4: warning: failed to load external entity " http://docbook.sourceforge.net/release/xsl/current/common/entities.ent" %common.entities; -- I've set SGML_CATALOG_FILES to point to the catalog from docbook-xsl. Am I missing something? On Mon, Apr 15, 2024 at 4:06 PM Andrew Dunstan <andrew@dunslane.net> wrote: > > On 2024-04-15 Mo 05:59, Devrim Gündüz wrote: > > Hi, > > I'm unable to build the latest snapshot on my Fedora 39 box. I think > this problem appeared before the weekend (not sure, though). This is > libxml 2.10.4: > > =============================================================== > '/usr/bin/perl' ../../../src/backend/utils/activity/generate-wait_event_types.pl --docs ../../../src/backend/utils/activity/wait_event_names.txt > /usr/bin/xmllint --nonet --path . --path . --output postgres-full.xml --noent --valid postgres.sgml > I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd > postgres.sgml:21: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" <http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd> > ]> > > > It's working on my Fedora 39. This error suggests to me that you don't > have docbook-dtds installed. If you do, then I don't know :-) > > cheers > > andrew > > -- > Andrew Dunstan > EDB: https://www.enterprisedb.com > > -- Sandeep Thakkar
-
Re: HEAD build error on Fedora 39
Andrew Dunstan <andrew@dunslane.net> — 2024-05-23T20:57:57Z
On 2024-05-23 Th 04:08, Sandeep Thakkar wrote: > Hi Andrew, Devrim, > > I'm seeing these errors on MacOS: > -- > /opt/local/Current_v15/bin/xsltproc --nonet --path . --path . > --stringparam pg.version '17beta1' stylesheet.xsl postgres-full.xml > I/O error : Attempt to load network entity > http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl > warning: failed to load external entity > "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl" > compilation error: file stylesheet.xsl line 6 element import > xsl:import : unable to load > http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl > I/O error : Attempt to load network entity > http://docbook.sourceforge.net/release/xsl/current/common/entities.ent > stylesheet-html-common.xsl:4: warning: failed to load external entity > "http://docbook.sourceforge.net/release/xsl/current/common/entities.ent" > %common.entities; > -- > > I've set SGML_CATALOG_FILES to point to the catalog from docbook-xsl. > Am I missing something? Sandeep, Hmm, it's working for me, via homebrews' libxslt, docbook and docbook-xsl ... I'm not setting anything special in the environment (although maybe meson/ninja does). cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com