#68514 closed defect (duplicate)

py27-cffi @1.16.0 uses syntax that is invalid in python 2.7

Reported by: p-bro Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: py27-cffi

Description

Building py27-pynacl on Mac OS 13.5.2 (Ventura) on arm64 architecture (M1 processor) fails in the build stage. This failure is reproduced by the build bot https://ports.macports.org/port/py27-pynacl/details/ , which where the build health shows py-pynacl to fail building on Ventura (arm64) while succeeding everywhere else.

The critical error seems to be this one

:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cffi/_shimmed_dist_utils.py", line 16
:info:build     raise Exception("This CFFI feature requires setuptools on Python >= 3.12. The setuptools module is missing or non-functional.") from ex

The full build log is attached.

Attachments (1)

main.log (10.4 KB) - added by p-bro 13 months ago.
Build log

Download all attachments as: .zip

Change History (3)

Changed 13 months ago by p-bro

Attachment: main.log added

Build log

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

Port: py27-cffi added; py27-pynacl removed
Summary: py27-pynacl @1.4.0_0 fails to build on Ventura (arm64)py27-cffi @1.16.0 uses syntax that is invalid in python 2.7

The error is actually

:info:build SyntaxError: invalid syntax

and it looks like it's coming from py27-cffi.

comment:2 Changed 13 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.