<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Richard, you are right.<div class=""><br class=""></div><div class="">I simply applied straightforward semantics to your earlier</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">I wasn't paying attention to this thread earlier, but <font color="#ff2600" class="">trying to make <b class="">TeX Live 2019 work</b> on Big Sur</font> is a fools errand.<br class=""></blockquote><div class=""><br class=""></div>without parsing it for what you actually meant in the red passage. I thought it was clear. And I was (pleasantly) surprised</div><div class="">that notwithstanding all that 2019 does “work” on Big Sur. </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">But thanks for the elaboration below. I will see if I can ever get sufficient time, strength of will, skill, and patience to patch <b class="">existing code</b> that does</div><div class="">not work.</div><div class=""><br class=""></div><div class="">Cheers,<br class=""><div>George</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Jul 10, 2021, at 8:49 PM, Richard Koch <<a href="mailto:koch@uoregon.edu" class="">koch@uoregon.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">George,<br class=""><br class="">You didn't quite understand my message. Let's try again.<br class=""><br class="">At WWDC in 2020, Apple announced Big Sur. They also announced the transition to Arm.<br class="">They gave developers an initial beta of Big Sur and they allowed them to rent a<br class="">transition kit to recompile code for Arm.<br class=""><br class="">When I first got the Big Sur Beta, I installed MacTeX-2020. It worked fine. If I had installed MacTeX-2019, it would also have worked fine. You moved the TeX Live 2019 tree from a machine where it worked fine to a machine running Big Sur, and it worked fine on that machine. That is NOT a surprise.<br class=""><br class="">However, you are now trying to run tlmgr and you have run into a problem. You would run into<br class="">exactly the same problem if you tried to install TeX Live 2019 on the machine using the Unix<br class="">install Script from 2019. Both of these scripts expect macOS to have version numbers which<br class="">look like 10.5, 10.12, 10.13.2, etc. They do not expect a version number which starts with 11.<br class="">My current Big Sur is version 11.4.<br class=""><br class="">Almost exactly a year ago, I got a note from Nelson Beebe. Let me quote it:<br class=""><br class="">"I was just talking to my manager colleague about macOS 11 (aka Big<br class="">Sur) announced at the Apple WWDC last month. <br class=""><br class="">"Given that it adds support for ARM CPUs, and advances the major number<br class="">from 10 to 11 (v10 came out in 2001), I suspect that it could mean<br class="">major breakage for TeX Live."<br class=""><br class="">Here's a piece of my reply:<br class=""><br class="">"Big Sur indeed broke a piece of the TeX Live Infrastructure. In 2020/tlpkg/TeXLive there is a file named <br class="">TLUtils.pm, which among other things has a script to determine the kind of computer being run and the operating system being used. That section has code which uses a Mac command line program to get the operating system number in a form like 10.15.5. The TLUtils then separates this into major = 10 and minor = 15. Then, unfortunately, there was this line of code:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>if (major != 10), abort<br class=""><br class="">I called this to Karl's attention and he fixed it. That fix has already appeared in the critical updates. Once it is made, Big Sur works fine with all of TeX."<br class=""><br class="">The key point here is that this is a fix of TLUtils.pm, which is in the TeX Live Distribution. So if you were to install TeX Live 2020 on Big Sur, it would work. But TLUtils.pm is broken in TeX Live 2019. So tlmgr is also broken. And TeX Live Utility calls tlmgr.<br class=""><br class="">------------<br class=""><br class="">Having recalled this much information, let's see if I can resurrect Karl's fix. Maybe you can apply this fix yourself and get things to work.<br class=""><br class="">The crucial file for TeX Live 2021 is<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>/usr/local/texlive/2021/tlpkg/TeXLive/TLUtils.pm<br class=""><br class="">The crucial code starts at line 398 of this file, and is<br class=""><br class="">------------<br class=""> if ($OS eq "darwin") {<br class=""> # We have two versions of Mac binary sets.<br class=""> # 10.x and newer -> universal-darwin [MacTeX]<br class=""> # 10.6/Snow Leopard through 10.x -> x86_64-darwinlegacy, if 64-bit.<br class=""> # x changes every year. As of TL 2021 (Big Sur) Apple started with 11.x.<br class=""> #<br class=""> # (BTW, uname -r numbers are larger by 4 than the Mac minor version.<br class=""> # We don't use uname numbers here.)<br class=""> #<br class=""> # this changes each year, per above:<br class=""> my $mactex_darwin = 14; # lowest minor rev supported by x86_64-darwin.<br class=""> #<br class=""> # Most robust approach is apparently to check sw_vers (os version,<br class=""> # returns "10.x" values), and sysctl (processor hardware).<br class=""> chomp (my $sw_vers = `sw_vers -productVersion`);<br class=""> my ($os_major,$os_minor) = split (/\./, $sw_vers);<br class=""> if ($os_major < 10) {<br class=""> warn "$0: only MacOSX is supported, not $OS $os_major.$os_minor "<br class=""> . " (from sw_vers -productVersion: $sw_vers)\n";<br class=""> return "unknownmac-unknownmac";<br class=""> }<br class=""> # have to refine after all 10.x become "legacy".<br class=""> if ($os_major >= 11 || $os_minor >= $mactex_darwin) {<br class=""> $CPU = "universal";<br class=""> $OS = "darwin";<br class=""> } elsif ($os_major == 10 && 6 <= $os_minor && $os_minor < $mactex_darwin){<br class=""> # in between, x86 hardware only. On 10.6 only, must check if 64-bit,<br class=""> # since if later than that, always 64-bit.<br class=""> my $is64 = $os_minor == 6<br class=""> ? `/usr/sbin/sysctl -n hw.cpu64bit_capable` >= 1<br class=""> : 1;<br class=""> if ($is64) {<br class=""> $CPU = "x86_64";<br class=""> $OS = "darwinlegacy";<br class=""> } # if not 64-bit, default is ok (i386-darwin).<br class=""> } else {<br class=""> ; # older version, default is ok (i386-darwin, powerpc-darwin).<br class=""> }<br class="">--------------------<br class=""><br class="">Turning now to a different computer running Mojave, which has TeX Live 2019 installed, I find the crucial file in the same location:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>/usr/local/texlive/2019/tlpkg/TeXLive/TLUtils.pm<br class=""><br class="">This time the key code begins on line 314, and here it is:<br class=""><br class="">-------------<br class="">if ($OS eq "darwin") {<br class=""> # We have two versions of Mac binary sets.<br class=""> # 10.10/Yosemite and newer (Yosemite specially left over):<br class=""> # -> x86_64-darwin [MacTeX]<br class=""> # 10.6/Snow Leopard through 10.10/Yosemite:<br class=""> # -> x86_64-darwinlegacy if 64-bit<br class=""> #<br class=""> # (BTW, uname -r numbers are larger by 4 than the Mac minor version.<br class=""> # We don't use uname numbers here.)<br class=""> #<br class=""> # this changes each year, per above:<br class=""> my $mactex_darwin = 12; # lowest minor rev supported by x86_64-darwin.<br class=""> #<br class=""> # Most robust approach is apparently to check sw_vers (os version,<br class=""> # returns "10.x" values), and sysctl (processor hardware).<br class=""> chomp (my $sw_vers = `sw_vers -productVersion`);<br class=""> my ($os_major,$os_minor) = split (/\./, $sw_vers);<br class=""> if ($os_major != 10) {<br class=""> warn "$0: only MacOSX is supported, not $OS $os_major.$os_minor "<br class=""> . " (from sw_vers -productVersion: $sw_vers)\n";<br class=""> return "unknown-unknown";<br class=""> }<br class=""> if ($os_minor >= $mactex_darwin) {<br class=""> ; # current version, default is ok (x86_64-darwin).<br class=""> } elsif ($os_minor >= 6 && $os_minor < $mactex_darwin) {<br class=""> # in between, x86 hardware only. On 10.6 only, must check if 64-bit,<br class=""> # since if later than that, always 64-bit.<br class=""> my $is64 = $os_minor == 6<br class=""> ? `/usr/sbin/sysctl -n hw.cpu64bit_capable` >= 1<br class=""> : 1;<br class=""> if ($is64) {<br class=""> $CPU = "x86_64";<br class=""> $OS = "darwinlegacy";<br class=""> } # if not 64-bit, default is ok (i386-darwin).<br class=""> } else {<br class=""> ; # older version, default is ok (i386-darwin, powerpc-darwin).<br class=""> }<br class="">---------------------<br class=""><br class="">Perhaps you can revise this code and fix your problem.<br class=""><br class="">Richard Koch<br class=""><br class=""><br class=""><br class="">----------- Please Consult the Following Before Posting -----------<br class="">TeX FAQ: <a href="http://www.tex.ac.uk/faq" class="">http://www.tex.ac.uk/faq</a><br class="">List Reminders and Etiquette: <a href="https://sites.esm.psu.edu/~gray/TeX/" class="">https://sites.esm.psu.edu/~gray/TeX/</a><br class="">List Archives: <a href="http://dir.gmane.org/gmane.comp.tex.macosx" class="">http://dir.gmane.org/gmane.comp.tex.macosx</a><br class=""> <a href="https://email.esm.psu.edu/pipermail/macosx-tex/" class="">https://email.esm.psu.edu/pipermail/macosx-tex/</a><br class="">TeX on Mac OS X Website: <a href="http://mactex-wiki.tug.org/" class="">http://mactex-wiki.tug.org/</a><br class="">List Info: <a href="https://email.esm.psu.edu/mailman/listinfo/macosx-tex" class="">https://email.esm.psu.edu/mailman/listinfo/macosx-tex</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>