メンテナンス・トラブルシュート - Python - Subversion で py27 エラー

 クラウディア
1. 概要
2. pyhton36 をインストールしてみる
3. 結局 pyhton27 をインストールするしかなかった

1. 概要

 発生は 2018年5月7日。  ほぼ新規インスール下 FreeBSD 11.1 RELEASE に subversion をインストールしようとしたら

===>   subversion-1.10.0 depends on package: pkgconf>=1.3.0_1 - found
===>   subversion-1.10.0 depends on executable: msgfmt - found
===>   subversion-1.10.0 depends on shared library: libapr-1.so - found (/usr/local/lib/libapr-1.so)
===>   subversion-1.10.0 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   subversion-1.10.0 depends on shared library: libexpat.so - found (/usr/local/lib/libexpat.so)
===>   subversion-1.10.0 depends on shared library: libutf8proc.so - found (/usr/local/lib/libutf8proc.so)
===>   subversion-1.10.0 depends on shared library: liblz4.so - found (/usr/local/lib/liblz4.so)
===>   subversion-1.10.0 depends on shared library: libserf-1.so - not found
===>   serf-1.3.9_3 depends on file: /usr/local/bin/scons - not found
===>   scons-3.0.1 depends on package: py27-setuptools>0 - not found
===>   py27-setuptools-39.0.1 depends on file: /usr/local/bin/python2.7 - not found
===>  python27-2.7.14_1 has known vulnerabilities:
python27-2.7.14_1 is vulnerable:
python 2.7 -- multiple vulnerabilities
CVE: CVE-2018-1061
CVE: CVE-2018-1060
CVE: CVE-2017-9233
CVE: CVE-2016-9063
CVE: CVE-2016-4472
CVE: CVE-2016-0718
CVE: CVE-2012-0876
WWW: https://vuxml.FreeBSD.org/freebsd/8719b935-8bae-41ad-92ba-3c826f651219.html

1 problem(s) in the installed packages found.
=> Please update your ports tree and try again.
=> Note: Vulnerable ports are marked as such even if there is no update available.
=> If you wish to ignore this vulnerability rebuild with 'make DISABLE_VULNERABILITIES=yes'
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/lang/python27
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/lang/python27
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/devel/py-setuptools
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/devel/scons
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/www/serf
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/www/serf
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/subversion
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/subversion
 単にインストールするならば

/usr/ports/lang/python27
 を

make DISABLE_VULNERABILITIES=yes
 で make しちゃえばいいんでしょうけど。  python36 をインストールしてみたらどうなんだろう?と思ったわけです。

2. pyhton36 をインストールしてみる


cd /usr/ports/lang/python36
make
make install

3. 結局 pyhton27 をインストールするしかなかった

 で、まぁ python3 をインストールしたのですが

> whereis python3
python3: /usr/local/bin/python3 /usr/ports/lang/python3
> python3 --version
Python 3.6.5
 結局、subversion のエラーはなくならなかったので、python27 で

make DISABLE_VULNERABILITIES=yes
 するしかありませんでした。
ハイスピードプラン