<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">
That indeed seems to be the issue:
<div><br>
<div>
<div>sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # python3</div>
<div>Python 3.9.7 (default, Nov 24 2021, 21:15:59) </div>
<div>[GCC 10.3.1 20211027] on linux</div>
<div>Type "help", "copyright", "credits" or "license" for more information.</div>
<div>>>> import platform</div>
<div>>>> platform.mac_ver()</div>
<div>('', ('', '', ''), '')</div>
<div>>>> platform.mac_ver()[0].split('.')</div>
<div>['']</div>
<div>>>> tuple([int(a) for a in platform.mac_ver()[0].split('.')])</div>
<div>Traceback (most recent call last):</div>
<div>  File "<stdin>", line 1, in <module></div>
<div>  File "<stdin>", line 1, in <listcomp></div>
<div>ValueError: invalid literal for int() with base 10: ‘'</div>
<div><br>
</div>
<div><br>
<blockquote type="cite">
<div>On 5. Apr 2023, at 23:00, Satish Balay <balay@mcs.anl.gov> wrote:</div>
<br class="Apple-interchange-newline">
<div><span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">Sorry,
 Was looking at the wrong place.</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite" style="font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">
 v = tuple([int(a) for a in platform.mac_ver()[0].split('.')])<br>
</blockquote>
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">Can
 you try:</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">balay@ypro
 petsc % python3</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">Python
 3.9.6 (default, Mar 10 2023, 20:16:38)<span class="Apple-converted-space"> </span></span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">[Clang
 14.0.3 (clang-1403.0.22.14.1)] on darwin</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">Type
 "help", "copyright", "credits" or "license" for more information.</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite" style="font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite">
<blockquote type="cite">import platform<br>
platform.mac_ver()<br>
</blockquote>
</blockquote>
</blockquote>
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">('13.3',
 ('', '', ''), 'x86_64')</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite" style="font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite">
<blockquote type="cite">platform.mac_ver()[0].split('.')<br>
</blockquote>
</blockquote>
</blockquote>
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">['13',
 '3']</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite" style="font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite">
<blockquote type="cite">tuple([int(a) for a in platform.mac_ver()[0].split('.')])<br>
</blockquote>
</blockquote>
</blockquote>
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">(13,
 3)</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite" style="font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite">
<blockquote type="cite"><br>
</blockquote>
</blockquote>
</blockquote>
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">Satish</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<span style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">On
 Wed, 5 Apr 2023, Kaus, Boris wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<br style="caret-color: rgb(0, 0, 0); font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<blockquote type="cite" style="font-family: Calibri; font-size: 15px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;">
Don’t think so:<br>
<br>
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # env<br>
_=/usr/bin/env<br>
VERBOSE=true<br>
BUILD_LD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ld<br>
OLDPWD=/workspace/srcdir/petsc-3.18.0<br>
host_libdir=/workspace/x86_64-linux-musl-cxx11/destdir/lib<br>
nproc=8<br>
target=aarch64-apple-darwin20<br>
bindir=/workspace/destdir/bin<br>
CC=cc<br>
READELF_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-readelf<br>
host_bindir=/workspace/x86_64-linux-musl-cxx11/destdir/bin<br>
PATH=/opt/bin/aarch64-apple-darwin20-libgfortran5-cxx11-mpi+openmpi:/opt/aarch64-apple-darwin20/bin:/opt/bin/x86_64-linux-musl-cxx11:/opt/x86_64-linux-musl/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/workspace/x86_64-linux-musl-cxx11/destdir/bin:/workspace/destdir/bin<br>
nbits=64<br>
BUILD_STRIP=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-strip<br>
BUILD_OBJDUMP=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objdump<br>
CMAKE_TARGET_TOOLCHAIN=/opt/toolchains/aarch64-apple-darwin20-libgfortran5-cxx11-mpi+openmpi/target_aarch64-apple-darwin20.cmake<br>
FC_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gfortran<br>
FC=gfortran<br>
SRC_NAME=PETSc<br>
RANLIB_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ranlib<br>
CC_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gcc<br>
PS1=\[\]sandbox\[\]:\[\]${PWD//$WORKSPACE/$\{WORKSPACE\}}\[\] \$<br>
PKG_CONFIG_SYSROOT_DIR=/workspace/destdir<br>
LD_LIBRARY_PATH=/usr/lib/csl-musl-x86_64:/usr/local/lib64:/usr/local/lib:/usr/lib64:/usr/lib:/lib64:/lib:/workspace/x86_64-linux-musl-cxx11/destdir/lib:/opt/x86_64-linux-musl/x86_64-linux-musl/lib64:/opt/x86_64-linux-musl/x86_64-linux-musl/lib:/opt/aarch64-apple-darwin20/aarch64-apple-darwin20/lib:/opt/aarch64-apple-darwin20/lib:/workspace/destdir/lib64:/workspace/destdir/lib<br>
HOSTOBJCOPY=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objcopy<br>
HOSTOBJDUMP=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objdump<br>
LIPO_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-lipo<br>
HOSTSTRIP=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-strip<br>
BUILD_OBJCOPY=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objcopy<br>
ZERO_AR_DATE=1<br>
dlext=dylib<br>
HIDDEN_PS1=\[\]sandbox\[\]:\[\]${PWD//$WORKSPACE/$\{WORKSPACE\}}\[\] \$<br>
CCACHE_COMPILERCHECK=content<br>
AR_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ar<br>
HOSTDSYMUTIL=dsymutil<br>
SHLVL=1<br>
OBJDUMP_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objdump<br>
CXX_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-g++<br>
HOSTCXX=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-g++<br>
USER=kausb<br>
BUILD_DSYMUTIL=dsymutil<br>
CC_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gcc<br>
OBJCOPY_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objcopy<br>
TERM=screen<br>
LIPO_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-lipo<br>
BUILD_LIPO=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-lipo<br>
NM_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-nm<br>
host_prefix=/workspace/x86_64-linux-musl-cxx11/destdir<br>
FC_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gfortran<br>
AR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ar<br>
WORKSPACE=/workspace<br>
STRIP_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-strip<br>
HOSTRANLIB=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ranlib<br>
RANLIB_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ranlib<br>
DSYMUTIL_FOR_BUILD=dsymutil<br>
HOSTAS=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-as<br>
HOSTAR=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ar<br>
BUILD_RANLIB=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ranlib<br>
NM_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-nm<br>
LD=/opt/bin/aarch64-apple-darwin20-libgfortran5-cxx11-mpi+openmpi/ld<br>
HOSTLD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ld<br>
bb_full_target=aarch64-apple-darwin20-libgfortran5-cxx11-mpi+openmpi<br>
LLVM_TARGET=aarch64-apple-darwin20<br>
BUILD_READELF=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-readelf<br>
CXX_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-g++<br>
libdir=/workspace/destdir/lib<br>
MESON_TARGET_TOOLCHAIN=/opt/toolchains/aarch64-apple-darwin20-libgfortran5-cxx11-mpi+openmpi/target_aarch64-apple-darwin20.meson<br>
LLVM_HOST_TARGET=x86_64-linux-musl<br>
STRIP_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-strip<br>
AS_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-as<br>
HISTFILE=/meta/.bash_history<br>
HOME=/root<br>
HOSTLIPO=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-lipo<br>
includedir=/workspace/destdir/include<br>
MESON_HOST_TOOLCHAIN=/opt/toolchains/x86_64-linux-musl-cxx11/host_x86_64-linux-musl.meson<br>
BUILD_FC=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gfortran<br>
V=true<br>
BUILD_CC=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gcc<br>
HOSTCC=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gcc<br>
AS_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-as<br>
CXX=c++<br>
rust_target=aarch64-apple-darwin<br>
rust_host=x86_64-unknown-linux-musl<br>
HOSTFC=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-gfortran<br>
exeext=<br>
READELF_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-readelf<br>
bb_target=aarch64-apple-darwin20<br>
SOURCE_DATE_EPOCH=0<br>
PWD=/workspace/srcdir/petsc-3.18.0<br>
MACOSX_DEPLOYMENT_TARGET=11.0<br>
proc_family=arm<br>
BUILD_NM=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-nm<br>
BUILD_CXX=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-g++<br>
LD_FOR_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ld<br>
OBJDUMP_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objdump<br>
OBJCOPY_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-objcopy<br>
HOSTNM=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-nm<br>
USE_CCACHE=false<br>
BUILD_AR=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ar<br>
BUILD_AS=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-as<br>
prefix=/workspace/destdir<br>
HOSTNAME=271f88c24b60<br>
CHARSET=UTF-8<br>
PKG_CONFIG_PATH=/workspace/destdir/lib/pkgconfig:/workspace/destdir/lib64/pkgconfig:/workspace/destdir/share/pkgconfig<br>
MACHTYPE=x86_64-linux-musl<br>
HOSTREADELF=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-readelf<br>
DSYMUTIL_BUILD=dsymutil<br>
LD_BUILD=/opt/bin/x86_64-linux-musl-cxx11/x86_64-linux-musl-ld<br>
host_includedir=/workspace/x86_64-linux-musl-cxx11/destdir/include<br>
CMAKE_HOST_TOOLCHAIN=/opt/toolchains/x86_64-linux-musl-cxx11/host_x86_64-linux-musl.cmake<br>
SHELL=/bin/bash<br>
<br>
<br>
On 5. Apr 2023, at 22:45, Satish Balay <balay@mcs.anl.gov> wrote:<br>
<br>
Well this doesn't trigger the error for me. Do you have any env variables set with unicode [non-ascii] chars?<br>
<br>
Satish<br>
<br>
---<br>
<br>
balay@ypro petsc-3.19.0 % sw_vers<br>
ProductName: macOS<br>
ProductVersion: 13.3<br>
BuildVersion: 22E252<br>
balay@ypro petsc-3.19.0 % ./configure --with-mpi=0 --prefix=/workspace/destdir/lib/petsc/double_real_Int32/<br>
=============================================================================================<br>
                       Configuring PETSc to compile on your system<br>
=============================================================================================<br>
=============================================================================================<br>
                                   ***** WARNING *****<br>
You have a version of GNU make older than 4.0. It will work, but may not support all the<br>
parallel testing options. You can install the latest GNU make with your package manager,<br>
such as Brew or MacPorts, or use the --download-make option to get the latest GNU make<br>
=============================================================================================<br>
Compilers:<br>
C Compiler:         gcc  -fPIC -Wall -Wwrite-strings -Wno-unknown-pragmas -fstack-protector -fno-stack-check -Qunused-arguments -fvisibility=hidden -g3 -O0<br>
  Version: Apple clang version 14.0.3 (clang-1403.0.22.14.1)<br>
...<br>
...<br>
<br>
<br>
On Wed, 5 Apr 2023, Kaus, Boris wrote:<br>
<br>
It can be reproduced with this:<br>
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # ./configure --prefix=/workspace/destdir/lib/petsc/double_real_Int32/<br>
*******************************************************************************<br>
  TypeError or ValueError possibly related to ERROR in COMMAND LINE ARGUMENT while running ./configure<br>
-------------------------------------------------------------------------------<br>
invalid literal for int() with base 10: ''<br>
*******************************************************************************<br>
<br>
<br>
File "/workspace/srcdir/petsc-3.18.0/config/configure.py", line 457, in petsc_configure<br>
  framework = config.framework.Framework(['--configModules=PETSc.Configure','--optionsModule=config.compilerOptions']+sys.argv[1:], loadArgDB = 0)<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/framework.py", line 101, in __init__<br>
  self.createChildren()<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/framework.py", line 338, in createChildren<br>
  self.getChild(moduleName)<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/framework.py", line 323, in getChild<br>
  config.setupDependencies(self)<br>
File "/workspace/srcdir/petsc-3.18.0/config/PETSc/Configure.py", line 89, in setupDependencies<br>
  self.registerPythonFile(utility,'config.utilities')<br>
File "/workspace/srcdir/petsc-3.18.0/config/PETSc/Configure.py", line 49, in registerPythonFile<br>
  utilityObj                             = self.framework.require(directory+utilityName, self)<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/framework.py", line 343, in require<br>
  config = self.getChild(moduleName, keywordArgs)<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/framework.py", line 317, in getChild<br>
  config = type(self, *keywordArgs)<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/utilities/macosFirewall.py", line 12, in __init__<br>
  self.isDarwin = config.setCompilers.Configure.isDarwin(self.log)<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/setCompilers.py", line 664, in isDarwin<br>
  if not isUname_value: config.setCompilers.Configure.isUname(log)<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/setCompilers.py", line 630, in isUname<br>
  v = tuple([int(a) for a in platform.mac_ver()[0].split('.')])<br>
File "/workspace/srcdir/petsc-3.18.0/config/BuildSystem/config/setCompilers.py", line 630, in <listcomp><br>
  v = tuple([int(a) for a in platform.mac_ver()[0].split('.')])<br>
<br>
<br>
On 5. Apr 2023, at 22:32, Stefano Zampini <stefano.zampini@gmail.com> wrote:<br>
<br>
It seems there's some typo/error in the configure command that is being executed. Can you post it here?<br>
<br>
Il giorno mer 5 apr 2023 alle ore 23:18 Kaus, Boris <<a href="mailto:kaus@uni-mainz.de">kaus@uni-mainz.de</a><<a href="mailto:kaus@uni-mainz.de">mailto:kaus@uni-mainz.de</a>><<a href="mailto:kaus@uni-mainz.de">mailto:kaus@uni-mainz.de</a>>> ha scritto:<br>
Hi everyone,<br>
<br>
I’m trying to install precompiled binaries for PETSc 3.18.5 & 3.19.0 using the BinaryBuilder cross-compilation:<br>
https://github.com/JuliaPackaging/Yggdrasil/pull/6533, which mostly works fine: https://buildkite.com/julialang/yggdrasil/builds/2093).<br>
<br>
Yet, on apple systems I receive a somewhat weird bug during the configure step:<br>
<br>
[22:08:49] *******************************************************************************<br>
[22:08:49]     TypeError or ValueError possibly related to ERROR in COMMAND LINE ARGUMENT while running ./configure<br>
[22:08:49] -------------------------------------------------------------------------------<br>
[22:08:49] invalid literal for int() with base 10: ''<br>
[22:08:49] *******************************************************************************<br>
[22:08:49]<br>
[22:08:49]<br>
[22:08:49] /workspace/srcdir/petsc-3.18.0/lib/petsc/conf/rules:860: /workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules: No such file or directory<br>
[22:08:49] make[1]: *** No rule to make target '/workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules'.  Stop.<br>
[22:08:49] /workspace/srcdir/petsc-3.18.0/lib/petsc/conf/rules:860: /workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules: No such file or directory<br>
[22:08:49] make[1]: *** No rule to make target '/workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscrules'.  Stop.<br>
[22:08:49] make: *** [GNUmakefile:17: /workspace/srcdir/petsc-3.18.0//lib/petsc/conf/petscvariables] Error 2<br>
[22:08:49] make: *** Waiting for unfinished jobs....<br>
[22:08:49] make: *** [GNUmakefile:17: lib/petsc/conf/petscvariables] Error 2<br>
<br>
The log file is rather brief:<br>
<br>
sandbox:${WORKSPACE}/srcdir/petsc-3.18.0 # more configure.log<br>
Executing: uname -s<br>
stdout: Darwin<br>
<br>
It works fine for PETSc 3.16.5/3.17.5, and this first occurs in 3.18.0.<br>
Is there something that changed between 3.17 & 3.18 that could cause this?<br>
<br>
The build system seems to use python3.9 (3.4+ as required)<br>
<br>
Thanks!<br>
Boris<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Stefano</blockquote>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>