Hi Mike,
Thanks for the report -- found it. src/native/Makefile.am's all-local
step copies the freshly-built native-function libraries next to the
apl binary so the interpreter can be tested from the build tree without
a prior 'make install'. That step globbed .libs/*.so only; on MacOS
libtool builds .dylib instead, so the glob matches nothing, is left as
a literal (non-existent) filename, and the resulting failed 'test -f'
aborts the whole build right there -- which is exactly why your
transcript shows a fully successful compile/link/ranlib/symlink
sequence for lib_template_OP2 immediately followed by 'all-local]
Error 1' with no error text of its own: the failure is in that copy
step, not in anything you pasted above it.
Fixed at *SVN 2087 *-- now globs both *.so and *.dylib, and
can no longer abort the build either way. Please *svn up* and retry;
let us know if anything else comes up.
Jürgen
PS: Claude Code found and fixed this one.
On 8/18/26 16:13, M.Hall wrote:
I get a build error with the latest SVN (happened last week, too).
Used to build ok earlier in the year. No changes to compiler; only
security updates to macOS 15.7. Have removed existing svn/trunk
directory and tried a new svn clone. Same result.
$ make clean
$ svn up
$ ./configure --without-x
$ make -w
...
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I../.. -I ./.. -g -O2 -g -O2 -I
/Volumes/WORK/Language/APL/gnu-apl/SVN/trunk -MT
lib_template_OP2_la-template_OP2.lo -MD -MP -MF
.deps/lib_template_OP2_la-template_OP2.Tpo -c -o
lib_template_OP2_la-template_OP2.lo `test -f 'template_OP2.cc' || echo
'./'`template_OP2.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I ./.. -g -O2 -g
-O2 -I /Volumes/WORK/Language/APL/gnu-apl/SVN/trunk -MT
lib_template_OP2_la-template_OP2.lo -MD -MP -MF
.deps/lib_template_OP2_la-template_OP2.Tpo -c template_OP2.cc
-fno-common -DPIC -o .libs/lib_template_OP2_la-template_OP2.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I ./.. -g -O2 -g
-O2 -I /Volumes/WORK/Language/APL/gnu-apl/SVN/trunk -MT
lib_template_OP2_la-template_OP2.lo -MD -MP -MF
.deps/lib_template_OP2_la-template_OP2.Tpo -c template_OP2.cc -o
lib_template_OP2_la-template_OP2.o >/dev/null 2>&1
mv -f .deps/lib_template_OP2_la-template_OP2.Tpo
.deps/lib_template_OP2_la-template_OP2.Plo
/bin/sh ../../libtool --tag=CXX --mode=link g++ -I ./.. -g -O2 -g
-O2 -I /Volumes/WORK/Language/APL/gnu-apl/SVN/trunk -avoid-version
-export-dynamic -o lib_template_OP2.la -rpath /usr/local/lib/apl
lib_template_OP2_la-template_OP2.lo -lpcre2-32 -lpng -lz -lfftw3 -ldl
-lm -lpthread
libtool: link: g++ -r -keep_private_externs -nostdlib -o
.libs/lib_template_OP2.dylib-master.o
.libs/lib_template_OP2_la-template_OP2.o
libtool: link: g++ -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o
.libs/lib_template_OP2.dylib .libs/lib_template_OP2.dylib-master.o
/usr/local/lib/libpcre2-32.dylib /usr/local/lib/libpng16.dylib -lz
/usr/local/lib/libfftw3.a -ldl -lm -lpthread -g -O2 -g -O2 -pthread
-install_name /usr/local/lib/apl/lib_template_OP2.dylib
libtool: link: ar cr .libs/lib_template_OP2.a
lib_template_OP2_la-template_OP2.o
libtool: link: ranlib .libs/lib_template_OP2.a
libtool: link: ( cd ".libs" && rm -f "lib_template_OP2.la" && ln -s
"../lib_template_OP2.la" "lib_template_OP2.la" )
make[3]: *** [all-local] Error 1
make[3]: Leaving directory
`/Volumes/WORK/Language/APL/gnu-apl/SVN/trunk/src/native'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/Volumes/WORK/Language/APL/gnu-apl/SVN/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Volumes/WORK/Language/APL/gnu-apl/SVN/trunk'
make: *** [all] Error 2
make: Leaving directory `/Volumes/WORK/Language/APL/gnu-apl/SVN/trunk'
$ svn info
Path: .
Working Copy Root Path: /Volumes/WORK/Language/APL/gnu-apl/SVN/trunk
URL: svn://svn.savannah.gnu.org/apl/trunk
<http://svn.savannah.gnu.org/apl/trunk>
Relative URL: ^/trunk
Repository Root: svn://svn.savannah.gnu.org/apl
<http://svn.savannah.gnu.org/apl>
Repository UUID: bd74f7bd-1a55-4bac-9fab-68015b139e80
Revision: 2086
Node Kind: directory
Schedule: normal
Last Changed Author: j_sauermann
Last Changed Rev: 2086
Last Changed Date: 2026-08-18 08:23:05 -0500 (Tue, 18 Aug 2026)
$ g++ --version
Apple clang version 17.0.0 (clang-1700.0.13.5)
Target: arm64-apple-darwin24.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Thanks.
--
Mike Hall