=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for fricas-1.3.5nb2
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/build/x86_64-apple-darwin23/bin
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/build/x86_64-apple-darwin23/lib
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/bin
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/lib
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/share/spadhelp
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/share/msgs
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/share/texmf/tex
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/algebra/
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/autoload
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/input
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/src/algebra
mkdir -p /Users/pbulk/build/math/fricas/work/fricas-1.3.5/build/x86_64-apple-darwin23
echo timestamp > stamp-rootdirs
echo "PREGENERATED=[/Users/pbulk/build/math/fricas/work/fricas-1.3.5/pre-generated]"
PREGENERATED=[/Users/pbulk/build/math/fricas/work/fricas-1.3.5/pre-generated]
if test -z "/Users/pbulk/build/math/fricas/work/fricas-1.3.5/pre-generated"; then \
  echo "Not using pre-generated data."; \
elif test ! -d "/Users/pbulk/build/math/fricas/work/fricas-1.3.5/pre-generated"; then \
  echo "PREGENERATED directory does not exist."; \
  exit 1; \
else \
  if test -d /Users/pbulk/build/math/fricas/work/fricas-1.3.5/pre-generated/target; then \
    cp -r /Users/pbulk/build/math/fricas/work/fricas-1.3.5/pre-generated/target/* /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23; \
  fi && \
  echo timestamp > pre-gen; \
fi
cd ./src && /opt/pkg/bin/gmake BUILD_DATE="`date`" all-src
gmake[1]: Entering directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src'
gmake[2]: Entering directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lib'
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   bsdsignal.c -o bsdsignal.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   cfuns-c.c -o cfuns-c.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   sockio-c.c -o sockio-c.o
sockio-c.c:608:7: warning: variable 'val' set but not used [-Wunused-but-set-variable]
  int val;
      ^
1 warning generated.
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   cursor.c -o cursor.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   edin.c -o edin.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   fnct_key.c -o fnct_key.o
fnct_key.c:106:9: warning: variable 'length' set but not used [-Wunused-but-set-variable]
    int length;
        ^
fnct_key.c:234:9: warning: variable 'save_echo' set but not used [-Wunused-but-set-variable]
    int save_echo;
        ^
2 warnings generated.
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   openpty.c -o openpty.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   prt.c -o prt.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   wct.c -o wct.o
wct.c:243:31: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
  printf("%s", "            " + (cc - (NHEAD + NTAIL)));
               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
wct.c:243:31: note: use array indexing to silence this warning
  printf("%s", "            " + (cc - (NHEAD + NTAIL)));
                              ^
               &              [                       ]
1 warning generated.
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   halloc.c -o halloc.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   hash.c -o hash.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   pixmap.c -o pixmap.o
pixmap.c:324:7: warning: variable 'status' set but not used [-Wunused-but-set-variable]
  int status;
      ^
1 warning generated.
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   spadcolors.c -o spadcolors.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   util.c -o util.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   XDither.c -o XDither.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   XShade.c -o XShade.o
clang -g -fPIC -O2 -Wall -D_GNU_SOURCE -c -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/include -I/Users/pbulk/build/math/fricas/work/fricas-1.3.5/config \
   XSpadFill.c -o XSpadFill.o
XSpadFill.c:85:9: warning: variable 'maxDither' set but not used [-Wunused-but-set-variable]
    int maxDither;
        ^
1 warning generated.
ar ru libspad.a bsdsignal.o cfuns-c.o sockio-c.o cursor.o edin.o fnct_key.o openpty.o prt.o wct.o halloc.o hash.o pixmap.o spadcolors.o util.o XDither.o XShade.o XSpadFill.o
ar: creating archive libspad.a
ranlib libspad.a
clang -g -dynamiclib -single_module bsdsignal.o cfuns-c.o sockio-c.o  -o /Users/pbulk/build/math/fricas/work/fricas-1.3.5/target/x86_64-apple-darwin23/lib/libspad.so
rm -f stamp
echo timestamp > stamp
gmake[2]: Leaving directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lib'
cd lisp && /opt/pkg/bin/gmake all-lisp
gmake[2]: Entering directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lisp'
gmake[2]: Circular fricas-lisp.lisp <- fricas-lisp.lisp dependency dropped.
gmake[2]: Circular fricas-package.lisp <- fricas-package.lisp dependency dropped.
echo '(in-package "FRICAS-LISP")' > fricas-config.lisp
echo '(defparameter algebra-optimization' \
     '(quote nil))' >> fricas-config.lisp
if [ xyes = xyes ] ; then \
    echo '(if (not (member :fricas_has_remove_directory' \
                          ' *features*)) ' \
             '(push :fricas_has_remove_directory *features*))' \
       >> fricas-config.lisp ; \
fi
gmake[2]: Circular primitives.lisp <- primitives.lisp dependency dropped.
echo '(load "fricas-package.lisp")' \
    '(load "fricas-config.lisp")' \
            '#+(or :sbcl :openmcl) (load (compile-file "num_gmpx.lisp"))' \
    '(load (compile-file "fricas-lisp.lisp"))' \
    '(load (compile-file "primitives.lisp"))' \
            '(in-package "FRICAS-LISP") (save-core "/Users/pbulk/build/math/fricas/work/fricas-1.3.5/build/x86_64-apple-darwin23/bin/lisp")' \
         | clisp --quiet -norc
[1]> 
;; Loading file fricas-package.lisp ...
;; Loaded file fricas-package.lisp
T
[2]> 
;; Loading file fricas-config.lisp ...
;; Loaded file fricas-config.lisp
T
[3]> 
;; Compiling file /Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lisp/fricas-lisp.lisp ...
WARNING: in |quiet_load_alien| in lines 364..372 : variable S is not used.
         Misspelled or missing IGNORE declaration?
;; Wrote file /Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lisp/fricas-lisp.fas
The following functions were used but not defined:
 FRICAS-LISP::SOCK_SEND_STRING_LEN FRICAS-LISP::SOCK_GET_STRING_BUF
The following functions were used but are deprecated:
 MAKE-DIR - Use MAKE-DIRECTORY instead.
0 errors, 1 warning
T
[4]> 
;; Compiling file /Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lisp/primitives.lisp ...
WARNING: in #:|512 520 (DEFSTRUCT (SPAD-KERNEL #) OP ...)-107-1-1| in lines
         512..520 : variable K is not used.
         Misspelled or missing IGNORE declaration?
WARNING: in LETT in lines 660..685 : |$QuickLet| is neither declared nor
         bound,
         it will be treated as if it were declared SPECIAL.
WARNING: in LETT in lines 660..685 : |$compilingMap| is neither declared nor
         bound,
         it will be treated as if it were declared SPECIAL.
;; Wrote file /Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lisp/primitives.fas
The following functions were used but not defined:
 BOOT::|error| BOOT::MKQ BOOT::STRCONC BOOT::MAKE-REASONABLE
 BOOT::STRINGIMAGE BOOT::|devaluate| BOOT::|expandREPEAT|
 BOOT::|expandCOLLECT|
The following special variables were not defined:
 BOOT::|$QuickLet| BOOT::|$compilingMap|
0 errors, 3 warnings
T
[5]> 
#<PACKAGE FRICAS-LISP>
FRICAS-LISP[6]> 
Bytes permanently allocated:            179,512
Bytes currently in use:               3,771,768
Bytes available until next GC:           93,912
3771768 ;
93912 ;
179512 ;
36 ;
34542584 ;
190099
echo timestamp > do_it.clisp
gmake[2]: Leaving directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/lisp'
gmake[2]: Entering directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/boot'
Building stage 0
[ -d stage0 ] || ../../config/mkinstalldirs stage0
mkdir stage0
rm -rf prev-stage
rm -f stage0/ptyout.fas stage0/btincl2.fas stage0/btscan2.fas stage0/typrops.fas stage0/btpile2.fas stage0/typars.fas stage0/tytree1.fas
rm -f stage0/ptyout.clisp stage0/btincl2.clisp stage0/btscan2.clisp stage0/typrops.clisp stage0/btpile2.clisp stage0/typars.clisp stage0/tytree1.clisp
/opt/pkg/bin/gmake OBJECTS="stage0/ptyout.fas stage0/btincl2.fas stage0/btscan2.fas stage0/typrops.fas stage0/btpile2.fas stage0/typars.fas stage0/tytree1.fas" stage0/bootsys
gmake[3]: Entering directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/boot'
/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/scripts/build_helper --compile_lisp --debug=no --use=/Users/pbulk/build/math/fricas/work/fricas-1.3.5/build/x86_64-apple-darwin23/bin/lisp --output=stage0/ptyout.fas compiled/ptyout.clisp
module 'syscalls' requires package OS.
gmake[3]: *** [Makefile:253: stage0/ptyout.fas] Error 1
gmake[3]: Leaving directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/boot'
gmake[2]: *** [Makefile:248: stage0/stamp_bootsys] Error 2
gmake[2]: Leaving directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src/boot'
gmake[1]: *** [Makefile:226: all-boot] Error 2
gmake[1]: Leaving directory '/Users/pbulk/build/math/fricas/work/fricas-1.3.5/src'
gmake: *** [Makefile:246: all-src] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/math/fricas
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/math/fricas