3. pkg・ports アップデート関連 - perl5 - p5-Mail-DKIM 0.52 → 0.53

 
3.1 概要
3.2 p5-Crypt-OpenSSL-RSA を確認

3.1 概要

 発生は 2018年5月29日。

> pkg version -vl "<"
p5-Mail-DKIM-0.52                  <   needs updating (index has 0.53)
 ちゅうんで portupgrade してみると

> portupgrade -Rr p5-Mail-DKIM
[Reading data from pkg(8) ... - 386 packages found - done]
[Gathering depends for mail/p5-Mail-DKIM ........................ done]
[Gathering depends for mail/spamassassin ......................................................................................................................................................................................................... done]
[Exclude up-to-date packages .** Port marked as IGNORE: security/p5-Crypt-OpenSSL-RSA:
        is marked as broken: does not build with DEFAULT_VERSIONS+=ssl=openssl-devel
.......................................................................... done]
--->  Skipping 'mail/p5-Mail-DKIM' (p5-Mail-DKIM-0.52) because a requisite package 'p5-Crypt-OpenSSL-RSA-0.28_2' (security/p5-Crypt-OpenSSL-RSA) failed (specify -k to force)
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        - security/p5-Crypt-OpenSSL-RSA (marked as IGNORE)
        * mail/p5-Mail-DKIM (p5-Mail-DKIM-0.52)

3.2 p5-Crypt-OpenSSL-RSA を確認

 どうも p5-Crypt-OpenSSL-RSA に問題がありそうです。  openssl は最近 devel だったりそうでなかったりといろいろしたので、make を確認してみます。

> cd /usr/ports/security/p5-Crypt-OpenSSL-RSA
> make clean
> make
===>  p5-Crypt-OpenSSL-RSA-0.28_2 is marked as broken: does not build with
DEFAULT_VERSIONS+=ssl=openssl-devel.
*** Error code 1

Stop.
make: stopped in /usr/ports/security/p5-Crypt-OpenSSL-RSA
 うむ、これはあかん、元をただせば openssl-devel をインストールしたのが問題だったようです。  まずは「/etc/make.conf オプション」の項で openssl-devel を openssl に戻します。  これで

> portupgrade -Rr p5-Mail-DKIM
[Reading data from pkg(8) ... - 385 packages found - done]
[Gathering depends for mail/p5-Mail-DKIM .................... done]
[Gathering depends for mail/spamassassin ............................................................................................................................................................................................. done]
[Exclude up-to-date packages .......................................................................... done]
--->  Upgrading 'p5-Mail-DKIM-0.52' to 'p5-Mail-DKIM-0.53' (mail/p5-Mail-DKIM)
--->  Building '/usr/ports/mail/p5-Mail-DKIM'

・・・略・・・

Installed packages to be REMOVED:
        p5-Mail-DKIM-0.52

Number of packages to be removed: 1
[1/1] Deinstalling p5-Mail-DKIM-0.52...
[1/1] Deleting files for p5-Mail-DKIM-0.52: 100%
[Reading data from pkg(8) ... - 384 packages found - done]
--->  Installing the new version via the port
===>  Installing for p5-Mail-DKIM-0.53
===>   Registering installation for p5-Mail-DKIM-0.53 as automatic
Installing p5-Mail-DKIM-0.53...
===>  Cleaning for p5-Mail-DKIM-0.53
--->  Cleaning out obsolete shared libraries
 こちらはうまくいったようです。  あとは
/usr/ports/www/node
 の問題だな。  これは「メンテナンス・トラブルシュート - python」の項で・・・。