pkg・ports アップデート関連 - その他一般 - libxkbcommon-1.8.1_3 → 1.13.0


 クラウディア


1. 概要
2. 現象
3. 削除しちゃう

1. 概要

 発生は、2025年12月1日です。

2. 現象

 下記の状態にありまして。

portversion -v | grep '<'

libxkbcommon-1.8.1_3        <  needs updating (port has 1.13.0)
 アップグレードしようとすると。

env BATCH=yes portupgrade -rR libxkbcommon

[Reading data from pkg(8) ... - 882 packages found - done]
[Gathering depends for x11/libxkbcommon ................................................................................ done]
[Exclude up-to-date packages ........................................ done]
--->  Upgrading 'libxkbcommon-1.8.1_3' to 'libxkbcommon-1.13.0' (x11/libxkbcommon)
--->  Building '/usr/ports/x11/libxkbcommon'
===>  Cleaning for libxkbcommon-1.13.0
===>  License MIT accepted by the user
===>   libxkbcommon-1.13.0 depends on file: /usr/local/sbin/pkg - found

・・・	略	・・・

-std=c11 -fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wshadow -Wdate-time -Wwrite-strings -Wno-documentation-deprecated-sync -Wno-pedantic -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -MD -MQ libxkbregistry.so.0.13.0.p/src_registry.c.o -MF libxkbregistry.so.0.13.0.p/src_registry.c.o.d -o libxkbregistry.so.0.13.0.p/src_registry.c.o -c ../src/registry.c
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/libxkbcommon
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20251201-77742-ann5nl env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libxkbcommon-1.8.1_3 UPGRADE_PORT_VER=1.8.1_3 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! x11/libxkbcommon (libxkbcommon-1.8.1_3)       (unknown build error)

3. 削除しちゃう

 現象の発生したマシンは、サーバマシンで、2台ありました。  「libxkbcommon」に依存するパッケージを調べると。

pkg info -r libxkbcommon
 1台では。

libxkbcommon-1.8.1_3:
 もう1台では。

libxkbcommon-1.8.1_3:
        sdl2-2.32.10
        qt6-base-6.9.3_2
        qt6-base-6.9.3_2 (libxkbcommon.so.0)
        sdl2-2.32.10 (libxkbcommon.so.0)
 実は、どちらも、サーバマシンで、「X11」は関係ないので、削除しちゃいます。  「libxkbcommon」のみの方は。

cd /usr/ports/x11/libxkbcommon

make deinstall clean
 もう1台では。

cd /usr/ports/devel/sdl20

make deinstall clean

cd /usr/ports/devel/qt6

make deinstall clean
 してから。

cd /usr/ports/x11/libxkbcommon

make deinstall clean

EaseUS
AbemaTV 無料体験