[MacPorts] #67942: Many Python ports are failing to build locally where Python versions are 3.8 or 3.9 or 3.10

MacPorts noreply at macports.org
Thu Aug 10 22:42:06 UTC 2023


#67942: Many Python ports are failing to build locally where Python versions are
3.8 or 3.9 or  3.10
-----------------------+----------------------
 Reporter:  snowflake  |      Owner:  jmroot
     Type:  defect     |     Status:  assigned
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.8.99
 Keywords:             |       Port:  python
-----------------------+----------------------
 These ports are building OK on the buildbots, but I've noticed in the last
 few day that there are many failures building them on my local machines,
 which run macOS 10.11.6 and 13.4.1.

 Ports which are failing are py38-acme py39-automat py310-bcrypt
 py310-beautifulsoup4 py39-pikepdf. There are many more. I tried deleting
 all my Python ports and reinstalling them from source, but it made no
 difference. Not all ports fail.

 Many of the failures report this error:
 {{{
 PermissionError: [Errno 13] Permission denied:
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10
 /site-packages/absl_py-1.4.0-py3.10.egg-info/PKG-INFO'
 }}}

 The file `site-packages/absl_py-1.4.0-py3.10.egg-info/PKG-INFO` is owned
 by the py-absl port, which is not the port being built. There's no good
 reason why the build is trying to access this file during the build phase.

 How to repeat:
 {{{
 sudo port clean py310-bcrypt
 sudo port -s build py310-bcrypt
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67942>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list