[Mesa-users] mesa-24.08.01 installation failed on MacOS Sequoia 15.2
Amar Aryan
amararyan941 at gmail.com
Wed Jan 29 06:50:50 UTC 2025
Hi Prof.,
I kept /Applications/mesasdk/bin first in $PATH and again tried
"./install". Interestingly, I get the same issue again. Pasted below are
the texts from my build.log file:-
*** Copy and paste the following information into your email to mesa-users
***
MESA Version
r24.08.1
uname -a
Darwin Amars-MacBook-Pro.local 24.2.0 Darwin Kernel Version 24.2.0: Fri Dec
6 19:00:33 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8122 x86_64
gfortran -v
Using built-in specs.
COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/aarch64-apple-darwin20/13.3.0/lto-wrapper
Target: aarch64-apple-darwin20
Configured with: /opt/sdk2-tmp/build/gcc/configure CC=clang CXX=clang++
--build=aarch64-apple-darwin20 --host=aarch64-apple-darwin20
--target=aarch64-apple-darwin20 --prefix=/opt/sdk2-tmp/mesasdk
--with-gmp=/opt/sdk2-tmp/mesasdk --with-mpfr=/opt/sdk2-tmp/mesasdk
--with-mpc=/opt/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran
--disable-multilib --disable-nls
--with-sysroot=/opt/sdk2-tmp/mesasdk/sysroot
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.3.0 (GCC)
$MESASDK_ROOT
/Applications/mesasdk
MESASDK version
aarch64-macos-24.10.1
$PATH
/Applications/mesasdk/bin:/opt/anaconda3/bin:/opt/anaconda3/condabin:/Users/amar/snid-5.0/bin:/opt/local/bin:/opt/local/sbin:/Users/amar/wcstools-3.9.7/bin:/Users/amar/heasoft-6.33.2/aarch64-apple-darwin23.4.0/bin:/usr/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/amar/.iraf/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/TeX/texbin:/Applications/Visual
Studio
Code.app/Contents/Resources/app/bin:/Applications/Docker.app/Contents/Resources/bin
$MESA_DIR
/Users/amar/mesa-24.08.1
/Users/amar/mesa-24.08.1/const
building const package.
MAKEDEPF90
COMPILE_CMD ../public/const_def.f90
COMPILE_CMD ../public/const_lib.f90
LIB_TOOL libconst.a
make: `libconst.a' is up to date.
MAKEDEPF90
TEST_COMPILE ../src/test_const.f90
LOADER ../tester
export
done
mesa/const has been built, tested, and exported.
************************************************
/Users/amar/mesa-24.08.1/utils
building utils package.
COMPILE_CMD ../private/utils_nan_qp.f90
COMPILE_CMD ../private/utils_nan_dp.f90
COMPILE_CMD ../private/utils_nan_sp.f90
COMPILE_CMD ../public/utils_lib.f90
LIB_TOOL libutils.a
ar: libutils.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: libutils.a: Inappropriate file type or format
make: *** [libutils.a] Error 1
/Users/amar/mesa-24.08.1/utils/make
FAILED
/Users/amar/mesa-24.08.1/utils
./build_and_test FAILED
Please take a look at this.
With best regards,
Amar
On Tue, Jan 28, 2025 at 7:46 PM Frank Timmes <fxtimmes at gmail.com> wrote:
> ideally one wants /Applications/mesasdk/bin to be first in $PATH.
>
> fxt
>
>
>
> On Jan 28, 2025, at 4:17 AM, Amar Aryan <amararyan941 at gmail.com> wrote:
>
> Thank you. Here is the build.log file text:-
>
> MESA Version
> r24.08.1
>
> uname -a
> Darwin Amars-MacBook-Pro.local 24.2.0 Darwin Kernel Version 24.2.0: Fri
> Dec 6 19:00:33 PST 2024; root:xnu-11215.61.5~2/RELEASE_ARM64_T8122 x86_64
>
> gfortran -v
> Using built-in specs.
> COLLECT_GCC=/Applications/mesasdk/bin/gfortran.exec
>
> COLLECT_LTO_WRAPPER=/Applications/mesasdk/bin/../libexec/gcc/aarch64-apple-darwin20/13.3.0/lto-wrapper
> Target: aarch64-apple-darwin20
> Configured with: /opt/sdk2-tmp/build/gcc/configure CC=clang CXX=clang++
> --build=aarch64-apple-darwin20 --host=aarch64-apple-darwin20
> --target=aarch64-apple-darwin20 --prefix=/opt/sdk2-tmp/mesasdk
> --with-gmp=/opt/sdk2-tmp/mesasdk --with-mpfr=/opt/sdk2-tmp/mesasdk
> --with-mpc=/opt/sdk2-tmp/mesasdk --enable-languages=c,c++,fortran
> --disable-multilib --disable-nls
> --with-sysroot=/opt/sdk2-tmp/mesasdk/sysroot
> Thread model: posix
> Supported LTO compression algorithms: zlib
> gcc version 13.3.0 (GCC)
>
> $MESASDK_ROOT
> /Applications/mesasdk
>
> MESASDK version
> aarch64-macos-24.10.1
>
> $PATH
> /Users/amar/snid-5.0/bin:/opt/local/bin:/opt/local/sbin:/Users/amar/wcstools-3.9.7/bin:/Users/amar/heasoft-6.33.2/aarch64-apple-darwin23.4.0/bin:/usr/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/amar/.iraf/bin:/Applications/mesasdk/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/amar/snid-5.0/bin:/opt/local/bin:/opt/local/sbin:/Users/amar/wcstools-3.9.7/bin:/usr/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/amar/.iraf/bin:/Applications/mesasdk/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/opt/anaconda3/bin:/opt/anaconda3/condabin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Library/TeX/texbin:/Users/amar/mesa-r23.05.1/scripts/shmesa:/Applications/Visual
> Studio
> Code.app/Contents/Resources/app/bin:/Applications/Docker.app/Contents/Resources/bin:/Users/amar/mesa-r24.03.1/scripts/shmesa:/Applications/Docker.app/Contents/Resources/bin/:/Users/amar/mesa-24.08.1/scripts/shmesa:/Applications/Visual
> Studio
> Code.app/Contents/Resources/app/bin:/Applications/Docker.app/Contents/Resources/bin/
>
> $MESA_DIR
> /Users/amar/mesa-24.08.1
>
>
> /Users/amar/mesa-24.08.1/const
> building const package.
>
> make: `libconst.a' is up to date.
> make: `libconst.a' is up to date.
> make: `../tester' is up to date.
> export
> done
>
> mesa/const has been built, tested, and exported.
>
> ************************************************
>
> /Users/amar/mesa-24.08.1/utils
> building utils package.
>
> LIB_TOOL libutils.a
> ar: libutils.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
> ar: libutils.a: Inappropriate file type or format
> make: *** [libutils.a] Error 1
>
> /Users/amar/mesa-24.08.1/utils/make
> FAILED
>
>
> /Users/amar/mesa-24.08.1/utils
> ./build_and_test FAILED
>
>
> With best regards,
> Amar
>
> On Tue, Jan 28, 2025 at 7:09 PM Frank Timmes <fxtimmes at gmail.com> wrote:
>
>> perhaps a $PATH issue. best practice (
>> https://docs.mesastar.org/en/latest/installation.html#post-a-question-to-mesa-users)
>> is to post your $MESA_DIR/build.log file.
>>
>> fxt
>>
>>
>>
>> > On Jan 28, 2025, at 1:16 AM, Amar Aryan via Mesa-users <
>> mesa-users at lists.mesastar.org> wrote:
>> >
>> > Hello everyone,
>> >
>> > I am trying to install the latest (24.08.1) version of MESA on my
>> MacBook Pro with Apple M3 chip (OS Sequoia 15.2). I installed the
>> corresponding MESASDK (24.10.1). After setting MESA_DIR, OMP_NUM_THREADS,
>> and MESASDK_ROOT. I do a "./install” in MESA_DIR. Interestingly, the
>> installation terminated by displaying following issue:-
>> >
>> > LIB_TOOL libutils.a
>> > /Library/Developer/CommandLineTools/usr/bin/ranlib: archive member:
>> libutils.a(utils_c_system.o) cputype (16777223) does not match previous
>> archive members cputype (16777228) (all members must match)
>> > warning: /Library/Developer/CommandLineTools/usr/bin/ranlib: archive
>> library: libutils.a will be fat and ar(1) will not be able to operate on it
>> > /Library/Developer/CommandLineTools/usr/bin/ar: internal ranlib command
>> failed
>> > make: *** [libutils.a] Error 1
>> >
>> > /Users/amar/mesa-24.08.1/utils/make
>> > FAILED
>> >
>> >
>> > /Users/amar/mesa-24.08.1/utils
>> > ./build_and_test FAILED
>> >
>> >
>> > /Users/amar/mesa-24.08.1/utils
>> > ./build_and_test FAILED
>> >
>> > then I tried to do a “./clean” which displayed:-
>> >
>> > make: *** ../gyre: No such file or directory. Stop.
>> > make: *** [clean] Error 2
>> > cleaning forum
>> > make: *** ../forum: No such file or directory. Stop.
>> > make: *** [clean] Error 2
>> > FAILED
>> > removing some data to force reinstall
>> > finished clean
>> >
>> >
>> > after doing a “./clean”, I tried “./install” again, which showed:-
>> > LIB_TOOL libutils.a
>> > ar: libutils.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
>> > ar: libutils.a: Inappropriate file type or format
>> > make: *** [libutils.a] Error 1
>> >
>> > /Users/amar/mesa-24.08.1/utils/make
>> > FAILED
>> >
>> >
>> > /Users/amar/mesa-24.08.1/utils
>> > ./build_and_test FAILED
>> >
>> > Please provide your valuable suggestions to the cause and possible
>> troubleshooting of the issue.
>> >
>> > With best regards,
>> > Amar
>> > _______________________________________________
>> > mesa-users at lists.mesastar.org
>> > https://lists.mesastar.org/mailman/listinfo/mesa-users
>> >
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mesastar.org/pipermail/mesa-users/attachments/20250129/95c937b7/attachment.htm>
More information about the Mesa-users
mailing list