Date: Thu, 21 Sep 2017 13:23:11 -0600 From: "Peter" <fbsdq@peterk.org> To: "Ben Woods" <woodsb02@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: sysutils/py-salt doesn't work with python3 | py36-salt fails to install Message-ID: <805dea20e407ae5fc338f593db783c7e.squirrel@mail.pknet.net> In-Reply-To: <CAOc73CBKkZ-HaxecP4K12vUmrxjq6d0H9uVJxCvJDMk8on0=1Q@mail.gmail.com> References: <a61de2238e760b8a90a57da548d798d6.squirrel@www.peterk.org> <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org> <a239b8e6-5191-1cb0-60cf-1055545dbfba@peterk.org> <CAOc73CBKkZ-HaxecP4K12vUmrxjq6d0H9uVJxCvJDMk8on0=1Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sat, 9 Sep 2017 at 3:46 am, Peter <fbsdq@peterk.org> wrote: > >> On 09/07/17 16:00, Russell L. Carter wrote: >> > On 09/07/17 11:00, Peter wrote: >> >> All the python36 modules / python36 builds, and installs fine, but >> the >> >> port fails to install; >> > >> > >> https://docs.saltstack.com/en/latest/topics/installation/index.html#dependencies >> > >> > >> > Python 2.6 >= 2.6 <3.0 >> > >> > I am not entirely certain, but I think my whole tree of >> > python27 packages is only required by py-salt these >> > days. >> > >> > HTH, >> > Russell >> > >> > >> True, did not look at the installation instructions for 2017.7..., only >> the release notes which made it seem like python3 should work; >> https://docs.saltstack.com/en/latest/topics/releases/2017.7.0.html#python-3 >> and the latest commit comment in ports: >> http://www.freshports.org/sysutils/py-salt >> >> ]Peter[ > > > I suspect the installation instructions are out of date / have not been > updated since 2017.7.0 which added python 3 support according to the > release notes. > > Not sure why the install is failing, but I will try to have a look. > > Regards, > Ben > >> -- > > -- > From: Benjamin Woods > woodsb02@gmail.com Finally got back to this, the non educated fix was to remove the last two lines of pkg-plist: original was: minion:#cat bu @sample %%ETCDIR%%/master.sample @sample %%ETCDIR%%/minion.sample %%PYTHON_SITELIBDIR%%/salt/_syspaths.py ##%%PYTHON_SITELIBDIR%%/salt/_syspaths.pyc ##%%PYTHON_SITELIBDIR%%/salt/_syspaths.pyo minion:# minion:#cat pkg-plist @sample %%ETCDIR%%/master.sample @sample %%ETCDIR%%/minion.sample %%PYTHON_SITELIBDIR%%/salt/_syspaths.py minion:# Haven't been able to figure out why exactly its failing, but master and minion aren't complaining of anything. Will need to file a pr if I can find a real solution. ]Peter[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?805dea20e407ae5fc338f593db783c7e.squirrel>