Debian Bug report logs -
#815205
sbcl: FTBFS due to TeX error
Reported by: Logan Rosen <logan@ubuntu.com>
Date: Sat, 20 Feb 2016 02:15:01 UTC
Severity: serious
Found in version sbcl/2:1.3.1-1
Fixed in version sbcl/2:1.3.3-1
Done: Christoph Egger <christoph@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Sat, 20 Feb 2016 02:15:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Logan Rosen <logan@ubuntu.com>:
New Bug report received and forwarded. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Sat, 20 Feb 2016 02:15:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: sbcl
Version: 2:1.3.1-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Hi,
I just merged sbcl 2:1.3.1-1 into Ubuntu (we have a simple chmod change in
debian/rules), and it failed to build on all architectures [1]. I verified
that this issue affects Debian unstable as well by building it in a chroot.
It appears to be due to a TeX issue during the build.
Thanks,
Logan Rosen
[1] https://launchpad.net/ubuntu/+source/sbcl/2:1.3.1-1ubuntu1
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Mon, 22 Feb 2016 19:24:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Egger <christoph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Mon, 22 Feb 2016 19:24:07 GMT) (full text, mbox, link).
Message #10 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi!
Logan Rosen <logan@ubuntu.com> writes:
> I just merged sbcl 2:1.3.1-1 into Ubuntu (we have a simple chmod change in
> debian/rules), and it failed to build on all architectures [1]. I verified
> that this issue affects Debian unstable as well by building it in a chroot.
>
> It appears to be due to a TeX issue during the build.
Seems to be related to texinfo 6.0.0 -> 6.1.0
| .texinfo:3: TeX capacity exceeded, sorry [text input levels=15].
Christoph
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Tue, 15 Mar 2016 16:57:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Egger <christoph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Tue, 15 Mar 2016 16:57:07 GMT) (full text, mbox, link).
Message #15 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi texinfo folks!
Christoph Egger <christoph@debian.org> writes:
> Logan Rosen <logan@ubuntu.com> writes:
>> I just merged sbcl 2:1.3.1-1 into Ubuntu (we have a simple chmod change in
>> debian/rules), and it failed to build on all architectures [1]. I verified
>> that this issue affects Debian unstable as well by building it in a chroot.
>>
>> It appears to be due to a TeX issue during the build.
>
> Seems to be related to texinfo 6.0.0 -> 6.1.0
>
> | .texinfo:3: TeX capacity exceeded, sorry [text input levels=15].
Upstream has decided this is a problem in texinfo .. can I have your
input on this issue?
Christoph
https://bugs.launchpad.net/sbcl/+bug/1549892
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 08:21:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 08:21:09 GMT) (full text, mbox, link).
Message #20 received at 815205@bugs.debian.org (full text, mbox, reply):
On Tue, 15 Mar 2016, Christoph Egger wrote:
> > | .texinfo:3: TeX capacity exceeded, sorry [text input levels=15].
>
> Upstream has decided this is a problem in texinfo .. can I have your
> input on this issue?
Which version of texinfo? I have uploaded several fixes already,
the latest is 6.1.0.dfsg.1-5
> https://bugs.launchpad.net/sbcl/+bug/1549892
The bug was reported on 02-26, the last fixed upload was 03-05.
Can you please confirm with the sbcl people whether this is still
a problem or not.
Thanks.
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 09:06:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Preuße, Hilmar <hille42@web.de>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 09:06:04 GMT) (full text, mbox, link).
Message #25 received at 815205@bugs.debian.org (full text, mbox, reply):
On 16.03.2016 09:19, Norbert Preining wrote:
Hi Norbert,
I can reproduce it w/ -3 and -5.
> Which version of texinfo? I have uploaded several fixes already,
> the latest is 6.1.0.dfsg.1-5
>
>> https://bugs.launchpad.net/sbcl/+bug/1549892
>
> The bug was reported on 02-26, the last fixed upload was 03-05.
>
> Can you please confirm with the sbcl people whether this is still
> a problem or not.
>
Hilmar
--
http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 09:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 09:21:04 GMT) (full text, mbox, link).
Message #30 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi Hilmar,
apt-get source sbcl and build is enough to reproduce?
Norbert
On March 16, 2016 6:02:37 PM GMT+09:00, "Preuße, Hilmar" <hille42@web.de> wrote:
>On 16.03.2016 09:19, Norbert Preining wrote:
>
>Hi Norbert,
>
>I can reproduce it w/ -3 and -5.
>
>> Which version of texinfo? I have uploaded several fixes already,
>> the latest is 6.1.0.dfsg.1-5
>>
>>> https://bugs.launchpad.net/sbcl/+bug/1549892
>>
>> The bug was reported on 02-26, the last fixed upload was 03-05.
>>
>> Can you please confirm with the sbcl people whether this is still
>> a problem or not.
>>
>
>Hilmar
--
Sent from my mobile device. Please excuse my brevity.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 09:30:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Preuße, Hilmar <hille42@web.de>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 09:30:03 GMT) (full text, mbox, link).
Message #35 received at 815205@bugs.debian.org (full text, mbox, reply):
On 16.03.2016 10:17, Norbert Preining wrote:
Hi,
> apt-get source sbcl and build is enough to reproduce?
>
Eventually run "apt-get build-dep" before build.
Hilmar
--
http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 10:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 10:03:04 GMT) (full text, mbox, link).
Message #40 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi Gavin, dear all,
(please keep cc)
Another problem with 6.1 has popped up, not being really
Debian specific. It is in the sources of sbcl (common lisp
interpreter).
I reduced the problem to the following minimal not-working
example:
>>>>>>>>>>>>>>>>
\input texinfo @c -*-texinfo-*-
@iftex
@tex
\newif\ifdash
\long\def\dashp#1{\expandafter\setnext#1-\dashphelper}
\long\def\setnext#1-{\futurelet\next\dashphelper}
\long\def\dashphelper#1\dashphelper{
\ifx\dashphelper\next\dashfalse\else\dashtrue\fi
}
\def\lw#1{\leavevmode\dashp{#1}\ifdash#1\else\hbox{#1}\fi}
@end tex
@end iftex
@macro lw{word}
@tex
\\lw{\word\}%
@end tex
@end macro
@code{@lw{aaa}}
@bye
>>>>>>>>>>>>>>>>>>>>>>>>>>>
and the error message is
/mnwe.texinfo:21: TeX capacity exceeded, sorry [text input levels=15].
\scanmacro ...atspaces }\scantokens {#1\texinfoc }
\aftermacro
l.2 \lw{aaa}
%
\scanmacro ...atspaces }\scantokens {#1\texinfoc }
\aftermacro
l.2 \lw{aaa}
%
\scanmacro ...atspaces }\scantokens {#1\texinfoc }
\aftermacro
l.2 \lw{aaa}
%
...
l.21 @code{@lw{aaa}}
No pages of output.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I did run the test with the version in Debian, as well as with the
latest code in svn (texinfo [version 2016-03-06.18]).
I also confirmed that with the version from 6.0 it works:
>>>>>>>>>>>>>>>>>>>>>>
This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015/Debian) (preloaded format=etex)
restricted \write18 enabled.
entering extended mode
(./mnwe.texinfo (/home/norbert/ti/texinfo.tex
Loading texinfo [version 2015-06-24.23]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.) [1] )
Output written on mnwe.dvi (1 page, 200 bytes).
Transcript written on mnwe.log.
>>>>>>>>>>>>>>>>>>>>>>
All the best
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 10:45:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Egger <christoph@christoph-egger.org>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 10:45:10 GMT) (full text, mbox, link).
Message #45 received at 815205@bugs.debian.org (full text, mbox, reply):
Norbert Preining <preining@logic.at> writes:
> apt-get source sbcl and build is enough to reproduce?
That's what I did in a clean sid chroot yesterday. You need to actually
run the build as some input files to the manual get generated during
build though.
Christoph
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 10:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 10:48:04 GMT) (full text, mbox, link).
Message #50 received at 815205@bugs.debian.org (full text, mbox, reply):
I sent already a minimal example derived from the sbcl code to the ti list, you should have gotten it cc
On March 16, 2016 7:43:00 PM GMT+09:00, Christoph Egger <christoph@christoph-egger.org> wrote:
>Norbert Preining <preining@logic.at> writes:
>> apt-get source sbcl and build is enough to reproduce?
>
>That's what I did in a clean sid chroot yesterday. You need to actually
>run the build as some input files to the manual get generated during
>build though.
>
> Christoph
--
Sent from my mobile device. Please excuse my brevity.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 12:15:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Christoph Egger <christoph@christoph-egger.org>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 12:15:06 GMT) (full text, mbox, link).
Message #55 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi!
Norbert Preining <preining@logic.at> writes:
> I sent already a minimal example derived from the sbcl code to the ti
> list, you should have gotten it cc
just seen it minutes after sending the email. Thanks for the fast
reaction!
Christoph
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 16 Mar 2016 19:57:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Gavin Smith <gavinsmith0123@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 16 Mar 2016 19:57:03 GMT) (full text, mbox, link).
Message #60 received at 815205@bugs.debian.org (full text, mbox, reply):
On 16 March 2016 at 10:01, Norbert Preining <preining@logic.at> wrote:
>
> I reduced the problem to the following minimal not-working
> example:
>
>>>>>>>>>>>>>>>>>
> \input texinfo @c -*-texinfo-*-
>
> @iftex
> @tex
> \newif\ifdash
> \long\def\dashp#1{\expandafter\setnext#1-\dashphelper}
> \long\def\setnext#1-{\futurelet\next\dashphelper}
> \long\def\dashphelper#1\dashphelper{
> \ifx\dashphelper\next\dashfalse\else\dashtrue\fi
> }
> \def\lw#1{\leavevmode\dashp{#1}\ifdash#1\else\hbox{#1}\fi}
> @end tex
> @end iftex
>
> @macro lw{word}
> @tex
> \\lw{\word\}%
> @end tex
> @end macro
>
> @code{@lw{aaa}}
>
> @bye
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>
> and the error message is
> /mnwe.texinfo:21: TeX capacity exceeded, sorry [text input levels=15].
Why not use a different name for the \lw macro defined in the @tex
block, so it isn't used in its own definition? That's the cause of
the problem. If I remember correctly, the TeX implementation had a way
that the previous definition of a macro could be used in the
definition of a macro, but I must have broken or removed it. I expect
that's why this code used to work. As far as I know, this was never
implemented in makeinfo. (This didn't apply for @rmacro, either.) In
this context @lw and \lw are the same thing and it would be a
significant complication to make them different, and it doesn't seem
necessary to make this work.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Thu, 17 Mar 2016 01:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Thu, 17 Mar 2016 01:33:03 GMT) (full text, mbox, link).
Message #65 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi Gavin,
> Why not use a different name for the \lw macro defined in the @tex
> block, so it isn't used in its own definition? That's the cause of
Ok, I tried your suggestion, but that again breaks:
code >>>>>>>>>>>>>>>>>>>>>>>>>>>
\input texinfo @c -*-texinfo-*-
@iftex
@tex
\def\aaa#1{Hello #1}
@end tex
@end iftex
@macro bbb{word}
@tex
\\aaa{\word\}
@end tex
@end macro
@bbb{World}
@bye
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
gives
./bla.texinfo:15: Undefined control sequence.
l.2 \aaa
{World}
\scanmacro ...atspaces }\scantokens {#1\texinfoc }
\aftermacro
l.15 @bbb{World}
tested with latest texinfo.tex
The problem goes away when the I use
@macro bbb{word}
\\aaa{\word\}
@end macro
(without the @tex ...@end tex)
Is this just an incorrect usage of macro definitions and @tex
in the original sources, that "just happened" to work till 6.0,
or is there something else behind?
Thanks
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Thu, 17 Mar 2016 02:09:25 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Thu, 17 Mar 2016 02:09:25 GMT) (full text, mbox, link).
Message #70 received at 815205@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Tue, 15 Mar 2016, Christoph Egger wrote:
> Upstream has decided this is a problem in texinfo .. can I have your
> input on this issue?
Please for now I suggest to drop the attached patch into
debian/patches
and adjust debian/patches/series.
With this change sbcl does build on my system.
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
[fix-texinfo-ftbfs (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Thu, 17 Mar 2016 07:33:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Gavin Smith <gavinsmith0123@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Thu, 17 Mar 2016 07:33:07 GMT) (full text, mbox, link).
Message #75 received at 815205@bugs.debian.org (full text, mbox, reply):
On 17 March 2016 at 01:31, Norbert Preining <preining@logic.at> wrote:
>
> Ok, I tried your suggestion, but that again breaks:
I've checked and using \gdef instead of \def works, because the
definition took place within a TeX group:
\input texinfo @c -*-texinfo-*-
@iftex
@tex
\gdef\aaa#1{Hello #1}
@end tex
@end iftex
@macro bbb{word}
@tex
\\aaa{\word\}
@end tex
@end macro
@bbb{World}
@bye
I don't know why the original code used to work, because \gdef wasn't
used there either.
> Is this just an incorrect usage of macro definitions and @tex
> in the original sources, that "just happened" to work till 6.0,
> or is there something else behind?
There's nothing else to it as far as I can tell. As far as I know,
this usage has never been documented or encouraged. It appears to be a
recursive definition of a macro which actually uses a definition from
elsewhere.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Thu, 17 Mar 2016 09:21:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Thu, 17 Mar 2016 09:21:08 GMT) (full text, mbox, link).
Message #80 received at 815205@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Thu, 17 Mar 2016, Norbert Preining wrote:
> Please for now I suggest to drop the attached patch into
> debian/patches
> and adjust debian/patches/series.
Attached is a second version which is a bit simpler, following
the advice of Gavin to use \gdef here.
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
[fix-texinfo-ftbfs (text/plain, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Thu, 17 Mar 2016 09:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Thu, 17 Mar 2016 09:33:04 GMT) (full text, mbox, link).
Message #85 received at 815205@bugs.debian.org (full text, mbox, reply):
sorry, scrap that ...
> Attached is a second version which is a bit simpler, following
> the advice of Gavin to use \gdef here.
But needs gdef *everywhere*
> \long\def\dashphelper#1\dashphelper{
> \ifx\dashphelper\next\dashfalse\else\dashtrue\fi
> }
> -\def\lw#1{\leavevmode\dashp{#1}\ifdash#1\else\hbox{#1}\fi}
> +\gdef\llw#1{\leavevmode\dashp{#1}\ifdash#1\else\hbox{#1}\fi}
/home/norbert/ti/sbcl-1.3.1/doc/manual/docstrings/condition-sb-ext-compiler-not
e.texinfo:3: Undefined control sequence.
\llw #1->\leavevmode \dashp
{#1}\ifdash #1\else \hbox {#1}\fi
Better try the first version I sent.
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
Reply sent
to Christoph Egger <christoph@debian.org>:
You have taken responsibility.
(Thu, 17 Mar 2016 16:45:25 GMT) (full text, mbox, link).
Notification sent
to Logan Rosen <logan@ubuntu.com>:
Bug acknowledged by developer.
(Thu, 17 Mar 2016 16:45:26 GMT) (full text, mbox, link).
Message #90 received at 815205-close@bugs.debian.org (full text, mbox, reply):
Source: sbcl
Source-Version: 2:1.3.3-1
We believe that the bug you reported is fixed in the latest version of
sbcl, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 815205@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Christoph Egger <christoph@debian.org> (supplier of updated sbcl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 15 Mar 2016 16:54:17 +0100
Source: sbcl
Binary: sbcl sbcl-doc sbcl-source
Architecture: source kfreebsd-amd64 all
Version: 2:1.3.3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>
Changed-By: Christoph Egger <christoph@debian.org>
Description:
sbcl - Common Lisp compiler and development system
sbcl-doc - Documentation for Steel Bank Common Lisp
sbcl-source - Source code files for SBCL
Closes: 815205
Changes:
sbcl (2:1.3.3-1) unstable; urgency=medium
.
* Patch texinfo manual for new texinfo (Closes: #815205). Thanks to
Norbert Preining for the patch
* New upstream release
changes in sbcl-1.3.3 relative to sbcl-1.3.2:
* enhancement: warn about argument mismatch for functions passed as
arguments to other functions (e.g. REDUCE, MAP) at compile-time.
* optimization: functions accepting other functions (e.g. REDUCE, FIND) can
now be constant-folded if all function arguments are declared as foldable.
* optimization: improved logical operations on integers of unknown type.
* bug fix: exception handling no longer leaks memory on OS X. (lp#326238)
changes in sbcl-1.3.2 relative to sbcl-1.3.1:
* enhancement: {READ,WRITE}-SEQUENCE are much faster for some combinations
of short sequences and stream types
* enhancement: MAKE-LIST's result can be stack-allocated on x86-64
* bug fix: WRITE-SEQUENCE no longer fails to write lists containing integers
to bivalent streams
* bug fix: LOGTEST (and hence ODDP) no longer conses when given fixnum
arguments and small bit positions. (lp#1277690)
* bug fix: READ-FROM-STRING compiler-macro does not permute its arguments
* bug fix: DEFUN of a function name that collides with a system-generated
structure accessor does not confuse the runtime. (lp#540063)
* bug fix: heap corruption from miscompiled RESTART-BIND. (lp#1530390)
Checksums-Sha1:
8143fa101eb5369f0db86bab526477db48b8ffe3 2370 sbcl_1.3.3-1.dsc
849709c0e69505700cb1df311eb660459a83db69 5740904 sbcl_1.3.3.orig.tar.bz2
71fc081d411e9fbeac588d3dff7d1cb9e72b011f 78820 sbcl_1.3.3-1.debian.tar.xz
0a11743cbdf531a923bc97f3c75783b16067e5bb 232088 sbcl-dbgsym_1.3.3-1_kfreebsd-amd64.deb
9028dbbe57440d86c0ce2c118a559e52361962e5 1418076 sbcl-doc_1.3.3-1_all.deb
79119e81b2099a637fd46ba63171c1b05d5dbc85 2925520 sbcl-source_1.3.3-1_all.deb
f6b4faeaf83c852255be10830065c1f2322fe25e 8846398 sbcl_1.3.3-1_kfreebsd-amd64.deb
Checksums-Sha256:
280324433e58a8bc42a94b29ac68517d3083b62752e67d0fc2627162b2fab2ea 2370 sbcl_1.3.3-1.dsc
db38f600f2db5511566cbb53c3e6ac70b2576a09d5210ac44f9a9b14fee7fb4f 5740904 sbcl_1.3.3.orig.tar.bz2
4ab46b13448be8f649b9384673acee96a27319124468813620d52a670be3f007 78820 sbcl_1.3.3-1.debian.tar.xz
0c9b5b720cbd757a2c6731a659804b8f1234fbda13ab0cc2d31c2bb15825a96b 232088 sbcl-dbgsym_1.3.3-1_kfreebsd-amd64.deb
17eb4e3497cf9bbdc88717bed17997b6b3909a35d1b9e520c51c0bbd2fd4bfd4 1418076 sbcl-doc_1.3.3-1_all.deb
8725ece24cad9806520bbd99a63b70fe31a29a5a71a031b090bbc94bb2f7dbb2 2925520 sbcl-source_1.3.3-1_all.deb
649aad90e8dfc089dd77faf7f66482bfb5c3c485c7e0b5fad9cdad65f8f81b14 8846398 sbcl_1.3.3-1_kfreebsd-amd64.deb
Files:
04108ac9f5e3e617f0392489aeb6cb3b 2370 lisp optional sbcl_1.3.3-1.dsc
a8b21e9dd6dfb408d626239f45ff9795 5740904 lisp optional sbcl_1.3.3.orig.tar.bz2
5b6dbbf0ed0f6d2d0c0f2c2ab63ce5bb 78820 lisp optional sbcl_1.3.3-1.debian.tar.xz
af7c6f75aa3ff0cce511b7500631c240 232088 debug extra sbcl-dbgsym_1.3.3-1_kfreebsd-amd64.deb
9920398f16bf8b60a669919092562899 1418076 doc optional sbcl-doc_1.3.3-1_all.deb
767163fb4c3dbc8dcf3c9714af46f216 2925520 lisp optional sbcl-source_1.3.3-1_all.deb
dca03c0c05b04ce6d3b47b27611c9c7d 8846398 lisp optional sbcl_1.3.3-1_kfreebsd-amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJW6skjAAoJEKv/7bJACMb594AQAKZO7N2ukjL9S1QR/gq1ysAi
Bl+/HDK58L13lRf3Vko5TuWltM1AHmwISX24aZ3nmtLPOIugv/QEq7iqwt+qtyLP
jhV/A4H+y3ltXZAKdC8n9CHHKVWfecAsfF5Zb/nhPVg3Cazv+TTrvpNRWA41Qj9C
r4mdfPv8ptWY7mZXFqsYGLw+kYOHYysY2NKRBH6mlF7hFEconpxw8cmhtiFpsEyV
2dTosJoFFgSv6r2fW1zVx4emXq/1vtcf9jmIT5MB9kQTnHytpPalCBYp2X7DxKjP
1k3NU0A7JD+7emiQ5zvyGp00wGVAYedYnZwzsNR0p6DoAA8qlpCCHoVwxpeikXfX
3KgnOnNJaTCm+as6+nESJDb5QOTH6IvpMqg9a72+Zm3fb/dIPit4ejSAWvW7tlLK
U2XsXdJU7VtncYFzBM9rgLCDmFHJoRbcmCACH6KSYsIKXGmmJgc5Vq1+bHF8ORU0
JJO0yJwUkT8s5O9F7tg1qgD0NofNjyPwaeRP6TH4f2IfxPvFLPFWGexaZYYRBQyd
MP03l/FmFWnkawYipus/FguVSJ3oVmjUnlVr8q7XCo2KXtWrNEVBruocrt6rmWXv
h/+0Q9pytLjHi9kqmbHjGJGJp6FDRN1T4wfMYVd7sIP4s51Te9DMqC2/7R8JEQRe
WT30+XSKya+4B1Omoc5c
=bauE
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Thu, 31 Mar 2016 12:39:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Christophe Rhodes <csr21@cantab.net>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Thu, 31 Mar 2016 12:39:11 GMT) (full text, mbox, link).
Message #95 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi,
The patch mentioned in #815205, and distributed along with 2:1.3.3-1,
does allow the TeXinfo manual to build. Unfortunately, it ruins the
typesetting of the index in the PDF version of the manual, which now
typesets literal @llap...@phantomconcurrency (rather than interpreting
the TeX commands).
I'm not sure what's going on; I will try to find out, but if someone
more versed in TeXinfo is able to look as well, that would be helpful.
You can see what the index should look like in the document at
<http://www.sbcl.org/manual/sbcl.pdf>.
Best,
Christophe
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Mon, 11 Apr 2016 18:39:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Gavin Smith <gavinsmith0123@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Mon, 11 Apr 2016 18:39:08 GMT) (full text, mbox, link).
Message #100 received at 815205@bugs.debian.org (full text, mbox, reply):
On 17 March 2016 at 07:25, Gavin Smith <gavinsmith0123@gmail.com> wrote:
> I've checked and using \gdef instead of \def works, because the
> definition took place within a TeX group:
I've come across the following message:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815205#95:
======
The patch mentioned in #815205, and distributed along with 2:1.3.3-1,
does allow the TeXinfo manual to build. Unfortunately, it ruins the
typesetting of the index in the PDF version of the manual, which now
typesets literal @llap...@phantomconcurrency (rather than interpreting
the TeX commands).
I'm not sure what's going on; I will try to find out, but if someone
more versed in TeXinfo is able to look as well, that would be helpful.
You can see what the index should look like in the document at
<http://www.sbcl.org/manual/sbcl.pdf>.
======
If there are still problems could someone email me the Texinfo sources
so I can have a look?
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Tue, 12 Apr 2016 08:06:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Tue, 12 Apr 2016 08:06:03 GMT) (full text, mbox, link).
Message #105 received at 815205@bugs.debian.org (full text, mbox, reply):
HI Gavin, hi Christoph,
> does allow the TeXinfo manual to build. Unfortunately, it ruins the
> typesetting of the index in the PDF version of the manual, which now
> typesets literal @llap...@phantomconcurrency (rather than interpreting
> the TeX commands).
Here is a minimal example extracted from the sbcl sources that shows
the effect:
\input texinfo @c -*-texinfo-*-
@iftex
@macro cl{name}
{@smallertt@phantom{concurrency:}@llap{cl:}}\name\
@end macro
@end iftex
Some text
@tindex @cl{built-in-class}
foo bar baz
@printindex tp
@bye
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Tue, 12 Apr 2016 16:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Gavin Smith <gavinsmith0123@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Tue, 12 Apr 2016 16:27:05 GMT) (full text, mbox, link).
Message #110 received at 815205@bugs.debian.org (full text, mbox, reply):
On 12 April 2016 at 09:05, Norbert Preining <preining@logic.at> wrote:
> Here is a minimal example extracted from the sbcl sources that shows
> the effect:
> \input texinfo @c -*-texinfo-*-
>
> @iftex
> @macro cl{name}
> {@smallertt@phantom{concurrency:}@llap{cl:}}\name\
> @end macro
> @end iftex
>
> Some text
>
> @tindex @cl{built-in-class}
> foo bar baz
>
> @printindex tp
>
>
> @bye
>
Thanks for sending, I believe the diff below fixes it. Please let me
know whether it works. These catcode changes were there before but I
must have removed them when the expansion of Texinfo macros no longer
took place within a TeX group. They're needed for macro expansion in
index entries, as you found.
Index: texinfo.tex
===================================================================
--- texinfo.tex (revision 7054)
+++ texinfo.tex (working copy)
@@ -5305,7 +5305,6 @@
\putwordIndexNonexistent
\else
\catcode`\\ = 0
- \escapechar = `\\
%
% If the index file exists but is empty, then \openin leaves \ifeof
% false. We have to make TeX try to read something from the file, so
@@ -6866,7 +6865,6 @@
\catcode `\>=\other
\catcode `\`=\other
\catcode `\'=\other
- \escapechar=`\\
%
% ' is active in math mode (mathcode"8000). So reset it, and all our
% other math active characters (just in case), to plain's definitions.
@@ -7844,15 +7842,27 @@
% alias because \c means cedilla in @tex or @math
\let\texinfoc=\c
+\newcount\savedcatcodeone
+\newcount\savedcatcodetwo
+
% Used at the time of macro expansion.
% Argument is macro body with arguments substituted
\def\scanmacro#1{%
\newlinechar`\^^M
\def\xeatspaces{\eatspaces}%
%
+ % Temporarily undo catcode changes of \printindex
+ \savedcatcodeone=\catcode`\@
+ \savedcatcodetwo=\catcode`\\
+ \catcode`\@=0
+ \catcode`\\=\active
+ %
% Process the macro body under the current catcode regime.
- \scantokens{#1\texinfoc}\aftermacro%
+ \scantokens{#1@texinfoc}\aftermacro%
%
+ \catcode`\@=\savedcatcodeone
+ \catcode`\\=\savedcatcodetwo
+ %
% The \texinfoc is to remove the \newlinechar added by \scantokens, and
% can be noticed by \parsearg.
% The \aftermacro allows a \comment at the end of the macro definition
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Tue, 12 Apr 2016 21:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Karl Berry <karl@freefriends.org>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Tue, 12 Apr 2016 21:42:03 GMT) (full text, mbox, link).
Message #115 received at 815205@bugs.debian.org (full text, mbox, reply):
On another front:
@iftex
@macro cl{name}
{@smallertt@phantom{concurrency:}@llap{cl:}}\name\
@end macro
@end iftex
What's inside @iftex is supposed to be valid Texinfo.
(Just like @ifinfo, etc.) To lapse into plain/raw TeX,
@tex should be used. That's why it exists.
(Of course, it would be a lot simpler to avoid trying to control
formatting in the first place, as that is not what Texinfo was ever
designed to do. But I know people feel the need to do it anyway.)
(Not that I have anything against fixing the issue. Indeed, I'm glad
Gavin could do so.)
k
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>:
Bug#815205; Package src:sbcl.
(Wed, 13 Apr 2016 00:39:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Norbert Preining <preining@logic.at>:
Extra info received and forwarded to list. Copy sent to Debian Common Lisp Team <pkg-common-lisp-devel@lists.alioth.debian.org>.
(Wed, 13 Apr 2016 00:39:08 GMT) (full text, mbox, link).
Message #120 received at 815205@bugs.debian.org (full text, mbox, reply):
Hi all,
> Thanks for sending, I believe the diff below fixes it. Please let me
Thanks a lot. I does fix the problem. I now get a proper sbcl.pdf
manual.
Christoph, I have already uploaded texinfo 6.1.0.dfsg.1-6, with this
version I get a good sbcl.pdf on my computer. Please also confirm.
Thanks a lot for your quick help, Gavin!
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 11 May 2016 07:26:30 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jan 6 22:58:36 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.