Notebook

これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。

HTML ファイル生成日時: 2024/11/23 14:01:49.216 (台灣標準時)

pkgsrc の fetch phase で問題

NetBSD-current (10.99.4) をインストールして、 pkgsrc を使ってパッケー ジをインストールしようとしたら、問題が生じたでござる。ソースコードをダ ウンロードできないのでござる。例えば、以下のようにソースコードのダウン ロードが失敗するでござる。


# cd /usr/pkgsrc/wip/py-gpy
# ls
DESCR    Makefile PLIST    distinfo
# cat DESCR 
GPy is a Gaussian Process (GP) framework written in Python,
from the Sheffield machine learning group
# make install
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Fetching GPy-1.5.5.tar.gz
=> Total size: 819564 bytes
FFFFFFFFFFFFFFFF:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:/usr/src/crypto/external/bsd/openssl/dist/crypto/store/store_register.c:237:scheme=file
FFFFFFFFFFFFFFFF:error:80000002:system library:file_open:No such file or directory:/usr/src/crypto/external/bsd/openssl/dist/providers/implementations/storemgmt/file_store.c:267:calling stat(/etc/openssl/certs)
FFFFFFFFFFFFFFFF:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:/usr/src/crypto/external/bsd/openssl/dist/crypto/store/store_register.c:237:scheme=file
FFFFFFFFFFFFFFFF:error:80000002:system library:file_open:No such file or directory:/usr/src/crypto/external/bsd/openssl/dist/providers/implementations/storemgmt/file_store.c:267:calling stat(/etc/openssl/certs)
FFFFFFFFFFFFFFFF:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:/usr/src/crypto/external/bsd/openssl/dist/crypto/store/store_register.c:237:scheme=file
FFFFFFFFFFFFFFFF:error:80000002:system library:file_open:No such file or directory:/usr/src/crypto/external/bsd/openssl/dist/providers/implementations/storemgmt/file_store.c:267:calling stat(/etc/openssl/certs)
FFFFFFFFFFFFFFFF:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:/usr/src/crypto/external/bsd/openssl/dist/ssl/statem/statem_clnt.c:1889:
ftp: Can't connect to `pypi.python.org:https'
fetch: Unable to fetch expected file GPy-1.5.5.tar.gz
Requesting http://cdn.NetBSD.org/pub/pkgsrc/distfiles/GPy-1.5.5.tar.gz
ftp: Error retrieving file `404 Not Found'
fetch: Unable to fetch expected file GPy-1.5.5.tar.gz
ftp: Can't LOOKUP `ftp6.NetBSD.org:http': No address associated with hostname
ftp: Can't connect to `ftp6.NetBSD.org:http'
fetch: Unable to fetch expected file GPy-1.5.5.tar.gz
Requesting http://ftp.fr.NetBSD.org/pub/pkgsrc/distfiles/GPy-1.5.5.tar.gz
ftp: Error retrieving file `404 Not Found'
fetch: Unable to fetch expected file GPy-1.5.5.tar.gz
Requesting http://ftp.NetBSD.org/pub/pkgsrc/distfiles/GPy-1.5.5.tar.gz
ftp: Error retrieving file `404 Not Found'
fetch: Unable to fetch expected file GPy-1.5.5.tar.gz
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/py-gpy

どうも、 SSL の certificate の問題のようでござる。以下のようにして、 security/mozilla-rootcerts-openssl をインストールすると解決するようで ござる。


# cd /usr/pkgsrc/security/mozilla-rootcerts-openssl
# make install
# make clean

NetBSD 10.0_BETA では、 security/mozilla-rootcerts-openssl をインストー ルせずとも、特に問題はなかったのでござるが、 10.99 で何か変更があった のでござろうか。

参考文献



Frequently accessed files

  1. Computer___Python/20220518_0.html
  2. Computer___Network/20230726_00.html
  3. Misc___Taiwan/20240207_00.html
  4. Computer___Network/20230516_00.html
  5. Computer___FreeBSD/20220621_0.html
  6. Computer___Python/20220715_0.html
  7. Computer___Network/20230508_00.html
  8. Food___Taiwan/20220429_0.html
  9. Computer___NetBSD/20220817_3.html
  10. Computer___Python/20220410_0.html
  11. Computer___Network/20240416_00.html
  12. Computer___Network/20240130_00.html
  13. Computer___Debian/20210223_1.html
  14. Computer___NetBSD/20230119_00.html
  15. Computer___Python/20210124_0.html
  16. Computer___Python/20221013_0.html
  17. Computer___NetBSD/20220818_1.html
  18. Computer___NetBSD/20220428_0.html
  19. Science___Math/20220420_0.html
  20. Computer___NetBSD/20240101_02.html
  21. Computer___NetBSD/20220808_0.html
  22. Computer___TeX/20230503_00.html
  23. Computer___NetBSD/20230515_00.html
  24. Science___Astronomy/20220503_0.html
  25. Computer___NetBSD/20210127_0.html
  26. Computer___Python/20240101_00.html
  27. Computer___Network/20220413_1.html
  28. Computer___Python/20220816_1.html
  29. Computer___NetBSD/20210204_0.html
  30. Travel___Taiwan/20220809_2.html


HTML file generated by Kinoshita Daisuke.