Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2018 09:08:45 -0600
From:      Christer Edwards <christer.edwards@gmail.com>
To:        "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org>
Subject:   Problem with py36 "opt-1.pyc" files
Message-ID:  <CAH2d3%2BszcpZhns7Us22jQ6HYE=joHb%2B1OMk9RJh6Xyg1P3yFcQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
There is an issue in the current (2018.3.0_1) sysutils/py-salt, specific to
py36. The "cpython-36.opt-1.pyc" files included in the pkg seem to contain
pre-patched files.

Any more experienced porters want to offer advice on how to fix this in the
port?

reproduce:
1. install py36-salt (>=2018.3.0)
2. start master/minion
3. error (/var/log/salt/{master,minion}

fix:
1. rm
/usr/local/lib/python3.6/site-packages/salt/grains/__pycache__/marathon.cpython-36.opt-1.pyc
/usr/local/lib/python3.6/site-packages/salt/grains/__pycache__/fx2.cpython-36.opt-1.pyc

I've never seen this before.

Cheers,
Christer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAH2d3%2BszcpZhns7Us22jQ6HYE=joHb%2B1OMk9RJh6Xyg1P3yFcQ>