Opened 7 months ago

Closed 7 months ago

#68494 closed defect (invalid)

Python311 fails to install; Sonoma clean install; Intel iMac

Reported by: ChrisFr Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Sonoma Cc:
Port: python311

Description

An attempt to install ImageMagick failed because the dependency port python311 failed to activate for "Image error:".

After cleaning first python311 then ImageMagick, a second attempt to install ImageMagick failed immediately for the same cause.

I've attached console logs for both attempts plus the port log for python311 ex /opt/local/var/macports/logs/.....

All this was preceeded on the same day by a clean install of Sonoma followed by restore of users( not including MacPorts ) using MigrationAssistant; then a successful install of Xcode and Macports; a successful selfupdate; and a successful install of coreutils.

Attachments (2)

TSOInstallImageMagick#1.txt (30.1 KB) - added by ChrisFr 7 months ago.
TSOInstallImageMagick#2.txt (1.6 KB) - added by ChrisFr 7 months ago.

Download all attachments as: .zip

Change History (5)

Changed 7 months ago by ChrisFr

Attachment: TSOInstallImageMagick#1.txt added

Changed 7 months ago by ChrisFr

Attachment: TSOInstallImageMagick#2.txt added

comment:1 Changed 7 months ago by jmroot (Joshua Root)

As the error message says:

/Applications/MacPorts/Python 3.11/IDLE.app/Contents/Info.plist already exists and does not belong to a registered port.

Possible Migration Assistant created this file, and likely others in /Applications/MacPorts. Regardless of how they got there, the solution is to remove the conflicting files.

comment:2 Changed 7 months ago by ChrisFr

Thank you, Joshua. You are correct - my /Applications/Macports and its subdirectories were created by Migration Assistant, and each of the subdirectories contains one or more apps. ( Mostly versions of Python, but also Qt5, in my case. )

I didn't have this problem the last time I did a clean OS install and migration, but I seem to remember then being asked which apps to restore. I'll review the manual to see if I can suggest some tweeks that would provide an effective warning for clean installers.

Please close this ticket in the event that I cannot.

comment:3 Changed 7 months ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.