===> Building for gambc-4.9.7 *** using a dummy gsc-boot gmake[1]: Entering directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7' rm -f gsc-boot gsc-boot cp gsc-boot.bat.windows gsc-boot cp gsc-boot.unix gsc-boot chmod +x gsc-boot gmake[1]: Leaving directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7' /opt/pkg/bin/gmake stamp gmake[1]: Entering directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7' gmake[2]: Entering directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/include' Gambit is not being built from a Git clone. Creating empty stamp.h. gmake[2]: Leaving directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/include' gmake[1]: Leaving directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7' making core in include gmake[1]: Entering directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/include' expr: not a decimal number: '4.9.7' gmake[1]: Leaving directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/include' making core in bin gmake[1]: Entering directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/bin' rm -f gambvcs if test "" = ""; then \ cp gambvcs.unix gambvcs; \ chmod +x gambvcs; \ else \ sed "s/\$/\r/g" gambvcs.bat.windows > gambvcs; \ fi rm -f gambuild-C if test "" = ""; then \ cp gambuild-C.unix gambuild-C; \ chmod +x gambuild-C; \ else \ sed "s/\$/\r/g" gambuild-C.bat.windows > gambuild-C; \ fi rm -f gambuild-js if test "" = ""; then \ cp gambuild-js.unix gambuild-js; \ chmod +x gambuild-js; \ else \ sed "s/\$/\r/g" gambuild-js.bat.windows > gambuild-js; \ fi rm -f gambuild-python if test "" = ""; then \ cp gambuild-python.unix gambuild-python; \ chmod +x gambuild-python; \ else \ sed "s/\$/\r/g" gambuild-python.bat.windows > gambuild-python; \ fi rm -f gambuild-ruby if test "" = ""; then \ cp gambuild-ruby.unix gambuild-ruby; \ chmod +x gambuild-ruby; \ else \ sed "s/\$/\r/g" gambuild-ruby.bat.windows > gambuild-ruby; \ fi rm -f gambuild-php if test "" = ""; then \ cp gambuild-php.unix gambuild-php; \ chmod +x gambuild-php; \ else \ sed "s/\$/\r/g" gambuild-php.bat.windows > gambuild-php; \ fi rm -f gambuild-java if test "" = ""; then \ cp gambuild-java.unix gambuild-java; \ chmod +x gambuild-java; \ else \ sed "s/\$/\r/g" gambuild-java.bat.windows > gambuild-java; \ fi rm -f gambuild-x86 if test "" = ""; then \ cp gambuild-x86.unix gambuild-x86; \ chmod +x gambuild-x86; \ else \ sed "s/\$/\r/g" gambuild-x86.bat.windows > gambuild-x86; \ fi rm -f gambuild-x86-64 if test "" = ""; then \ cp gambuild-x86-64.unix gambuild-x86-64; \ chmod +x gambuild-x86-64; \ else \ sed "s/\$/\r/g" gambuild-x86-64.bat.windows > gambuild-x86-64; \ fi rm -f gambuild-arm if test "" = ""; then \ cp gambuild-arm.unix gambuild-arm; \ chmod +x gambuild-arm; \ else \ sed "s/\$/\r/g" gambuild-arm.bat.windows > gambuild-arm; \ fi rm -f gambuild-riscv-32 if test "" = ""; then \ cp gambuild-riscv-32.unix gambuild-riscv-32; \ chmod +x gambuild-riscv-32; \ else \ sed "s/\$/\r/g" gambuild-riscv-32.bat.windows > gambuild-riscv-32; \ fi rm -f gambuild-riscv-64 if test "" = ""; then \ cp gambuild-riscv-64.unix gambuild-riscv-64; \ chmod +x gambuild-riscv-64; \ else \ sed "s/\$/\r/g" gambuild-riscv-64.bat.windows > gambuild-riscv-64; \ fi rm -f gambdoc if test "" = ""; then \ cp gambdoc.unix gambdoc; \ chmod +x gambdoc; \ else \ sed "s/\$/\r/g" gambdoc.bat.windows > gambdoc; \ fi rm -f six six.lnk if test "" = ""; then \ ln -s ../gsi/gsi six; \ else \ echo "@%~dp0gsi %*" > six; \ fi rm -f gsi-script gsi-script.lnk if test "" = ""; then \ ln -s ../gsi/gsi gsi-script; \ else \ echo "@%~dp0gsi %*" > gsi-script; \ fi rm -f gsc-script gsc-script.lnk if test "" = ""; then \ ln -s ../gsc/gsc gsc-script; \ else \ echo "@%~dp0gsc %*" > gsc-script; \ fi rm -f six-script six-script.lnk if test "" = ""; then \ ln -s ../gsi/gsi six-script; \ else \ echo "@%~dp0gsi %*" > six-script; \ fi rm -f scheme-srfi-0 scheme-srfi-0.lnk if test "" = ""; then \ ln -s ../gsi/gsi scheme-srfi-0; \ else \ echo "@%~dp0gsi %*" > scheme-srfi-0; \ fi rm -f scheme-r5rs scheme-r5rs.lnk if test "" = ""; then \ ln -s ../gsi/gsi scheme-r5rs; \ else \ echo "@%~dp0gsi %*" > scheme-r5rs; \ fi rm -f scheme-r4rs scheme-r4rs.lnk if test "" = ""; then \ ln -s ../gsi/gsi scheme-r4rs; \ else \ echo "@%~dp0gsi %*" > scheme-r4rs; \ fi rm -f scheme-ieee-1178-1990 scheme-ieee-1178-1990.lnk if test "" = ""; then \ ln -s ../gsi/gsi scheme-ieee-1178-1990; \ else \ echo "@%~dp0gsi %*" > scheme-ieee-1178-1990; \ fi gmake[1]: Leaving directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/bin' making core in lib gmake[1]: Entering directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/lib' clang++ -O1 -pipe -Os -I/opt/pkg/include/ncurses -I"../include" -c -o _io.o -I. -DHAVE_CONFIG_H -D___GAMBITDIR="\"/opt/pkg\"" -D___GAMBITDIR_INFO="\"/opt/pkg/info\"" -D___GAMBITDIR_USERLIB="\"\176/.gambit_userlib\"" -D___GAMBITDIR_INSTLIB="\"\176\176userlib\"" -D___SYS_TYPE_CPU="\"aarch64\"" -D___SYS_TYPE_VENDOR="\"apple\"" -D___SYS_TYPE_OS="\"darwin23\"" -D___CONFIGURE_COMMAND="\"./configure '--enable-single-host' '--enable-cplusplus' '--enable-shared' '--disable-absolute-shared-libs' '--enable-default-runtime-options=f8,-8,t8' '--enable-compiler-name=gsc-gambit' '--enable-interpreter-name=gsi-gambit' '--enable-gcc-opts' '--prefix=/opt/pkg' '--build=aarch64-apple-darwin23' '--host=aarch64-apple-darwin23' '--infodir=/opt/pkg/info' '--mandir=/opt/pkg/share/man' '--enable-option-checking=yes' 'build_alias=aarch64-apple-darwin23' 'host_alias=aarch64-apple-darwin23' 'CC=clang' 'CFLAGS=-pipe -Os -I/opt/pkg/include/ncurses' 'LDFLAGS=-L/opt/pkg/lib' 'LIBS=' 'CPPFLAGS=-I/opt/pkg/include/ncurses' 'CXX=clang++' 'CXXFLAGS=-pipe -Os -I/opt/pkg/include/ncurses'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _io.c -D___LIBRARY clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] _io.c:51166:14: error: expected '(' for function-style cast or type construction ___SET_R1(___F64BOX(___F64V1)) ^~~~~~~~~~~~~~~~~~~ ../include/gambit.h:3293:21: note: expanded from macro '___F64BOX' ({___U64 ___u64_x = ___F64_TO_U64_FOR_SELF_TAGGING(x); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/gambit.h:3299:21: note: expanded from macro '___F64_TO_U64_FOR_SELF_TAGGING' ({___U64 ___u64_x = ___F64_TO_U64(x); \ ^~~~~~~~~~~~~~~~ ../include/gambit.h:2229:35: note: expanded from macro '___F64_TO_U64' #define ___F64_TO_U64(x)___F64_U64{x}.u64 ~~~~~~~~~~^ ../include/gambit.h:6776:30: note: expanded from macro '___SET_R1' #define ___SET_R1(val)___R1=(val); ^~~ _io.c:76582:24: error: expected unqualified-id ___SET_F64(___F64V1,___F64UNBOXI(___R3)) ^ ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:37: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76582:24: error: expected expression ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:40: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76583:24: error: expected unqualified-id ___SET_F64(___F64V2,___F64UNBOXI(___R1)) ^ ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:37: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76583:24: error: expected expression ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:40: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76616:24: error: expected unqualified-id ___SET_F64(___F64V1,___F64UNBOXI(___R1)) ^ ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:37: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76616:24: error: expected expression ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:40: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76617:24: error: expected unqualified-id ___SET_F64(___F64V2,___F64UNBOXI(___R2)) ^ ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:37: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76617:24: error: expected expression ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:40: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:76711:24: error: expected ')' ___SET_F64(___F64V1,___F64UNBOX(___STK(-5))) ^ ../include/gambit.h:3284:95: note: expanded from macro '___F64UNBOX' : (___u64_x = ___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT2)-___SELF_TAGGED_FLONUM_OFFSET, \ ^ _io.c:76711:24: note: to match this '(' ../include/gambit.h:3284:5: note: expanded from macro '___F64UNBOX' : (___u64_x = ___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT2)-___SELF_TAGGED_FLONUM_OFFSET, \ ^ _io.c:76734:24: error: expected ')' ___SET_F64(___F64V1,___F64UNBOX(___STK(-5))) ^ ../include/gambit.h:3284:95: note: expanded from macro '___F64UNBOX' : (___u64_x = ___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT2)-___SELF_TAGGED_FLONUM_OFFSET, \ ^ _io.c:76734:24: note: to match this '(' ../include/gambit.h:3284:5: note: expanded from macro '___F64UNBOX' : (___u64_x = ___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT2)-___SELF_TAGGED_FLONUM_OFFSET, \ ^ _io.c:77628:24: error: expected ')' ___SET_F64(___F64V4,___F64UNBOX(___R1)) ^ ../include/gambit.h:3284:95: note: expanded from macro '___F64UNBOX' : (___u64_x = ___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT2)-___SELF_TAGGED_FLONUM_OFFSET, \ ^ _io.c:77628:24: note: to match this '(' ../include/gambit.h:3284:5: note: expanded from macro '___F64UNBOX' : (___u64_x = ___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT2)-___SELF_TAGGED_FLONUM_OFFSET, \ ^ _io.c:77630:14: error: expected '(' for function-style cast or type construction ___SET_R1(___F64BOX(___F64V5)) ^~~~~~~~~~~~~~~~~~~ ../include/gambit.h:3293:21: note: expanded from macro '___F64BOX' ({___U64 ___u64_x = ___F64_TO_U64_FOR_SELF_TAGGING(x); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/gambit.h:3299:21: note: expanded from macro '___F64_TO_U64_FOR_SELF_TAGGING' ({___U64 ___u64_x = ___F64_TO_U64(x); \ ^~~~~~~~~~~~~~~~ ../include/gambit.h:2229:35: note: expanded from macro '___F64_TO_U64' #define ___F64_TO_U64(x)___F64_U64{x}.u64 ~~~~~~~~~~^ ../include/gambit.h:6776:30: note: expanded from macro '___SET_R1' #define ___SET_R1(val)___R1=(val); ^~~ _io.c:78322:24: error: expected unqualified-id ___SET_F64(___F64V1,___F64UNBOXI(___R3)) ^ ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:37: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:78322:24: error: expected expression ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:40: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:78323:24: error: expected unqualified-id ___SET_F64(___F64V2,___F64UNBOXI(___R2)) ^ ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:37: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:78323:24: error: expected expression ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:40: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:79945:24: error: expected unqualified-id ___SET_F64(___F64V1,___F64UNBOXI(___R1)) ^ ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:37: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ _io.c:79945:24: error: expected expression ../include/gambit.h:3290:3: note: expanded from macro '___F64UNBOXI' ___F64_FROM_U64(___ROTL64(___u64_x, ___SELF_TAGGED_FLONUM_SHIFT1));}) ^ ../include/gambit.h:2230:40: note: expanded from macro '___F64_FROM_U64' #define ___F64_FROM_U64(x)___U64_F64{x}.f64 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. gmake[1]: *** [makefile:311: _io.o] Error 1 gmake[1]: Leaving directory '/Users/pbulk/build/lang/gambc/work/gambit-v4_9_7/lib' gmake: *** [makefile:544: core-recursive] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/gambc *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/lang/gambc