FreeBSD下ports安装软件包参数WITHOUT_CHECK

在一台很老版本的FreeBSD系统下通过ports安装一不可描述的软件包时提示出错:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
### Note that you can skip these lengthy selftests with WITHOUT_CHECK=yes ###
....
....
The following test will take about two minutes.
If the addresses are in use, this test will retry up to two times.
clt:tls-error
....
....
Sat May  7 19:14:37 2022 WARNING: No server certificate verification method has been enabled. 
Sat May  7 19:14:37 2022 WARNING: file 'sample-keys/server.key' is group or others accessible
Sat May  7 19:14:37 2022 WARNING: file 'sample-keys/client.key' is group or others accessible
Sat May  7 19:14:37 2022 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Sat May  7 19:14:37 2022 TLS Error: TLS object -> incoming plaintext read error
Sat May  7 19:14:37 2022 TLS Error: TLS handshake failed
....
....
FAIL: t_cltsrv.sh
====================================================
1 of 2 tests failed
====================================================
*** Error code 1

解决办法:
重新执行以下命令安装:

1
[[email protected] ~]# make WITHOUT_CHECK=YES install clean

问题解决!