From owner-freebsd-questions@freebsd.org Thu Sep 7 22:08:38 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 D4690E12EF8 for ; Thu, 7 Sep 2017 22:08:38 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37CB383433 for ; Thu, 7 Sep 2017 22:08:37 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: by h2.pinyon.org (Postfix, from userid 58) id C922732F36; Thu, 7 Sep 2017 15:00:28 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1504821628; bh=yk91F02pp2sRJ7oN2qV8agPlVvOxcg5JLKRY0gdsCmc=; h=Subject:To:References:From:Date:In-Reply-To; b=fHQPGsn3exLG52s5aIt/76EQiC0jhCUGdfKcaZri21UE9sLSr7MfH1an98d6x43MS fCW+q0a/ms3DyJpDck9P2bRSqVHhct1u3pruR1zmsqqtvDjlAOGC3qqp2EPKN80rpl AKJPaWC0ta488ZyHLmSChxhnuKqi6+l9ZODaGKEg= X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on h2.n1.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from [10.0.10.15] (h1.pinyon.org [65.101.20.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 2FF8932F20 for ; Thu, 7 Sep 2017 15:00:27 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pinyon.org; s=DKIM; t=1504821627; bh=yk91F02pp2sRJ7oN2qV8agPlVvOxcg5JLKRY0gdsCmc=; h=Subject:To:References:From:Date:In-Reply-To; b=BIqD0xpzCZZeDAvND+fVN0WxOTXxkLhqlNVpo3FCiICZ+j8FSnIYJCFt0n+pedX3E x8q9un4ZffYFGiN7L6uDwYdicZq/hk9SF86woz2yKewVbHGxwd/KACOjEUw4YW+33v F3tbIWP9Pd4At2/2yFyhcy99HGJWj+3Hu80zWT6A= Subject: Re: sysutils/py-salt doesn't work with python3 | py36-salt fails to install To: freebsd-questions@freebsd.org References: From: "Russell L. Carter" Message-ID: <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org> Date: Thu, 7 Sep 2017 15:00:26 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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, 07 Sep 2017 22:08:39 -0000 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 > > minion:#cat /etc/make.conf > DEFAULT_VERSIONS= apache=2.4 php=7.1 pgsql=9.6 python=3.6 python3=3.6 > > minion:#make > .. > .... > Installing salt-minion script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-run script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-ssh script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-syndic script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing salt-unity script to > /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > Installing spm script to /usr/ports/sysutils/py-salt/work/stage/usr/local/bin > writing list of installed files to > '/usr/ports/sysutils/py-salt/work/.PLIST.pymodtmp' > install -m 0644 > /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/master > /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/master.sample > install -m 0644 > /usr/ports/sysutils/py-salt/work/salt-2017.7.1/conf/minion > /usr/ports/sysutils/py-salt/work/stage/usr/local/etc/salt/minion.sample > ====> Compressing man pages (compress-man) > ===> Staging rc.d startup script(s) > minion:# > minion:#make install > ===> Installing for py36-salt-2017.7.1_1 > ===> py36-salt-2017.7.1_1 depends on package: py36-Jinja2>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-MarkupSafe>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-botocore>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-libcloud>=0.14.0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-msgpack-python>=0.3 - > found > ===> py36-salt-2017.7.1_1 depends on package: py36-progressbar>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-requests>=1.0.0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-tornado>=4.2.1 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-yaml>0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-pyzmq>=2.2.0 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-pycrypto>=2.6.1 - found > ===> py36-salt-2017.7.1_1 depends on package: py36-setuptools>0 - found > ===> py36-salt-2017.7.1_1 depends on file: /usr/local/bin/python3.6 - found > ===> Checking if py36-salt already installed > ===> Registering installation for py36-salt-2017.7.1_1 > pkg-static: Unable to access file > /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyc:No > such file or directory > pkg-static: Unable to access file > /usr/ports/sysutils/py-salt/work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.pyo:No > such file or directory > *** Error code 74 > > Stop. > make[1]: stopped in /usr/ports/sysutils/py-salt > *** Error code 1 > > Stop. > make: stopped in /usr/ports/sysutils/py-salt > minion:# > minion:#find ./ |grep syspaths.py > ./work/salt-2017.7.1/salt/syspaths.py > ./work/salt-2017.7.1/pkg/smartos/esky/_syspaths.py > ./work/salt-2017.7.1/build/lib/salt/syspaths.py > ./work/salt-2017.7.1/build/lib/salt/_syspaths.py > ./work/stage/usr/local/lib/python3.6/site-packages/salt/syspaths.py > ./work/stage/usr/local/lib/python3.6/site-packages/salt/_syspaths.py > minion:# > > > It does the build and install fine with python27, but I'm trying to get it > going with python36. Haven't been able to figure out how to properly get > it tow work. > > Any ideas? I've tried this on a fresh install of FreeBSD with only the > /etc/make.conf changes - fails at same spot. > Anyone else using py-salt with python3 ? > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >