pkg・ports アップデート関連 - その他一般 - mesa-libs-18.1.4_1 → 18.1.4_2

クラウディア 
1. 概要
2. /usr/ports/x11/libXdamage を単独でインストールしてみる
3. X11 関係をインストール
4. 再度 portupgrade

1. 概要

 発生は 2018年8月2日。

> pkg version -vl "<"
mesa-libs-18.1.4_1                 <   needs updating (index has 18.1.4_2)
 ってんで

> portupgrade -Rr mesa-libs
 すると

・・・略・・・
checking if cc supports -Werror=attributes... yes
checking for XDAMAGE... configure: error: Package requirements (damageproto >= 1.1 xfixes fixesproto xextproto x11) were not met:

Package 'damageproto', required by 'virtual:world', not found
Package 'fixesproto', required by 'xfixes', not found
Package 'fixesproto', required by 'virtual:world', not found
Package 'xextproto', required by 'virtual:world', not found
Package 'kbproto', required by 'x11', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XDAMAGE_CFLAGS
and XDAMAGE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

===>  Script "configure" failed unexpectedly.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/ports/x11/libXdamage/work/libXdamage-1.1.4/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/x11/libXdamage
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mesa-libs
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20180802-37413-x0wdh4 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mesa-libs-18.1.4_1 UPGRADE_PORT_VER=18.1.4_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! graphics/mesa-libs (mesa-libs-18.1.4_1)       (configure error)

2. /usr/ports/x11/libXdamage を単独でインストールしてみる


/usr/ports/x11/libXdamage
 でエラーになっていますので、これを単独でインストールしてみます。

cd /usr/ports/x11/libXdamage
make clean
make
make install
 すると前項と同じところで停止。  ふと思い出す。  このマシンは X11 をインストールしない予定だったが少し、構成を変更しています。  で、確か

/etc/make.conf
 にその関係の設定があったはず。  編集して、下記の3行を削除して

OPTIONS_UNSET+=X11
WITHOUT_GUI=yes
NO_X=true
 再度

cd /usr/ports/x11/libXdamage
make clean
make
make install
 で、同じ結果になる。

3. X11 関係をインストール

 エラーメッセージの

checking for XDAMAGE... configure: error: Package requirements (damageproto >= 1.1 xfixes fixesproto xextproto x11) were not met:

Package 'damageproto', required by 'virtual:world', not found
Package 'fixesproto', required by 'xfixes', not found
Package 'fixesproto', required by 'virtual:world', not found
Package 'xextproto', required by 'virtual:world', not found
Package 'kbproto', required by 'x11', not found
 に着目、これを下から順にインストールしてみますか

cd /usr/ports/x11/xorg
make
make install
 したらば、これも同じように停止してしまう・・・。  はいるものから入れていくしかないと思っているが・・・。  kbproto ていうものの ports のありかがわからん。  しかし

> pkg search kbproto
kbproto-1.0.7                  KB extension headers
 pkg でならインストールできるかも・・・。

> pkg install kbproto
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        kbproto: 1.0.7

Number of packages to be installed: 1

122 KiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching kbproto-1.0.7.txz: 100%  122 KiB 125.4kB/s    00:01
Checking integrity... done (0 conflicting)
[1/1] Installing kbproto-1.0.7...
[1/1] Extracting kbproto-1.0.7: 100%
 とりあえず、ひとつインストールできた。  同様に(以降、細かい出力は略)

> pkg install xextproto
> pkg install fixesproto
> pkg install damageproto
 ここまでやってやっと

cd /usr/ports/x11/libXdamage
make clean
make
make install

4. 再度 portupgrade

 再度 portupgrade してみると、また

・・・略・・・

configure: error: Package requirements (glproto >= 1.4.14) were not met:

Package 'glproto', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLPROTO_CFLAGS
and GLPROTO_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/ports/graphics/mesa-libs/work/mesa-18.1.4/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/mesa-libs
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mesa-libs
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20180802-59681-zd7cuh env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mesa-libs-18.1.4_1 UPGRADE_PORT_VER=18.1.4_1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! graphics/mesa-libs (mesa-libs-18.1.4_1)       (configure error)
 今度は単刀直入に(同様のものが他にもあり)

> pkg install glproto
> pkg install dri2proto
 ここまでやって、ようやく

> portupgrade -Rr mesa-libs
 が無事終了しましたが。  次ページへ続く・・・。
ハイスピードプランPoint anytimeメンズミレット