FreeBSD - メンテナンス・トラブルシュート - pkg・ports アップデート関連 - xorgproto conflicts with glproto

 
1. 概要
2. アップグレードしてみる
3. make し直し
4. xproto を削除しちゃう?

1. 概要

 おそらくは前ページと関連して発生しているので、発生は同じく 2018年8月2日。  前ページの作業後

> pkg version -vl "?"
damageproto-1.2.1                  ?   orphaned: x11/damageproto
dri2proto-2.8                      ?   orphaned: x11/dri2proto
fixesproto-5.0                     ?   orphaned: x11/fixesproto
glproto-1.4.17                     ?   orphaned: x11/glproto
kbproto-1.0.7                      ?   orphaned: x11/kbproto
xextproto-7.3.0                    ?   orphaned: x11/xextproto
xproto-7.0.31                      ?   orphaned: x11/xproto
 てな状態になってしまいました。

2. アップグレードしてみる

 これで「?」だからって

pkg delete xproto
 しちゃうと、またぞろ前ページと同じ現象に陥ってしまうと思い

portupgrade -Rr xproto
 すると

・・・略・・・
Installed packages to be REMOVED:
        xproto-7.0.31

Number of packages to be removed: 1
[1/1] Deinstalling xproto-7.0.31...
[1/1] Deleting files for xproto-7.0.31: 100%
[Reading data from pkg(8) ... - 395 packages found - done]
--->  Installing the new version via the port
===>  Installing for xorgproto-2018.4
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with glproto-1.4.17 (installs files into the same place).  Problematic file: /usr/local/include/GL/glxint.h
*** Error code 70

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

Stop.
make: stopped in /usr/ports/x11/xorgproto
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20180802-1028-gdb1k4 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=xproto-7.0.31 UPGRADE_PORT_VER=7.0.31 make reinstall
--->  Restoring the old version
Installing xproto-7.0.31...
Extracting xproto-7.0.31: 100%
** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! x11/xorgproto (xproto-7.0.31) (install error)
 てなことで停止しちゃいます。

3. make し直し

 これまた仕方ないので

cd /usr/ports/x11/xorgproto
make deinstall clean
make
pkg delete glproto
make install
 だがしかし・・・。

===>  Installing for xorgproto-2018.4
===>  Checking if xorgproto already installed
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with xproto-7.0.31 (installs files into the same place).  Problematic file: /usr/local/include/X11/DECkeysym.h
*** Error code 70

Stop.
make: stopped in /usr/ports/x11/xorgproto

4. xproto を削除しちゃう?

 xproto を pkg delete しちゃう?  でも

> pkg delete xproto
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 37 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        xproto-7.0.31
        bdftopcf-1.1_1
        libfontenc-1.1.3_2
        mkfontscale-1.1.3_1
        libXau-1.0.8_4
        libXdmcp-1.1.2_1
        libxshmfence-1.2_3
        libX11-1.6.5_1,1
        libXext-1.3.3_2,1
        libXfixes-5.0.3_1
        libXxf86vm-1.1.4_2
        libXrender-0.9.10_1
        cairo-1.14.8_2,2
        libXi-1.7.9_1,1
        libICE-1.0.9_2,1
        libSM-1.2.2_4,1
        libXt-1.1.5_1,1
        libXcursor-1.1.15_1
        libXinerama-1.1.4_1,1
        libXrandr-1.5.1_1
        libXdamage-1.1.4_4
        mesa-libs-18.1.4_2
        mkfontdir-1.0.7
        font-bh-ttf-1.0.3_3
        font-misc-meltho-1.0.3_3
        font-misc-ethiopic-1.0.3_3
        dejavu-2.37
        xcb-util-0.4.0_2,1
        libxcb-1.13
        dbus-1.10.16_1
        gdk-pixbuf2-2.36.11
        gtk-update-icon-cache-2.24.32
        pango-1.42.0
        harfbuzz-1.8.4_1
        xorg-fonts-truetype-7.7_1
        xcb-util-renderutil-0.3.9_1
        dbus-glib-0.108

Number of packages to be removed: 37

The operation will free 50 MiB.

Proceed with deinstalling packages? [y/N]:
 とまぁ、恐ろしく大量のものが削除されちゃうので、後で必要になったらまた、インストールだなぁ・・・。  しかし、メインのサーバプログラムたちではないようなので・・・。  思い切って y  続けて

> cd /usr/ports/x11/xorgproto
> make install
===>  Installing for xorgproto-2018.4
===>  Checking if xorgproto already installed
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with xextproto-7.3.0 (installs files into the same place).  Problematic file: /usr/local/include/X11/extensions/EVI.h
*** Error code 70

Stop.
make: stopped in /usr/ports/x11/xorgproto
 あとはいちいち説明をつけませんが

> pkg delete xextproto
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        xextproto-7.3.0

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling xextproto-7.3.0...
[1/1] Deleting files for xextproto-7.3.0: 100%

> cd /usr/ports/x11/xorgproto
> make install
===>  Installing for xorgproto-2018.4
===>  Checking if xorgproto already installed
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with kbproto-1.0.7 (installs files into the same place).  Problematic file: /usr/local/include/X11/extensions/XKB.h
*** Error code 70

Stop.
make: stopped in /usr/ports/x11/xorgproto

> pkg delete kbproto
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        kbproto-1.0.7

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling kbproto-1.0.7...
[1/1] Deleting files for kbproto-1.0.7: 100%

> cd /usr/ports/x11/xorgproto
> make install
===>  Installing for xorgproto-2018.4
===>  Checking if xorgproto already installed
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with damageproto-1.2.1 (installs files into the same place).  Problematic file: /usr/local/include/X11/extensions/damageproto.h
*** Error code 70

Stop.
make: stopped in /usr/ports/x11/xorgproto

> pkg delete damageproto
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        damageproto-1.2.1

Number of packages to be removed: 1

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling damageproto-1.2.1...
[1/1] Deleting files for damageproto-1.2.1: 100%

> cd /usr/ports/x11/xorgproto
> make install
===>  Installing for xorgproto-2018.4
===>  Checking if xorgproto already installed
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with dri2proto-2.8 (installs files into the same place).  Problematic file: /usr/local/include/X11/extensions/dri2proto.h
*** Error code 70

Stop.
make: stopped in /usr/ports/x11/xorgproto
 も~ y も書かない

> pkg delete dri2proto

> cd /usr/ports/x11/xorgproto
> make install
===>  Installing for xorgproto-2018.4
===>  Checking if xorgproto already installed
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4...
pkg-static: xorgproto-2018.4 conflicts with fixesproto-5.0 (installs files into the same place).  Problematic file: /usr/local/include/X11/extensions/xfixesproto.h
*** Error code 70

Stop.
make: stopped in /usr/ports/x11/xorgproto

> pkg delete fixesproto

> cd /usr/ports/x11/xorgproto
> make install
===>  Installing for xorgproto-2018.4
===>  Checking if xorgproto already installed
===>   Registering installation for xorgproto-2018.4
Installing xorgproto-2018.4
 これでやっと完了しました。