#66522 closed defect (worksforme)

python310 @3.10.9+lto+optimizations requires to be rebuilt

Reported by: esbugz Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: jmroot (Joshua Root)
Port: python310

Description (last modified by esbugz)

I've tried to install python310 and for some reason instead of just installing the prebuilt option it asks to waste time rebuilding python, although https://ports.macports.org/port/python310/details/ says that it should work fine on Catalina (I've tried on 10.15.7)

sudo port install python310
--->  Computing dependencies for python310
--->  Fetching archive for python310
--->  Attempting to fetch python310-3.10.9_0+lto+optimizations.darwin_19.x86_64.tbz2 from https://packages.macports.org/python310
--->  Attempting to fetch python310-3.10.9_0+lto+optimizations.darwin_19.x86_64.tbz2.rmd160 from https://packages.macports.org/python310
--->  Installing python310 @3.10.9_0+lto+optimizations
--->  Activating python310 @3.10.9_0+lto+optimizations
--->  Cleaning python310
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  Found 4 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: python310 @3.10.9+lto+optimizations
Continue? [Y/n]:

Change History (4)

comment:1 Changed 23 months ago by esbugz

Description: modified (diff)

comment:2 Changed 23 months ago by kencu (Ken)

if you run this:

sudo port -v rev-upgrade

the added "-v" flag will tell you what port is seeing, and why python310 is / is thought to be broken.

This information can be helpful most times to understand what is exactly wrong. Often it might be caused by forcing the uninstall of a dependent port, for example, but there are other reasons it could occur.

comment:3 Changed 23 months ago by esbugz

Nice, thanks! Fixed via sudo port install openssl3

Could not open /opt/local/libexec/openssl3/lib/libcrypto.3.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload/_hashlib.cpython-310-darwin.so)
Could not open /opt/local/libexec/openssl3/lib/libssl.3.dylib: Error opening or reading file (referenced from /opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/lib-dynload/_hashlib.cpython-310-darwin.so)
--->  Found 4 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: python310 @3.10.9+lto+optimizations

comment:4 Changed 23 months ago by jmroot (Joshua Root)

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