Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2017 13:45:38 -0600
From:      Peter <fbsdq@peterk.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: sysutils/py-salt doesn't work with python3 | py36-salt fails to install
Message-ID:  <a239b8e6-5191-1cb0-60cf-1055545dbfba@peterk.org>
In-Reply-To: <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org>
References:  <a61de2238e760b8a90a57da548d798d6.squirrel@www.peterk.org> <285fc7dd-4aa4-dfa9-65a4-37f44186d515@pinyon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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[


>>
>> 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"
>>
>
> _______________________________________________
> 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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a239b8e6-5191-1cb0-60cf-1055545dbfba>