Opened 4 years ago

Last modified 4 years ago

#60912 assigned defect

salt @3000.3_1: The 'pyobjc-framework-qtkit>=5.1.2' distribution was not found and is required by salt

Reported by: nickhilliard (Nick Hilliard) Owned by: aphor (Jeremy McMillan)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: salt

Description

on a cleanly installed catalina 10.15.5 system, salt-minion@3000.3_0 fails to start with the following error:

# /opt/local/bin/salt-minion
Traceback (most recent call last):
  File "/opt/local/bin/salt-minion", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3261, in <module>
    def _initialize_master_working_set():
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3244, in _call_aside
    f(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3273, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pyobjc-framework-qtkit>=5.1.2' distribution was not found and is required by salt
# uname -a
Darwin crumpet.local 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64
#

The pyobjc-framework-qtkit package is deprecated and can no longer be installed, so salt-minion is currently broken.

Change History (2)

comment:1 Changed 4 years ago by aphor (Jeremy McMillan)

I didn't look up why salt has a dependency listed in REQUIREMENTS for pyobjc when I added it to the port dependencies, but I suspect it can be removed and still built. I'll look into that, maybe even get that fixed upstream.

I suspect this is because the Salt OSX package builds have some UI integration, but we're not using them with MacPorts.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Port: salt added; salt-minion removed
Summary: salt-minion @3000.3_0 dependency failuresalt @3000.3_1: The 'pyobjc-framework-qtkit>=5.1.2' distribution was not found and is required by salt

salt-minion is now part of salt.

Note: See TracTickets for help on using tickets.