<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="">Hi,<div class=""><br class=""></div><div class="">You are mixing up a number of different issues with different ports below. Your first port (all puns intended) of call should be</div><div class=""><br class=""></div><div class=""><a href="https://ports.macports.org" class="">https://ports.macports.org</a></div><div class=""><br class=""></div><div class="">look up the port in question, and then see if any of the active ports match what you see. If not, think about submitting  ticket as these are the best way to track issues.</div><div class=""><br class=""></div><div class="">e.g. For {lib}gcc11, it is known about</div><div class=""><br class=""></div><div class=""><a href="https://trac.macports.org/ticket/63677" class="">https://trac.macports.org/ticket/63677</a></div><div class=""><br class=""></div><div class="">No resolution as of yet I am afraid.</div><div class=""><br class=""></div><div class="">cheers Chris</div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 31 Oct 2021, at 10:53 pm, Artemio González López via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 31 Oct 2021, at 16:46, Christopher Jones <<a href="mailto:jonesc@hep.phy.cam.ac.uk" class="">jonesc@hep.phy.cam.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>Yes you do. You should always follow the migration instructions under<div class=""><br class=""></div><div class=""><a href="https://trac.macports.org/wiki/Migration" class="">https://trac.macports.org/wiki/Migration</a></div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 31 Oct 2021, at 3:45 pm, Artemio González López via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I just installed macOS 12.0.1 on an M1 MacBook Pro 13” from last year, and I was wondering if it’s necessary to reinstall all my ports (which I installed under Big Sur) after the update (they seem to be running just fine).<div class=""><br class=""></div><div class="">Thanks a lot in advance,</div><div class=""><br class=""></div><div class="">Artemio<br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 16px; font-style: normal; font-variant-caps: normal; font-weight: normal; 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;" class="">Artemio Gonzalez Lopez<br class=""><a href="mailto:artemiog@mac.com" class="">artemiog@mac.com</a></div>

</div>
<br class=""></div></div></div></blockquote></div><br class=""></div></div></div></blockquote><br class=""></div><div class=""><div style="caret-color: rgb(0, 0, 0);" class="">Hi, Chris,</div><div style="caret-color: rgb(0, 0, 0);" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0);" class="">Thanks a lot for your (almost instantaneous!) answer. I followed your advised and proceeded to migrate my MacPorts installation to macOS 12. I first upgraded to Xcode 13.1, and downloaded (from the Developer site) and installed the 13.1 Command Tools, and then followed all the steps in the migration instructions. The only non-standard thing I did was to change macports.conf the build_arch to arm64 by adding the following line to it:</div><div style="caret-color: rgb(0, 0, 0);" class=""><span class="" style="font-family: Menlo; font-size: 14px;"><br class=""></span></div><div style="caret-color: rgb(0, 0, 0);" class=""><span class="" style="font-family: Menlo; font-size: 14px;">build_arch              arm64</span></div><div style="caret-color: rgb(0, 0, 0);" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0);" class=""> However, the last command (sudo ./restore_ports.tcl myports.txt) ended with the following error:</div><div style="caret-color: rgb(0, 0, 0);" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0);" class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Building libgcc11</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Error: Failed to build libgcc11: command execution failed</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc11/libgcc11/main.log for details.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Computing dependencies for py39-pyqt5</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Dependencies to be installed: qt5 qt5-qt3d qt5-qtbase qt5-qtdeclarative qt5-qtsvg qt5-qtgamepad qt5-qtimageformats qt5-qtconnectivity qt5-qtgraphicaleffects qt5-qtlocation qt5-qtquickcontrols qt5-qtquickcontrols2 qt5-qtserialport qt5-qtmacextras qt5-qtmultimedia qt5-qtnetworkauth qt5-qtremoteobjects qt5-qtscxml qt5-qtsensors qt5-qtserialbus qt5-qtspeech qt5-qttools qt5-qttranslations qt5-qtwebchannel qt5-qtwebsockets qt5-qtxmlpatterns qt5-sqlite-plugin qt5-qtscript</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Warning: The macOS 12 SDK does not appear to be installed. Ports may not build correctly.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Fetching archive for qt5-qtbase</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 from <a href="https://packages.macports.org/qt5-qtbase" class="">https://packages.macports.org/qt5-qtbase</a></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 from <a href="https://fra.de.packages.macports.org/qt5-qtbase" class="">https://fra.de.packages.macports.org/qt5-qtbase</a></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 from <a href="https://mse.uk.packages.macports.org/qt5-qtbase" class="">https://mse.uk.packages.macports.org/qt5-qtbase</a></span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Configuring qt5-qtbase</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Error: Failed to configure qt5-qtbase: configure failure: command execution failed</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/main.log for details.</span></div></div><div style="caret-color: rgb(0, 0, 0);" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0);" class="">In fact, going through the command output in the Terminal window I found that the first warning about the macOS 12 SDK was here:</div><div style="caret-color: rgb(0, 0, 0);" class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0);" class=""><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Cleaning py39-widgetsnbextension</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Warning: The macOS 12 SDK does not appear to be installed. Ports may not build correctly.</span></div><div class="" style="margin: 0px; font-stretch: normal; font-size: 14px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;">Warning: You can install it as part of the Xcode Command Line Tools package by running `xcode-select --install'.</span></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;">--->  Computing dependencies for qt5-qtbase</span></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;">I also found quite a few warnings to the effect that libgcc11 had failed to build before the last one.</span></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">I’m not sure what to do at this point. In particular:</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">1. Is there an easy check which ones of my previously installed ports weren’t installed?</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">2. Why was port complaining that the macOS 12 SDK wasn’t installed, if I did install the 13.1 command line tools manually (from a package)?</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">3. Why did libgcc11 failed to build, and how could that be fixed?</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">3. What should I do to restore my previous installation (i.e., should I start from scratch or could I just install the ports that weren’t installed in the first run, provided I find out which ones were they)?</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">Thanks in advance,</div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;"><br class=""></div><div class="" style="margin: 0px; font-stretch: normal; line-height: normal;">Artemio</div></span></div></div><div style="caret-color: rgb(0, 0, 0);" class=""><br class=""></div><br class="" style="caret-color: rgb(0, 0, 0);"><div class="" style="caret-color: rgb(0, 0, 0);">Artemio Gonzalez Lopez<br class=""><a href="mailto:artemiog@mac.com" class="">artemiog@mac.com</a></div></div>
<br class=""></div></div></blockquote></div><br class=""></div></body></html>