From owner-freebsd-questions@freebsd.org Thu Sep 21 19:36:44 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DEBBE1D120 for ; Thu, 21 Sep 2017 19:36:44 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from chukcha.pknet.net (chukcha.pknet.net [206.125.170.170]) by mx1.freebsd.org (Postfix) with ESMTP id 6A4A46730F for ; Thu, 21 Sep 2017 19:36:43 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: by chukcha.pknet.net (Postfix, from userid 26) id 9235210C290; Thu, 21 Sep 2017 13:23:13 -0600 (MDT) Received: from mail.pknet.net (localhost [127.0.0.1]) by chukcha.pknet.net (Postfix) with ESMTP id 4CE6910C285; Thu, 21 Sep 2017 13:23:11 -0600 (MDT) Received: from 165.237.199.131 (SquirrelMail authenticated user fbsdq@peterk.org) by mail.pknet.net with HTTP; Thu, 21 Sep 2017 13:23:11 -0600 Message-ID: <805dea20e407ae5fc338f593db783c7e.squirrel@mail.pknet.net> In-Reply-To: References: <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org> Date: Thu, 21 Sep 2017 13:23:11 -0600 Subject: Re: sysutils/py-salt doesn't work with python3 | py36-salt fails to install From: "Peter" To: "Ben Woods" Cc: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Sep 21 13:23:12 2017 X-DSPAM-Confidence: 0.9986 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 59c411a0529122029698709 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Sep 2017 19:36:44 -0000 > On Sat, 9 Sep 2017 at 3:46 am, Peter 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[