Closed LaurentGoderre closed 5 months ago
Still need to fix the alpine build.
For some reason the man pages aren't generated but the build doesn't fail and then fails trying to install them
https://salsa.debian.org/postgresql/postgresql/-/commit/58018cc8142a66da166ca56f4bde354c551d90a0 is really benign so there must be something we've missed in the interim :eyes:
Something in https://salsa.debian.org/postgresql/postgresql/-/compare/16...17 seems more likely :thinking:
I found the source of the issue. It is the template override
https://github.com/postgres/postgres/blob/master/doc/src/sgml/stylesheet-man.xsl#L103-L113
Which always return 0
and therefore nothing is written as per
https://github.com/postgres/postgres/blob/master/doc/src/sgml/stylesheet-man.xsl#L128
It could be related to needing to install docbook. The following patches makes it work
diff --git a/stylesheet-man.xsl b/stylesheet-man.xsl
index fcb485c..6ba9768 100644
--- a/stylesheet-man.xsl
+++ b/stylesheet-man.xsl
diff --git a/stylesheet-man.xsl b/stylesheet-man.xsl
index fcb485c..daac4fd 100644
--- a/stylesheet-man.xsl
+++ b/stylesheet-man.xsl
@@ -1,5 +1,6 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:d="http://docbook.org/ns/docbook"
xmlns:exsl="http://exslt.org/common"
version='1.0'
exclude-result-prefixes="exsl">
@@ -103,8 +104,8 @@
<!-- overridden from common/refentry.xsl -->
<xsl:template name="get.refentry.section">
<xsl:choose>
- <xsl:when test="refmeta/manvolnum">
- <xsl:value-of select="refmeta/manvolnum"/>
+ <xsl:when test="d:refmeta/d:manvolnum">
+ <xsl:value-of select="d:refmeta/d:manvolnum"/>
</xsl:when>
<xsl:otherwise>
<xsl:text>0</xsl:text>
17_stable coming soon ?
The next major release of PostgreSQL is planned to be the 17 release. This release is planned for September 2024.
REL_17_STABLE has been created yesterday https://github.com/postgres/postgres/tree/REL_17_STABLE
As soon as they tag a release and publish it to their apt repos, we will add it just like 17 beta2: https://github.com/docker-library/postgres/commit/9bf5a6d620a90158d8192ee0dba05acc4464d002.
See also https://github.com/postgres/postgres/tags, "Latest Releases" on https://www.postgresql.org/, https://www.postgresql.org/ftp/source/
Fixes #1243