Opened 12 months ago
Closed 12 months ago
#68620 closed defect (duplicate)
py27-pynacl @1.4.0_1: SyntaxError: invalid syntax
Reported by: | cooljeanius (Eric Gallager) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | py27-pynacl |
Description
Attempting to upgrade py27-pynacl results in the following error:
Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pynacl/py27-pynacl/work/PyNaCl-1.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build DEBUG: system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pynacl/py27-pynacl/work/PyNaCl-1.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Traceback (most recent call last): File "setup.py", line 264, in <module> "Programming Language :: Python :: 3.8", File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/__init__.py", line 162, in setup return distutils.core.setup(**attrs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 448, in __init__ k: v for k, v in attrs.items() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 287, in __init__ self.finalize_options() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 740, in finalize_options ep(self) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools/dist.py", line 747, in _finalize_setup_keywords ep.load()(self, ep.name, value) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 216, in cffi_modules add_cffi_module(dist, cffi_module) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 71, in add_cffi_module _add_c_module(dist, ffi, module_name, source, source_extension, kwds) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cffi/setuptools_ext.py", line 109, in _add_c_module from cffi._shimmed_dist_utils import Extension, log, mkpath File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cffi/_shimmed_dist_utils.py", line 16 raise Exception("This CFFI feature requires setuptools on Python >= 3.12. The setuptools module is missing or non-functional.") from ex ^ SyntaxError: invalid syntax Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pynacl/py27-pynacl/work/PyNaCl-1.4.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1 Error: Failed to build py27-pynacl: command execution failed DEBUG: Error code: CHILDSTATUS 2757 1 DEBUG: Backtrace: command execution failed while executing "system {*}$notty {*}$callback {*}$nice $fullcmdstring" invoked from within "command_exec -callback portprogress::target_progress_callback build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname"
I'm on x86_64 Big Sur with Xcode 13.
Attachments (1)
Change History (3)
Changed 12 months ago by cooljeanius (Eric Gallager)
Attachment: | py27-pynacl_main.log added |
---|
comment:1 Changed 12 months ago by jmroot (Joshua Root)
Cc: | stromnov removed |
---|---|
Owner: | set to stromnov |
Status: | new → assigned |
comment:2 Changed 12 months ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Actually a py27-cffi issue, dup of #68466.
Note: See
TracTickets for help on using
tickets.
main.log for py27-pynacl