pkg・ports アップデート関連 - その他一般 - coreutils-9.9 → 9.12


クラウディア 


1. 概要
2. 現象
3. 対策
4. heimdal
5. 参考サイト

1. 概要

 発生は、2026年11月4日です。  「FreeBSD 15.1-RELEASE-p1」上なのですが、訳ありで、「FreeBSD 14.x RELEASE」を「FreeBSD 15.0 RELEASE」へアップグレードした際。  「ABI(Application Binary Interface)が、「FreeBSD:14:amd64」のまま、残っているものの「ABI」をアップグレードしている際の話です。

2. 現象


portversion -v | grep '<'

[Reading data from pkg(8) ... - 701 packages found - done]
coreutils-9.9               <  needs updating (port has 9.12)
 という状態にありまして。

env BATCH=yes portupgrade -rR coreutils
 の結果。

--- ./doc/coreutils.info ---
Perl API version v5.42.0 of reader_element/TreeElementXS.c does not match v5.44.0
*** [./doc/coreutils.info] Error code 1

make[2]: stopped making "all-am" in /usr/ports/sysutils/coreutils/work/coreutils-9.12
--- lib/libcoreutils_a-vasnprintf.o ---
mv -f lib/.deps/libcoreutils_a-vasnprintf.Tpo lib/.deps/libcoreutils_a-vasnprintf.Po
--- lib/libcoreutils_a-regex.o ---
mv -f lib/.deps/libcoreutils_a-regex.Tpo lib/.deps/libcoreutils_a-regex.Po
make[2]: 1 error

make[2]: stopped making "all-am" in /usr/ports/sysutils/coreutils/work/coreutils-9.12

make[1]: stopped making "all-recursive" in /usr/ports/sysutils/coreutils/work/coreutils-9.12

make: stopped making "all" in /usr/ports/sysutils/coreutils/work/coreutils-9.12
===> 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 making "all" in /usr/ports/sysutils/coreutils
egrep: empty (sub)expression
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20261104-47352-fy6v3q env UPGRADE_TOOL=portupgrade UPGRADE_PORT=coreutils-9.9 UPGRADE_PORT_VER=9.9 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! sysutils/coreutils (coreutils-9.9)    (unknown build error)
 てなことになるのです。  「perl」のパッケージや「help2man」を再インストールしてもだめ。

3. 対策

 無理やりなやり方ですが。

cd /usr/ports/sysutils/coreutils/work/coreutils-9.12

touch doc/coreutils.info

cd /usr/ports/sysutils/coreutils

make NO_DIALOG=yes MAKE_JOBS_UNSAFE=yes

make reinstall clean
 で、アップグレードできます。

4. heimdal

 バージョン記録しそこなっちゃいましたが、「heimdal」でも同様の現象が発生しました。  同様に、こけたところで。

cd /usr/ports/security/heimdal

touch /usr/ports/security/heimdal/work/heimdal-7.8.0/doc/heimdal.info

make NO_DIALOG=yes MAKE_JOBS_UNSAFE=yes

make reinstall clean

5. 参考サイト

 本ページは、「Gemini」伍長を参考にさせていただきました。

audiobook.jp
【usus ウズウズ】
ベルリッツ
健康サポート特集
損保との違い
サウンドハウス
葬送のフリーレン Prime Video
それがだいじWi-Fi
TikTok Shop 【リピート用プログラム】
アフィリエイトのアクセストレード
U-NEXT
ネットオークションの相場、統計、価格比較といえばオークファン
薬屋の独り言
5G CONNECT
Amazonギフトカード
earthcar(アースカー)
ハイスピードプラン
JETBOY