Discussion:
Bug#878105: release-notes: problems building the release-notes (jessie) for the Debian website
(too old to reply)
Laura Arjona Reina
2017-10-09 20:50:01 UTC
Permalink
Package: release-notes
Severity: normal
Tags: patch

Dear release-notes maintainers
Thanks for your work in the release notes for every Debian release!

The script that automatically builds the release notes for the Debian website
throws some errors when building the release notes in PDF format.

Those errors appear for any architecture except armel and any language, for the
jessie release notes.

The errors are of the type:
---
Build stdin.pdf
xelatex failed
stdin.tex:292: Something's wrong--perhaps a missing \item.
stdin.tex:292: leading text: \end{description}
Unexpected error occured
Error: xelatex compilation failed
Makefile:214: recipe for target 'en/release-notes.amd64.pdf' failed
---

I've checked the "stdin.tex" generated file, did some tests, and probably the
culprit is this:

file jessie/en/whats-new.dbk

<variablelist>
<varlistentry arch="armel">
<term>Support for iop32x was dropped</term>
<listitem>
<para>
On <systemitem role="arch">armel</systemitem>, support for
the iop32x subarchitecture was dropped. Other
<systemitem role="arch">armel</systemitem> subarchitectures
continue to be supported, including ixp4xx, kirkwood, orion
and versatile.
</para>
</listitem>
</varlistentry>
</variablelist>

The above code produces this LaTeX output:
\begin{description}
\end{description}
in all the architectures except armel, and then xelatex complains about a
missing \item inside the {description} block.

I searched for similar paragraphs in the dbk files and found this:

file jessie/en/installing.dbk

<variablelist>

<!-- The following empty paragraph purpose is to unb0rk
the build until real material get committed -->

<varlistentry>
<term><!-- Empty Title --></term>
<listitem>
<para>
<!-- Empty Paragraph -->
</para>
</listitem>
</varlistentry>

<!-- new in Stretch-->
<varlistentry>
[...]

I'm attaching a diff for the file
svn.debian.org/svn/ddp/manuals/branches/release-notes/jessie/en/
that adds a similar empty paragraph to fix the issue.

Please merge it if you find it useful, and I'll check the logs of the
subsequent website builds to see if the error dissapear for jessie/en. If yes,
then I would try to produce another patch for the rest of the languages.

Best regards

Laura Arjona Reina
https://wiki.debian.org/LauraArjona



-- System Information:
Debian Release: 8.9
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
victory
2017-10-12 22:20:16 UTC
Permalink
On Mon, 09 Oct 2017 22:44:15 +0200
Post by Laura Arjona Reina
Those errors appear for any architecture except armel and any language, for the
jessie release notes.
file jessie/en/whats-new.dbk
<variablelist>
<varlistentry arch="armel">
<term>Support for iop32x was dropped</term>
<listitem>
<para>
On <systemitem role="arch">armel</systemitem>, support for
the iop32x subarchitecture was dropped. Other
<systemitem role="arch">armel</systemitem> subarchitectures
continue to be supported, including ixp4xx, kirkwood, orion
and versatile.
</para>
</listitem>
</varlistentry>
</variablelist>
file jessie/en/installing.dbk
<variablelist>
...
Post by Laura Arjona Reina
<varlistentry>
...
Post by Laura Arjona Reina
</varlistentry>
instead of adding useless item for old distribution,
maybe
<variablelist arch="armel">
works for jessie?
--
victory
no need to CC me :-)
Laura Arjona Reina
2017-10-12 23:10:19 UTC
Permalink
Hello
Post by victory
instead of adding useless item for old distribution,
maybe
<variablelist arch="armel">
works for jessie?
Thanks for the suggestion.
Attaching new patch.
Best regards
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
Baptiste Jammet
2017-11-01 18:00:02 UTC
Permalink
Hi Laura,
Post by Laura Arjona Reina
Post by victory
maybe
<variablelist arch="armel">
works for jessie?
Thanks for the suggestion.
Attaching new patch.
Your patch seems to be sufficient, and is surely not very intrusive.
Please apply.

Baptiste
Laura Arjona Reina
2017-11-03 07:30:02 UTC
Permalink
Post by Baptiste Jammet
Hi Laura,
Post by Laura Arjona Reina
Post by victory
maybe
<variablelist arch="armel">
works for jessie?
Thanks for the suggestion.
Attaching new patch.
Your patch seems to be sufficient, and is surely not very intrusive.
Please apply.
Applied for the jessie/en version. If this works (we'll see today in the
website builds), I'll apply a similar patch for the other languages.
Cheers
--
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
Debian Bug Tracking System
2017-11-03 11:00:01 UTC
Permalink
Your message dated Fri, 3 Nov 2017 11:49:11 +0100
with message-id <6b776ac6-c23d-ab02-8784-***@debian.org>
and subject line Re: Bug#878105: release-notes: problems building the release-notes (jessie) for the Debian website
has caused the Debian Bug report #878105,
regarding release-notes: problems building the release-notes (jessie) for the Debian website
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
878105: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878105
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...