[Bug 243610] sysutils/py-salt failed to build with python 3.8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 26 11:11:09 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243610

            Bug ID: 243610
           Summary: sysutils/py-salt failed to build with python 3.8
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: tommyhp2 at gmail.com

Salt fails to build with python 3.8.  I've inquired with upstream regarding
possibility of fix for FreeBSD.

===>  Configuring for py38-salt-2019.2.2_1
Traceback (most recent call last):
  File
"/wrkdirs/usr/ports/sysutils/py-salt/work-py38/salt-2019.2.2/salt/version.py",
line 15, in <module>
    from platform import linux_distribution as _deprecated_linux_distribution
ImportError: cannot import name 'linux_distribution' from 'platform'
(/usr/local/lib/python3.8/platform.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 137, in <module>
    exec(compile(open(SALT_VERSION).read(), SALT_VERSION, 'exec'))
  File
"/wrkdirs/usr/ports/sysutils/py-salt/work-py38/salt-2019.2.2/salt/version.py",
line 22, in <module>
    from distro import linux_distribution
ModuleNotFoundError: No module named 'distro'
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/py-salt

=====================================================================

Also, devel/py-ioflo and net/py-raet fail to build when RAET option selected:

===> The following configuration options are available for
py38-salt-2019.2.2_1:
     AWS=on: Install dependencies required for Amazon Web Services
     RAET=on: Install dependencies required for RAET transport
     TCP=on: Install dependencies required for TCP transport
     ZEROMQ=on: Install dependencies required for ZeroMQ transport
===> Use 'make config' to modify these settings

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list