pkg・ports アップデート関連 - その他一般 - bash-completion-2.13.0,2 → 2.14.0,2

 クラウディア
1. 概要
2. 状況
3. 対策

1. 概要

 2024年11月13日、発生。

> pkg version -vl "<"
bash-completion-2.13.0,2    <  needs updating (port has 2.14.0,2)

2. 状況


portupgrade -rR bash-completion

[Gathering depends for shells/bash-completion .................................................................... done]
[Exclude up-to-date packages .................... done]
--->  Upgrading 'bash-completion-2.13.0,2' to 'bash-completion-2.14.0,2' (shells/bash-completion)
--->  Building '/usr/ports/shells/bash-completion'

・・・	略	・・・

===>   Registering installation for bash-completion-freebsd-1.3.0 as automatic
Installing bash-completion-freebsd-1.3.0...
pkg-static: bash-completion-freebsd-1.3.0 conflicts with bash-completion-2.13.0,2 (installs files into the same place).  Problematic file: /usr/local/etc/bash_completion.d/make
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/shells/bash-completion-freebsd
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/shells/bash-completion
*** Error code 1

Stop.
make: stopped in /usr/ports/shells/bash-completion
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20241113-14505-89fb8j env UPGRADE_TOOL=portupgrade UPGRADE_PORT=bash-completion-2.13.0,2 UPGRADE_PORT_VER=2.13.0,2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! shells/bash-completion (bash-completion-2.13.0,2)     (unknown build error)

3. 対策

 今回は、正当なやり方で、すんなり通りました。

cd /usr/ports/shells/bash-completion
make deinstall clean
make
make reinstall