On Wed, 13 Nov 2024 16:41:00 +0100 Emanuele Rocca <e...@debian.org> wrote:
> Source: coccinelle
> Version: 1.2.deb-1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> 
> During a rebuild of all packages in sid, coccinelle failed to build on
> arm64 and amd64 with the following error.
> 
> [7]
> Underfull \hbox (badness 10000) in paragraph at lines 76--82
> 
> ! Missing \cr inserted.
> <inserted text> 
>                 \cr 
> l.105 \end{tabular}
>                    
> !  ==> Fatal error occurred, no output PDF file produced!
> Transcript written on manual.log.
> make[2]: *** [Makefile:39: manual.pdf] Error 1

I tried whether updating to 1.3.0 would make a difference and it does not.
The same error occurs.

Look at the ``docs/manual/examples.tex`` and line 15-17 are as follows:

```tex
function \texttt{bar}.\\

\begin{tabular}{ccc}
```

According to https://tex.stackexchange.com/a/334249 having ``\\`` at the end 
of the paragraph is (almost) always wrong.
So my guess is that the tex parser got more strict and what it previously 
accepted (with a warning?), it no longer does.

As I'm clueless about TeX and the ``\\`` construct is used a LOT, I did not 
try if removing ``\\`` at the end of a paragraph would fix the issue.
Someone who does know about TeX could hopefully do something about it (and 
sent the fix upstream so everyone benefits).

HTH

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to