Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2020 11:11:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243610] sysutils/py-salt failed to build with python 3.8
Message-ID:  <bug-243610-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243610

            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@FreeBSD.org
          Reporter: tommyhp2@gmail.com

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

=3D=3D=3D>  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.p=
y",
line 15, in <module>
    from platform import linux_distribution as _deprecated_linux_distributi=
on
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.p=
y",
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

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243610-7788>