#63436 closed defect (fixed)
py27-pyobjc @ 5.3_5 does not build under MacOS 11.5.2
Reported by: | josephsacco | Owned by: | danchr (Dan Villiom Podlaski Christiansen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager), krissen (Kristian Niemi) | |
Port: | py27-pyobjc |
Description
A error occurs when setup.py attempts to determine the SDK level. See below.
-Joseph
Traceback (most recent call last): File "setup.py", line 738, in <module> **parse_package_metadata() 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 151, in setup dist.run_commands() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py", line 127, in run self.run_command(cmd_name) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "setup.py", line 601, in run CFLAGS.append("-DPyObjC_BUILD_RELEASE=%02d%02d"%( tuple(map(int, get_sdk_level(self.sdk_root).split('.'))))) TypeError: not enough arguments for format string Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py27-pyobjc/py27-pyobjc/work/pyobjc-core-5.3" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build Exit code: 1
Attachments (1)
Change History (13)
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Keywords: | python2 objc removed |
---|---|
Port: | py27-pyobjc added; py27-objc removed |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
comment:4 Changed 3 years ago by josephsacco
I forgot to mention that the port does build successfully for python37, python38, and python39:
cavandish:~ jsacco$ port installed | grep pyobjc py27-pyobjc @5.3_4 (active) py27-pyobjc-cocoa @5.3_1 (active) py37-pyobjc @7.3_2 (active) py38-pyobjc @7.3_2 (active) py39-pyobjc @7.3_2 (active)
-Joseph
comment:5 Changed 3 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:6 Changed 3 years ago by cooljeanius (Eric Gallager)
I'm running into this with py35-pyobjc, too, besides just py27-pyobjc
(edit: this blocks the upgrading of py27-applaunchservices and py35-applaunchservices, btw)
comment:7 Changed 3 years ago by krissen (Kristian Niemi)
Cc: | krissen added |
---|
comment:8 Changed 3 years ago by cooljeanius (Eric Gallager)
Could someone cc the maintainer (danchr) please?
comment:9 Changed 3 years ago by danchr (Dan Villiom Podlaski Christiansen)
Owner: | set to danchr |
---|---|
Status: | new → accepted |
comment:10 Changed 3 years ago by danchr (Dan Villiom Podlaski Christiansen)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:11 Changed 3 years ago by danchr (Dan Villiom Podlaski Christiansen)
Note: See
TracTickets for help on using
tickets.
Attach the main.log, please.