FreeBSD - メンテナンス・トラブルシュート - PHP - 5.6.36 → 5.6.36_1 アップデートエラー
- 1. 概要
- 2. 単に make してみる
1. 概要
発生は 2018年5月15日。
php56 が 5.6.36 から 5.6.36_1 へと更新されていたので、php56 本体とその関連モジュールをアップデートしていて
[Reading data from pkg(8) ... - 384 packages found - done]
---> Installing the new version via the port
===> Installing for php56-session-5.6.36_1
===> Registering installation for php56-session-5.6.36_1 as automatic
Installing php56-session-5.6.36_1...
===> Cleaning for php56-session-5.6.36_1
---> Cleaning out obsolete shared libraries
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- security/php56-openssl (marked as IGNORE)
てなことになって、php56 関連モジュールとして1つだけ残っちゃいました。
> pkg version -vl "<"
php56-openssl-5.6.36 < needs updating (index has 5.6.36_1)
> portupgrade -Rr php56-openssl
[Reading data from pkg(8) ... - 385 packages found - done]
** Port marked as IGNORE: security/php56-openssl:
is marked as broken: Does not build with openssl-devel
[Gathering depends for lang/php56-extensions ................ done]
[Exclude up-to-date packages ...............** Port marked as IGNORE: security/php56-openssl:
is marked as broken: Does not build with openssl-devel
................................................. done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
- security/php56-openssl (marked as IGNORE)
- security/php56-openssl (marked as IGNORE)
2. 単に make してみる
> cd /usr/ports/security/php56-openssl
> make clean
> make
===> php56-openssl-5.6.36_1 is marked as broken: Does not build with
openssl-devel.
*** Error code 1
Stop.
make: stopped in /usr/ports/security/php56-openssl
これは openssl-devel と一緒に php56-openssl をビルドするなってことですよね?
openssl-devel は明示的にインストールした記憶がないので何かが依存するものとしてインストールされているので少しばかり不安がありますが openssl-devel をアンインストールして openssl をインストールしてみます。
cd /usr/ports/security/openssl-devel
make deinstall
cd /us/ports/security/openssl
make
make install
までやったものの現象変わらず・・・。
で、これはいかんのです。もし、postgreSQL10 をインストールしているのであれば、
openssl-devel の方を残して openssl の方を削除してください。
これらは二者択一で、postgreSQL10 は openssl-devel に依存しているので、openssl-devel がないと postgreSQL10 が起動できなくなります。
で
/usr/ports/security/php56-openssl
の中を見たら
> cd /usr/ports/security/php56-openssl
> ls
Makefile
あり?
Makefile っきゃないじゃない。つまりほんまに broken のように思われ・・・。
> cd /usr/ports/security/php56-openssl
> make deinstall
あとは様子見。
|
|