On Thu, Jan 01, 2026 at 11:58:39AM +0000, Jonathan McDowell wrote:
> > Would it be possible to report what exactly the problem is?
> > It might be related to latex compilation (e.g. missing dependency
> > on some latex package).
> 
> The original bug raised against SDCC is:
> 
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1124211
> 
> which provides the full (somewhat verbose) build log at:
> 
> https://people.debian.org/~sanvila/build-logs/202512/sdcc_4.5.0+dfsg-4_amd64-20251228T100224.493Z
> 
> The bit where things go wrong:
> 
> [43]
> ! Illegal parameter number in definition of \reserved@a.
> <to be read again>
>                    p
> l.3111 ...x{#pragma nooverlay@\#pragma nooverlay}}
>                                                   ~\\
> ?
> 
> I've put the intermediate generated files that are fed into pdflatex at:
> 
> https://the.earth.li/~noodles/sdcc-lyx-issue/
> 
> Running "pdflatex sdccman.tex" on a Debian trixie machine (that I happily
> use LaTeX on generally, so not the bare bones environment that sbuild uses)
> with those files gives the same error.

Ok, I can reproduce your problem on my current macOS environment
in the sense that I see the same pdflatex compilation problem &
trying lyx 2.4 for the original lyx file works.

The problem probably boils down to lyx 2.5 export change 
-\texttt{\#pragma nooverlay\index{pragma nooverlay@\#pragma nooverlay}}~\\
+\texttt{\#pragma nooverlay\index{#pragma nooverlay@\#pragma nooverlay}}~\\

I am surprised though that it seems to work for Tobias.
I'll ask around on our lyx list.

Pavel

Reply via email to