=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/anthy-unicode", "configure", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] => Checksum BLAKE2s OK for anthy-unicode-1.0.0.20260213.tar.gz => Checksum SHA512 OK for anthy-unicode-1.0.0.20260213.tar.gz ===> Installing dependencies for anthy-unicode-1.0.0.20260213 => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 ===> Overriding tools for anthy-unicode-1.0.0.20260213 ===> Extracting for anthy-unicode-1.0.0.20260213 ===> Patching for anthy-unicode-1.0.0.20260213 => Applying pkgsrc patches for anthy-unicode-1.0.0.20260213 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/anthy-unicode/../../inputmethod/anthy-unicode/patches/patch-src-util_anthy-unicode.el => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/inputmethod/anthy-unicode/../../inputmethod/anthy-unicode/patches/patch-src-util_anthy-unicode.el Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src-util_anthy-unicode.el,v 1.1 2026/08/28 11:30:25 wiz Exp $ | |Fix the coding system on the pipe to the agent, keep each buffer's saved undo |list to itself, and let the file work on the older Emacs versions pkgsrc |still carries. | |The first two are not about old Emacs at all. anthy-agent-unicode speaks |UTF-8 and nothing else, but nothing sets the coding system on the pipe, so |Emacs uses default-process-coding-system, which follows the user's locale. |Under a ja_JP.eucJP or ja_JP.SJIS locale the conversion comes back as |mojibake on Emacs 22.3 through 31.1 alike. utf-8-unix is set explicitly; |the -unix matters, because plain utf-8 leaves the end-of-line undecided and |the decoding side settles on utf-8-dos. | |anthy stops undo while a preedit is open and puts the buffer's undo list |aside until the text is committed. The flag saying it did so is |anthy-deflocalvar, that is per buffer, but the list itself was an undeclared |global shared by every buffer, so opening a preedit in a second buffer |overwrote what the first one had put aside, and the first buffer got the |second one's undo history when it committed. | |anthy-restore-undo-list is dead: the two places that set the variable it |reads and its one call site are all commented out, as they already were in |anthy 9100h. It is commented out too rather than deleted, the same way its |callers are, so that taking the semicolons off brings it back. | |The rest is the older Emacs versions. Each name is picked once at load time |and called through a variable: | | set-face-underline Emacs 20 has only set-face-underline-p, and | until 24.3 that is the current spelling. | The call is at top level, so on Emacs 20 the | file does not load and only 4 of the 6 .elc | files get built. | set-process-query-on-exit-flag new in 22.1. It is called from | anthy-check-agent, so Emacs 21 and XEmacs | build and load and then die at the first | conversion. | deactivate-input-method, | deactivate-current-input-method-function | renamed from inactivate-* in 24.3. Emacs 22 | and 23 convert and then cannot leave the | input method: void-function nil, because the | variable they read stays nil. | mapc new in Emacs 21; 9100h used mapcar here. | |Writing the old name in an else branch would work, but a current Emacs then |reports it as not known to be defined, so this goes through a variable. The |XEmacs-only names in anthy-last-command-char get the same treatment, and a |lexical-binding cookie is added, which together take Emacs 24 and later from |nine byte-compile warnings to none. | |Emacs 20, 21 and XEmacs 21.4 have no utf-8 coding system that covers CJK, so |Mule-UCS is required there, inside condition-case so that nothing happens |where it is not installed and nothing at all happens from Emacs 22 on. |XEmacs takes a coding system object rather than a symbol, so the value goes |through find-coding-system there. | |Measured on NetBSD 11.0/amd64 with Emacs 20.7, 21.4, 22.3, 23.4, 24.5, 25.3, |26.3, 27.2, 28.2, 29.4, 30.2, 31.1 and XEmacs 21.4.25, typing nihongo, |converting, committing and switching the input method off again. | |Sent upstream as fujiwarat/anthy-unicode#21; this can be dropped once a |release includes it. | |--- src-util/anthy-unicode.el.orig |+++ src-util/anthy-unicode.el -------------------------- Patching file src-util/anthy-unicode.el using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 70. Hunk #3 succeeded at 263. Hunk #4 succeeded at 314. Hunk #5 succeeded at 611. Hunk #6 succeeded at 820. Hunk #7 succeeded at 945. Hunk #8 succeeded at 957. Hunk #9 succeeded at 968. done ===> Creating toolchain wrappers for anthy-unicode-1.0.0.20260213 ===> Configuring for anthy-unicode-1.0.0.20260213 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbuild -g pbuild checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 2 checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... /usr/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID '500' is supported by ustar format... yes checking whether GID '500' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for x86_64-sun-solaris2.11-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for fgrep... /usr/xpg4/bin/grep -F checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for file... file checking for x86_64-sun-solaris2.11-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-sun-solaris2.11-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-sun-solaris2.11-ranlib... no checking for ranlib... ranlib checking for x86_64-sun-solaris2.11-ar... no checking for ar... ar checking for archiver @FILE support... no checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip checking command to parse /usr/bin/nm -p output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-sun-solaris2.11-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for emacs... no checking where .elc files should go... ${datadir}/emacs/site-lisp checking for strerror_r... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src-diclib/Makefile config.status: creating src-worddic/Makefile config.status: creating src-splitter/Makefile config.status: creating src-ordering/Makefile config.status: creating src-main/Makefile config.status: creating src-util/Makefile config.status: creating anthy/Makefile config.status: creating depgraph/Makefile config.status: creating m4/Makefile config.status: creating mkanthydic/Makefile config.status: creating mkworddic/Makefile config.status: creating mkworddic/dict.args config.status: creating test/Makefile config.status: creating alt-cannadic/Makefile config.status: creating doc/Makefile config.status: creating calctrans/Makefile config.status: creating anthy-unicode.conf config.status: WARNING: 'anthy-unicode.conf.in' seems to ignore the --datarootdir setting config.status: creating anthy-unicode-test.conf config.status: creating anthy-unicode.spec config.status: creating anthy-unicode.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp