Bug#1105009: Acknowledgement (bookworm-pu: package erlang/1:25.2.3+dfsg-1+deb12u2)
Hi Adam,
On Sat, Aug 30, 2025 at 3:54 PM Adam D. Barratt
<adam@adam-barratt.org.uk> wrote:
>
> Did you have any luck with that?
>
> We're freezing opu this weekend for the 12.12 point release, so the
> window for getting the erlang package included this time is getting
> very close.
I've managed to reproduce the FTBFS by using erlang build dependencies from
bookworm-proposed-updates. Build dependencies from bookworm fork fine.
I have a fix, and now I need advice on how to proceed. Should I upload new
erlang/1:25.2.3+dfsg-1+deb12u3 with the fix (and if so, should I
include the original
tarball and/or -v1:25.2.3+dfsg-1+deb12u1 ?), or should I add the fix to
1:25.2.3+dfsg-1+deb12u2 and re-upload it without version change?
The patch is attached.
Cheers!
--
Sergei Golovan
From: Sergei Golovan
Subject: Patch fixes redefinition of an XSLT variable inside
a for-each loop.
Last-Modified: Sat, 30 Aug 2025 20:43:16 +0300
--- a/lib/erl_docgen/priv/xsl/db_html.xsl
+++ b/lib/erl_docgen/priv/xsl/db_html.xsl
@@ -792,13 +792,13 @@
<xsl:variable name="erlref.nav_rtf">
<xsl:for-each select="//erlref">
- <xsl:variable name="cval" select="module"/>
- <xsl:variable name="link_cval"><xsl:value-of select="translate($cval, '­', '')"/></xsl:variable>
- <module name="{$cval}">
+ <xsl:variable name="ccval" select="module"/>
+ <xsl:variable name="link_ccval"><xsl:value-of select="translate($ccval, '­', '')"/></xsl:variable>
+ <module name="{$ccval}">
<xsl:call-template name="menu.funcs">
<xsl:with-param name="entries" select="funcs/func/name"/>
- <xsl:with-param name="cval" select="$cval"/>
- <xsl:with-param name="basename" select="$link_cval"/>
+ <xsl:with-param name="cval" select="$ccval"/>
+ <xsl:with-param name="basename" select="$link_ccval"/>
</xsl:call-template>
</module>
</xsl:for-each>
Reply to: