Bug 271981 - sysutils/py-salt Fails to start after 3006.1 update
Summary: sysutils/py-salt Fails to start after 3006.1 update
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-13 14:30 UTC by nihilesthic
Modified: 2023-06-13 14:57 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (krion)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nihilesthic 2023-06-13 14:30:07 UTC
Hello,

Salt fails to start after the last update(3006.1)

Traceback (most recent call last):
  File "/usr/local/bin/salt-minion", line 33, in <module>
    sys.exit(load_entry_point('salt==3006.1', 'console_scripts', 'salt-minion')())
  File "/usr/local/bin/salt-minion", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/salt/__init__.py", line 140, in <module>
    import salt._logging  # isort:skip
  File "/usr/local/lib/python3.9/site-packages/salt/_logging/__init__.py", line 12, in <module>
    from salt._logging.impl import (
  File "/usr/local/lib/python3.9/site-packages/salt/_logging/impl.py", line 28, in <module>
    from salt._logging.handlers import DeferredStreamHandler  # isort:skip
  File "/usr/local/lib/python3.9/site-packages/salt/_logging/handlers.py", line 16, in <module>
    from salt.utils.versions import warn_until_date
  File "/usr/local/lib/python3.9/site-packages/salt/utils/versions.py", line 19, in <module>
    import packaging.version
ModuleNotFoundError: No module named 'packaging'
/usr/local/etc/rc.d/salt_minion: WARNING: failed to start salt_minion

Thanks very much
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-06-13 14:57:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b41a73fddbe9888900568e871dc96ed741d5614b

commit b41a73fddbe9888900568e871dc96ed741d5614b
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2023-06-13 14:43:44 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2023-06-13 14:57:05 +0000

    sysutils/py-salt: Add missed package dependency

    PR:             271981
    Reported by:    nihilesthic@proton.me

 sysutils/py-salt/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)