FreeBSD 8.2のマシンで portupgrade をかけたところ、今回は
graphics/libGL (libGL-7.6.1) (unknown build error)
で終了。
こまかいエラー出力は、
===> Generating temporary packing list
===> Checking if textproc/py-libxml2 already installed
===> An older version of textproc/py-libxml2 is already installed (py26-libxml2-2.7.8_2)
You may wish to “make deinstall” and install this port again
by “make reinstall” to upgrade it properly.
If you really wish to overwrite the old port of textproc/py-libxml2
without deleting it first, set the variable “FORCE_PKG_REGISTER”
in your environment or the “make install” command line.
*** Error code 1Stop in /usr/ports/textproc/py-libxml2.
*** Error code 1
単純に、py-libxml2 を新しくしようとしたら、古いバージョン py26-libxml2-2.7.8_2 が入っているから、まず py26-libxml2-2.7.8_2 を削除してからやり直せという事らしい。今回は、ports/UPDATE に情報がないので、py26-libxml2-2.7.8_2 を削除すしてからやり直す事にする。
# pkg_delete py26-libxml2-2.7.8_2
とやってみると、依存関係はないようで簡単にパッケージ消去出来た。
そして、portupgrade -a を発行。
pkg_info で確認すると、
py27-libxml2-2.7.8_2 Python interface for XML parser library for GNOME
libGL-7.6.1_1 OpenGL library that renders using GLX or DRI
ということで、py-libxml2 が無事にインストールされて、メインのlibGL もちゃんとアップデートされたようだ。
メモ終了