hi, sorry to write regarding this but could not find a solution based on other similar posts
here it is the log, help is appreciated!
best
david
(base) dsb@dsbs-MacBook-Pro \~ % tcsh OS_notes.macos_12_ARM_b_user.tcsh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5341 100 5341 0 0 20506 0 --:--:-- --:--:-- --:--:-- 20463
++ num brew shellenv found : 1
++ start building...
set os = \`uname -s\`
uname -s
if ( 0 ) then
if ( Darwin != Darwin ) then
set cpu = \`uname -m\`
uname -m
if ( 0 ) then
set rver = \`R --version | head -n 1 | cut -d ' ' -f 3\`
R --version
cut -d -f 3
head -n 1
if ( 0 ) then
echo OS : Darwin
OS : Darwin
echo CPU : arm64
CPU : arm64
echo R ver : 4.5.2
R ver : 4.5.2
echo
defaults write org.macosforge.xquartz.X11 wm_ffm -bool true
defaults write org.x.X11 wm_ffm -bool true
defaults write com.apple.Terminal FocusFollowsMouse -string YES
if ( ! -f /Users/dsb/abin/afni ) then
echo ++ installing AFNI anyos_text_atlas
++ installing AFNI anyos_text_atlas
curl -O https://afni.nimh.nih.gov/pub/dist/bin/misc/@update.afni.binaries
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 62565 100 62565 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k
tcsh @update.afni.binaries -no_recur -package anyos_text_atlas -bindir /Users/dsb/abin
\-- running @update.afni.binaries version 3.31, January 9, 2025
\-- no current AFNI package found in path...
++ updating build label from 'NONE' to 'default'
\-- any downloads will be from https://afni.nimh.nih.gov via curl -O -f
\-- attempting to install package anyos_text_atlas under
install dir: /Users/dsb/abin ...
++ creating install dir
/Users/dsb/abin
++ working in new temp dir, .tmp.install
\-- skipping update of @update.afni.binaries
++ downloading test file: curl -O -f anyos_text_atlas/AFNI_version.txt ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 48 100 48 0 0 150 0 --:--:-- --:--:-- --:--:-- 150
++ update needed, installing...
++ downloading full package: curl -O -f anyos_text_atlas.tgz ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 76.4M 100 76.4M 0 0 20.4M 0 0:00:03 0:00:03 --:--:-- 20.4M
++ extracting package anyos_text_atlas.tgz...
\-- nothing to back up or sync
++ installing new binaries...
done, yay (binaries are under /Users/dsb/abin)
else
echo ++ setting up user dotfiles
++ setting up user dotfiles
/Users/dsb/abin/init_user_dotfiles.py -shell_list bash zsh tcsh -do_updates path apsearch -dir_bin /Users/dsb/abin
\-- good: .tcshrc seems to contain 'source .cshrc'
\-- considered operations: path, apsearch
\-- note: followers should not need edits, so edit flags should be 0
(have 1 follower(s), which can be ignored)
no modifications needed across 4 dot files
which init_user_dotfiles.py
if ( 0 ) then
if ( arm64 == x86_64 ) then
set package = macos_13_ARM
endif
echo ++ compiling AFNI package macos_13_ARM
++ compiling AFNI package macos_13_ARM
echo ++ running: build_afni.py -build_root \~/afni_build -package macos_13_ARM
++ running: build_afni.py -build_root \~/afni_build -package macos_13_ARM
rm -f afni_build_messages.txt
build_afni.py -build_root /Users/dsb/afni_build -package macos_13_ARM -cc_path /usr/bin/gcc -fast_log_messages afni_build_messages.txt
\-- build_afni.py, version 0.18, September 25, 2025
\-- current AFNI: AFNI_26.3.04, anyos_text_atlas, Oct 13 2026
\-- cleaning old build root dir, /Users/dsb/afni_build
\-- backing up dir build_src
\-- preparing build_root dir, /Users/dsb/afni_build
\-- have default git tag LAST_TAG, will checkout AFNI_26.3.04
\-- checking out git tag AFNI_26.3.04
\-- using repo branch (detached), tag AFNI_26.3.04
\-- removing old atlas dir, prev/afni_atlases_dist
\-- moving old atlas dir afni_atlases_dist to prev/afni_atlases_dist
\-- downloading AFNI atlas package, afni_atlases_dist.tgz
\-- unpacking atlas package, afni_atlases_dist
\-- removing old NiiVue backup, prev/niivue_afni.umd.js
\-- moving old niivue niivue_afni.umd.js to prev/niivue_afni.umd.js
\-- downloading NiiVue, niivue_afni.umd.js
\-- preparing to run 'make' build of package macos_13_ARM
\-- copying README files
\-- copying Makefile.macos_13_ARM to Makefile
\-- building make target 'itall'
\-- specifying compiler via : LOCAL_CC_PATH=/usr/bin/gcc
\-- compiling with: make AFNI_WHOMADEIT=build LOCAL_CC_PATH=/usr/bin/gcc itall >& log_make.txt
\-- consider monitoring the build in a separate window with:
cd /Users/dsb
tail -f /Users/dsb/afni_build/build_src/log_make.txt
\# use ctrl-c to terminate 'tail' command (not the build)
++ building (please be patient)...
\*\* error: failed run_cmd: make AFNI_WHOMADEIT=build LOCAL_CC_PATH=/usr/bin/gcc itall >& log_make.txt
\-- status: building FAILURE
see 'make' log file /Users/dsb/afni_build/build_src/log_make.txt
\*\* error: tail from log_make.txt:
--------------------------------------------------
arm64e.x1-macos, arm64e.x1-maccatalyst \]
^\~\~\~\~\~\~\~\~\~\~\~\~\~\~
in '/Library/Developer/CommandLineTools/SDKs/MacOSX27.0.sdk/usr/lib/libSystem.tbd'; tapi error: malformed file
/Library/Developer/CommandLineTools/SDKs/MacOSX27.0.sdk/usr/lib/libSystem.B.tbd:4:20: error: unknown architecture
arm64e.x1-macos, arm64e.x1-maccatalyst \]
^\~\~\~\~\~\~\~\~\~\~\~\~\~\~
in '/Library/Developer/CommandLineTools/SDKs/MacOSX27.0.sdk/usr/lib/libm.tbd'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make\[1\]: \*\*\* \[R_io.so\] Error 1
make: \*\*\* \[R_io.so\] Error 1
--------------------------------------------------
\*\* warning: in conda environment
CONDA_SHLVL = 1, CONDA_DEFAULT_ENV = base
\-- shell/system command history is in:
/Users/dsb/afni_build/hist_commands.txt
++ screen text history is in:
/Users/dsb/afni_build/hist_messages.txt
rehash
if ( ! 1 ) then
echo -- already have R_LIBS=/Users/dsb/sw/R-
\-- already have R_LIBS=/Users/dsb/sw/R-
endif
if ( ! -d /Users/dsb/sw/R-/data.table ) then
echo ++ building R libraries: rPkgsInstall -pkgs ALL
++ building R libraries: rPkgsInstall -pkgs ALL
mkdir -p /Users/dsb/sw/R-
rPkgsInstall -pkgs ALL
tee out.rPkgsInstall.txt
\*\* ERROR: Failed to load R_io.so