Re: do I have to reinstall my ports after upgrading to Monterey?

2021-11-05 Thread Ryan Schmidt



On Oct 31, 2021, at 17:53, Artemio González López wrote:

> 1. Is there an easy check which ones of my previously installed ports weren’t 
> installed?

You have a text file listing the ports you previously installed on macOS 11.

You have the instructions for how you created that file. You can use those same 
instructions, modifying the output filename, to create a new file listing the 
ports that are now installed on macOS 12.

Then you can compare the two files in your favorite editor or file comparison 
program.


> 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)?

Since you mentioned qt5, it has a bug which causes this message to appear.

https://trac.macports.org/ticket/61736


> 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)?

If you mean downgrading back to macOS 11, that's not something Apple makes easy 
to do. I suppose you would erase the drive, reinstall macOS 11, then restore 
your latest Time Machine backup from before upgrading to macOS 12, losing any 
changes you had made after upgrading to macOS 12. Restoring a Time Machine 
backup also messes up the home directories of the macports user and of any user 
accounts created by ports you had installed, which must be manually fixed.

If you mean keeping your macOS 11 set of ports while staying on macOS 12, you 
could restore just /opt/local and /Applications/MacPorts and any MacPorts files 
from /Library/LaunchDaemons from your Time Machine backup. You can't use 
MacPorts to upgrade your ports then (until you reinstall MacPorts for macOS 12) 
but probably most of the ports compiled for macOS 11 will work as is on macOS 
12 if you don't touch them. You can then wait a month or two and then check if 
the issues you had encountered have been fixed (Cc yourself on the Trac tickets 
to be notified) and then try the migration process again.

If you mean getting the ports that aren't building on macOS 12 building on 
macOS 12, we'd all love to know. If you can provide solutions to those issues, 
please do.



Re: do I have to reinstall my ports after upgrading to Monterey?

2021-11-02 Thread Christopher Jones
Hi,

You are mixing up a number of different issues with different ports below. Your 
first port (all puns intended) of call should be

https://ports.macports.org 

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.

e.g. For {lib}gcc11, it is known about

https://trac.macports.org/ticket/63677 

No resolution as of yet I am afraid.

cheers Chris

> On 31 Oct 2021, at 10:53 pm, Artemio González López via macports-users 
>  wrote:
> 
> 
>> On 31 Oct 2021, at 16:46, Christopher Jones > > wrote:
>> 
>> 
>> Yes you do. You should always follow the migration instructions under
>> 
>> https://trac.macports.org/wiki/Migration 
>> 
>> 
>> Chris
>> 
>>> On 31 Oct 2021, at 3:45 pm, Artemio González López via macports-users 
>>> >> > wrote:
>>> 
>>> 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).
>>> 
>>> Thanks a lot in advance,
>>> 
>>> Artemio
>>> 
>>> 
>>> Artemio Gonzalez Lopez
>>> artem...@mac.com 
>> 
> 
> Hi, Chris,
> 
> 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:
> 
> build_arch  arm64
> 
>  However, the last command (sudo ./restore_ports.tcl myports.txt) ended with 
> the following error:
> 
> --->  Building libgcc11
> Error: Failed to build libgcc11: command execution failed
> 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.
> --->  Computing dependencies for py39-pyqt5
> --->  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
> Warning: The macOS 12 SDK does not appear to be installed. Ports may not 
> build correctly.
> Warning: You can install it as part of the Xcode Command Line Tools package 
> by running `xcode-select --install'.
> --->  Fetching archive for qt5-qtbase
> --->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 
> from https://packages.macports.org/qt5-qtbase 
> 
> --->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 
> from https://fra.de.packages.macports.org/qt5-qtbase 
> 
> --->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 
> from https://mse.uk.packages.macports.org/qt5-qtbase 
> 
> --->  Configuring qt5-qtbase
> Error: Failed to configure qt5-qtbase: configure failure: command execution 
> failed
> 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.
> 
> In fact, going through the command output in the Terminal window I found that 
> the first warning about the macOS 12 SDK was here:
> 
> --->  Cleaning py39-widgetsnbextension
> Warning: The macOS 12 SDK does not appear to be installed. Ports may not 
> build correctly.
> Warning: You can install it as part of the Xcode Command Line Tools package 
> by running `xcode-select --install'.
> --->  Computing dependencies for qt5-qtbase
> 
> I also found quite a few warnings to the effect that libgcc11 had failed to 
> build before the last one.
> 
> I’m not sure what to do at this point. In particular:
> 
> 1. Is there an easy check which ones of my previously installed ports weren’t 
> installed?
> 
> 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)?
> 
> 3. Why did libgcc11 failed to build, and how could that be fixed?
> 
> 3. What should I do to restore my previous installation (i.e., should I start 
> from scratch or could I just install the 

Re: do I have to reinstall my ports after upgrading to Monterey?

2021-10-31 Thread Artemio González López via macports-users

> On 31 Oct 2021, at 16:46, Christopher Jones  wrote:
> 
> 
> Yes you do. You should always follow the migration instructions under
> 
> https://trac.macports.org/wiki/Migration 
> 
> 
> Chris
> 
>> On 31 Oct 2021, at 3:45 pm, Artemio González López via macports-users 
>> > > wrote:
>> 
>> 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).
>> 
>> Thanks a lot in advance,
>> 
>> Artemio
>> 
>> 
>> Artemio Gonzalez Lopez
>> artem...@mac.com 
> 

Hi, Chris,

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:

build_arch  arm64

 However, the last command (sudo ./restore_ports.tcl myports.txt) ended with 
the following error:

--->  Building libgcc11
Error: Failed to build libgcc11: command execution failed
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.
--->  Computing dependencies for py39-pyqt5
--->  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
Warning: The macOS 12 SDK does not appear to be installed. Ports may not build 
correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by 
running `xcode-select --install'.
--->  Fetching archive for qt5-qtbase
--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 from 
https://packages.macports.org/qt5-qtbase 

--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 from 
https://fra.de.packages.macports.org/qt5-qtbase 

--->  Attempting to fetch qt5-qtbase-5.15.2_2+openssl.darwin_21.arm64.tbz2 from 
https://mse.uk.packages.macports.org/qt5-qtbase 

--->  Configuring qt5-qtbase
Error: Failed to configure qt5-qtbase: configure failure: command execution 
failed
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.

In fact, going through the command output in the Terminal window I found that 
the first warning about the macOS 12 SDK was here:

--->  Cleaning py39-widgetsnbextension
Warning: The macOS 12 SDK does not appear to be installed. Ports may not build 
correctly.
Warning: You can install it as part of the Xcode Command Line Tools package by 
running `xcode-select --install'.
--->  Computing dependencies for qt5-qtbase

I also found quite a few warnings to the effect that libgcc11 had failed to 
build before the last one.

I’m not sure what to do at this point. In particular:

1. Is there an easy check which ones of my previously installed ports weren’t 
installed?

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)?

3. Why did libgcc11 failed to build, and how could that be fixed?

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)?

Thanks in advance,

Artemio


Artemio Gonzalez Lopez
artem...@mac.com 


smime.p7s
Description: S/MIME cryptographic signature


Re: do I have to reinstall my ports after upgrading to Monterey?

2021-10-31 Thread Christopher Jones

Yes you do. You should always follow the migration instructions under

https://trac.macports.org/wiki/Migration 


Chris

> On 31 Oct 2021, at 3:45 pm, Artemio González López via macports-users 
>  wrote:
> 
> 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).
> 
> Thanks a lot in advance,
> 
> Artemio
> 
> 
> Artemio Gonzalez Lopez
> artem...@mac.com 



smime.p7s
Description: S/MIME cryptographic signature


do I have to reinstall my ports after upgrading to Monterey?

2021-10-31 Thread Artemio González López via macports-users
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).

Thanks a lot in advance,

Artemio


Artemio Gonzalez Lopez
artem...@mac.com