Hi Barak,
thanks for packaging *r3908* and for the two reports.
Summary
-------
Fixed: 2 (#1, #2)
Fixed with exception: 0
Not a bug: 0
Fixed
-----
#1 Bugs40_MX.tc without GSL: already fixed in *SVN 2171* (it was also
reported as Bugs42 #31). The file now has a )SIC right before its
]NEXTFILE NO-GSL guard, so a build without libgsl leaves no )SI
entries behind.
#2 CLAUDE.md installed: fixed in *SVN 2172* as you suggested.
Claude/Makefile.am now uses EXTRA_DIST = $(MD), so CLAUDE.md stays
in the tarball but is no longer installed by "make install". You can
drop the removal from the Debian packaging once you package *SVN 2172*
or later.
Best Regards,
Jürgen
PS: The analysis of your report and the resulting changes were made with
the help of Claude Code (Anthropic). All changes were reviewed by me and
verified against the GNU APL testcases before being committed.
On 11/25/26 11:19, Barak A. Pearlmutter wrote:
Hi Jürgen,
Thanks for taking the build-system patches. I've packaged r3908 for
Debian and ran into two small things along the way.
1. src/testsuites/main/Bugs40_MX.tc fails when GNU APL is built
without libgsl.
The ⎕MX part of the file is guarded by
]NEXTFILE NO-GSL
(line 199). On a build without GSL this skips the rest of the file,
which includes the )SIC at the end (line 349). So the SI is left
non-empty, and the testcase is reported as failed even though nothing
is actually wrong. I see the same failure with your own --TL run on a
non-GSL build. Moving a )SIC up to just before the ]NEXTFILE NO-GSL,
or having ]NEXTFILE clear the SI itself, should fix it.
(Debian now builds with libgsl, so this doesn't affect the package. It
does affect anyone building without it.)
2. Claude/CLAUDE.md is installed by "make install".
Claude/Makefile.am has
dist_doc_DATA = $(MD)
so CLAUDE.md ends up in /usr/share/doc/apl (or $prefix/share/doc/apl).
As far as I can tell it is meant for people working on the source, not
for users of the installed program. If so,
EXTRA_DIST = $(MD)
would keep it in the tarball without installing it. For now I remove
it in the Debian packaging.
Cheers,
--Barak.