12.1-STABLE を使っているのですが、同じ症状になりまして、調べたところた
しかこの変更の影響みたいなんですよね。
------------------------------------------------------------------------
r357852 | kevans | 2020-02-13 12:13:29 +0900 (02/13/20 (Thu)) | 20 lines
MFC r357284, r357419: stdio unlocked
r357284:
stdio: provide _unlocked variants of fflush, fputc, fputs, fread, fwrite
fflush_unlocked is currently desired in ports by sysutils/metalog, and
redefined as the locked fflush.
fputc_unlocked, fputs_unlocked, fread_unlocked, and fwrite_unlocked are
currently desired in ports by devel/elfutils, and redefined as the locked
fputs, fread, and fwrite respectively.
r357419:
libc: provide fputc_unlocked
Among the same justification as the other stdio _unlocked; in addition to an
inline version in <stdio.h>, we must provide a function in libc as well for
the functionality. This fixes the lang/gcc* builds, which want to use the
symbol from libc.
------------------------------------------------------------------------
11.4 はこれが取りこまれているので、同じ原因ではないかと思います。
ただこれ emacs26 では発生しますが、emacs28 では発生しないので、ソース
を見比べてみると src/process.c が添付のように変更されています。
私は editors/emacs を ports からインストールして使っているので、コンパ
イルするときにこのパッチを当てていますが、一応動くようになりました。
もしくは editors/emacs ではなく editors/emacs-devel を使うと、動くよう
になるのではないかと思います。こちらは試していません。
--
佐々木 寛