On Thu, Jan 01, 2026 at 12:06:34PM +0100, Pavel Sanda wrote:
On Wed, Dec 31, 2025 at 03:32:28PM +0000, Jonathan McDowell wrote:
> thanks for catching this bug and reporting it. However, I'm not able to
> reproduce this. I've just cloned your sdcc repository from salsa to my
> local computer and did this:
>
> $ cd doc
> $ echo "dev" > sdcc_version
> $ lyx -e latex sdccman.lyx
>
> I've tried both LyX 2.4.4 and 2.5.0~RC2, and both versions ran just fine
> without any errors or warnings. Both produce a valid file "sdccman.tex".
>
> So I'm not sure if my test is not identical to the setup in the build
> machine which Santiago used. Or maybe it was a temporary error?
>
> Anyway, I'm a bit lost now how we should proceed from here. Can you
> reproduce the bug on your machine?
It reproduces for me in unstable in an sbuild environment - I verified this
was the case, then realised LyX's version had been bumped when I started to
investigate. That's a much more minimal environment so maybe something has
changed in terms of the dependencies that need to be pulled in?
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.
J.
--
Reality is for people with no grasp of fantasy.