==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_917c0bed-65d0-431b-9385-3016967296af]...done
==> Making package: skktools 1.3.4-4.1 (Thu Apr 30 16:50:21 2026)
==> Retrieving sources...
  -> Downloading skktools-1.3.4.tar.gz...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0  6 471.5k   6  33051   0      0  28274      0   00:17   00:01   00:16  28275 28 471.5k  28 133.1k   0      0  59157      0   00:08   00:02   00:06  59158 62 471.5k  62 293.2k   0      0  86698      0   00:05   00:03   00:02  86699100 471.5k 100 471.5k   0      0 116.1k      0   00:04   00:04          86699100 471.5k 100 471.5k   0      0 116.1k      0   00:04   00:04          86699100 471.5k 100 471.5k   0      0 116.1k      0   00:04   00:04          86699
  -> Downloading skktools-skk2cdb-python3.patch...
  % Total    % Received % Xferd  Average Speed  Time    Time    Time   Current
                                 Dload  Upload  Total   Spent   Left   Speed
  0      0   0      0   0      0      0      0                              0100   3970 100   3970   0      0  27592      0                              0100   3970 100   3970   0      0  27584      0                              0100   3970 100   3970   0      0  27576      0                              0
==> Validating source files with sha512sums...
    skktools-1.3.4.tar.gz ... Passed
    skktools-skk2cdb-python3.patch ... Passed
==> Making package: skktools 1.3.4-4.1 (Thu Apr 30 14:50:27 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found skktools-1.3.4.tar.gz
  -> Found skktools-skk2cdb-python3.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting skktools-1.3.4.tar.gz with bsdtar
==> Starting prepare()...
patching file skk2cdb.py
==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for 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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for gawk... (cached) gawk
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bzip2... /usr/bin/bzip2
checking for date... /usr/bin/date
checking for gzip... /usr/bin/gzip
checking for md5... no
checking for md5sum... /usr/bin/md5sum
checking for tar... /usr/bin/tar
checking for mkdtemp... yes
checking for snprintf... yes
checking for dbm_open in -lgdbm... no
checking for dbm_open in -lgdbm_compat... yes
checking gdbm/ndbm.h usability... no
checking gdbm/ndbm.h presence... no
checking for gdbm/ndbm.h... no
checking for dbm_open... no
checking for dbm_open in -lndbm... no
checking for __db_ndbm_open in -ldb... no
checking for dbm_open in -lgdbm... (cached) no
checking for dbm_open in -lgdbm_compat... (cached) yes
checking for gdbm/ndbm.h... (cached) no
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0.0... yes
checking GLIB2_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread
checking GLIB2_LIBS... -lglib-2.0
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
gcc -I. -I. -I. -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/skktools -flto=auto -falign-functions=32 -o skkdic-expr ./skkdic-expr.c  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32
gcc -I. -I. -I. -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/skktools -flto=auto -falign-functions=32 -o skkdic-sort ./skkdic-sort.c -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32
gcc -I. -I. -I. -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/skktools -flto=auto -falign-functions=32 -o skkdic-count ./skkdic-count.c -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32
gcc -I. -I. -I. -march=x86-64-v4 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -g -ffile-prefix-map=/startdir/src=/usr/src/debug/skktools -flto=auto -falign-functions=32 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -o skkdic-expr2 ./skkdic-expr2.c -lglib-2.0 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto -falign-functions=32
./skkdic-count.c: In function ‘count_entry’:
./skkdic-count.c:39:1: warning: old-style function definition [-Wold-style-definition]
   39 | count_entry(filename, fp)
      | ^~~~~~~~~~~
./skkdic-count.c: In function ‘main’:
./skkdic-count.c:68:5: warning: old-style function definition [-Wold-style-definition]
   68 | int main(argc, argv)
      |     ^~~~
./skkdic-sort.c: In function ‘hexcomp’:
./skkdic-sort.c:106:1: warning: old-style function definition [-Wold-style-definition]
  106 | hexcomp(a, b)
      | ^~~~~~~
./skkdic-sort.c: In function ‘okuriari’:
./skkdic-sort.c:118:12: warning: old-style function definition [-Wold-style-definition]
  118 | static int okuriari(p)
      |            ^~~~~~~~
./skkdic-sort.c: In function ‘skkcompar’:
./skkdic-sort.c:132:5: warning: old-style function definition [-Wold-style-definition]
  132 | int skkcompar(a, b)
      |     ^~~~~~~~~
./skkdic-sort.c: In function ‘main’:
./skkdic-sort.c:180:5: warning: old-style function definition [-Wold-style-definition]
  180 | int main(argc, argv)
      |     ^~~~
./skkdic-expr.c:91:1: error: unknown type name ‘DBM’
   91 | DBM *db;
      | ^~~
./skkdic-expr.c:92:1: error: unknown type name ‘DBM’
   92 | DBM *okuriheaddb;
      | ^~~
./skkdic-expr.c:93:1: error: unknown type name ‘DBM’
   93 | DBM *okuritaildb;
      | ^~~
./skkdic-expr.c: In function ‘db_remove_file’:
./skkdic-expr.c:122:13: warning: old-style function definition [-Wold-style-definition]
  122 | static void db_remove_file(fname)
      |             ^~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘db_make_files’:
./skkdic-expr.c:170:15: error: implicit declaration of function ‘dbm_open’ [-Wimplicit-function-declaration]
  170 |     if ((db = dbm_open(file_name, O_RDWR|O_CREAT, 0600)) == NULL){
      |               ^~~~~~~~
./skkdic-expr.c:170:13: error: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  170 |     if ((db = dbm_open(file_name, O_RDWR|O_CREAT, 0600)) == NULL){
      |             ^
./skkdic-expr.c:179:26: error: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  179 |         if ((okuriheaddb = dbm_open(okuri_head_name, O_RDWR|O_CREAT, 0600))
      |                          ^
./skkdic-expr.c:184:26: error: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  184 |         if ((okuritaildb = dbm_open(okuri_tail_name, O_RDWR|O_CREAT, 0600))
      |                          ^
./skkdic-expr.c: In function ‘db_append’:
./skkdic-expr.c:194:6: error: unknown type name ‘datum’
  194 |      datum key;
      |      ^~~~~
./skkdic-expr.c:196:6: error: unknown type name ‘DBM’
  196 |      DBM *dbm;
      |      ^~~
./skkdic-expr.c:193:13: warning: old-style function definition [-Wold-style-definition]
  193 | static void db_append(key, new, dbm)
      |             ^~~~~~~~~
./skkdic-expr.c:199:5: error: unknown type name ‘datum’
  199 |     datum content;
      |     ^~~~~
./skkdic-expr.c:204:12: error: request for member ‘dptr’ in something not a structure or union
  204 |     content.dptr = (char *)&pos;
      |            ^
./skkdic-expr.c:205:12: error: request for member ‘dsize’ in something not a structure or union
  205 |     content.dsize = sizeof pos;
      |            ^
./skkdic-expr.c:206:5: error: implicit declaration of function ‘dbm_store’ [-Wimplicit-function-declaration]
  206 |     dbm_store(dbm, key, content, DBM_REPLACE);
      |     ^~~~~~~~~
./skkdic-expr.c:206:34: error: ‘DBM_REPLACE’ undeclared (first use in this function)
  206 |     dbm_store(dbm, key, content, DBM_REPLACE);
      |                                  ^~~~~~~~~~~
./skkdic-expr.c:206:34: note: each undeclared identifier is reported only once for each function it appears in
./skkdic-expr.c: In function ‘getpos’:
./skkdic-expr.c:210:13: warning: old-style function definition [-Wold-style-definition]
  210 | static long getpos(ptr)
      |             ^~~~~~
./skkdic-expr.c: In function ‘db_replace’:
./skkdic-expr.c:224:13: warning: old-style function definition [-Wold-style-definition]
  224 | static void db_replace(ptr, new)
      |             ^~~~~~~~~~
./skkdic-expr.c: In function ‘db_gets’:
./skkdic-expr.c:233:13: warning: old-style function definition [-Wold-style-definition]
  233 | static void db_gets(ptr, len, fp)
      |             ^~~~~~~
./skkdic-expr.c: In function ‘signal_handler’:
./skkdic-expr.c:244:1: warning: old-style function definition [-Wold-style-definition]
  244 | signal_handler (signo)
      | ^~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘match_item’:
./skkdic-expr.c:282:12: warning: old-style function definition [-Wold-style-definition]
  282 | static int match_item(base, s, e)
      |            ^~~~~~~~~~
./skkdic-expr.c: In function ‘append_item’:
./skkdic-expr.c:301:13: warning: old-style function definition [-Wold-style-definition]
  301 | static void append_item(base, s, e)
      |             ^~~~~~~~~~~
./skkdic-expr.c: In function ‘add_okuri_item’:
./skkdic-expr.c:318:6: error: unknown type name ‘datum’
  318 |      datum              *key;
      |      ^~~~~
./skkdic-expr.c:317:6: warning: old-style function definition [-Wold-style-definition]
  317 | void add_okuri_item(key, s)
      |      ^~~~~~~~~~~~~~
./skkdic-expr.c:327:5: error: unknown type name ‘datum’
  327 |     datum               otails, oheads;
      |     ^~~~~
./skkdic-expr.c:328:5: error: unknown type name ‘datum’
  328 |     datum               tkey, hkey;
      |     ^~~~~
./skkdic-expr.c:331:24: error: request for member ‘dptr’ in something not a structure or union
  331 |     strncpy(keybuf, key->dptr, key->dsize);
      |                        ^~
./skkdic-expr.c:331:35: error: request for member ‘dsize’ in something not a structure or union
  331 |     strncpy(keybuf, key->dptr, key->dsize);
      |                                   ^~
./skkdic-expr.c:332:9: error: request for member ‘dptr’ in something not a structure or union
  332 |     tkey.dptr = (char *)keybuf;
      |         ^
./skkdic-expr.c:333:27: error: request for member ‘dsize’ in something not a structure or union
  333 |     headtop = keybuf + key->dsize;      /* ɤ˥ԡ뤫 */
      |                           ^~
./skkdic-expr.c:340:9: error: request for member ‘dsize’ in something not a structure or union
  340 |     tkey.dsize = p - keybuf;
      |         ^
./skkdic-expr.c:353:14: error: implicit declaration of function ‘dbm_fetch’ [-Wimplicit-function-declaration]
  353 |     otails = dbm_fetch(okuriheaddb, tkey);
      |              ^~~~~~~~~
./skkdic-expr.c:354:15: error: request for member ‘dptr’ in something not a structure or union
  354 |     if (otails.dptr == NULL)  {
      |               ^
./skkdic-expr.c:357:39: error: request for member ‘dptr’ in something not a structure or union
  357 |         fseek(dbcontent, getpos(otails.dptr), 0);
      |                                       ^
./skkdic-expr.c:359:13: error: too many arguments to function ‘add_content_line’; expected 0, have 3
  359 |         if (add_content_line(new, content, NULL))
      |             ^~~~~~~~~~~~~~~~ ~~~
./skkdic-expr.c:115:12: note: declared here
  115 | static int add_content_line();
      |            ^~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘add_okuri_tail_line’:
./skkdic-expr.c:367:12: warning: old-style function definition [-Wold-style-definition]
  367 | static int add_okuri_tail_line(tails, line)
      |            ^~~~~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘add_content_line’:
./skkdic-expr.c:400:6: error: unknown type name ‘datum’
  400 |      datum         *key;
      |      ^~~~~
./skkdic-expr.c:397:12: warning: old-style function definition [-Wold-style-definition]
  397 | static int add_content_line(base, new, key)
      |            ^~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘item_number’:
./skkdic-expr.c:433:12: warning: old-style function definition [-Wold-style-definition]
  433 | static int item_number(p)
      |            ^~~~~~~~~~~
./skkdic-expr.c: In function ‘line_process’:
./skkdic-expr.c:444:6: error: unknown type name ‘datum’
  444 |      datum *key;
      |      ^~~~~
./skkdic-expr.c:442:12: warning: old-style function definition [-Wold-style-definition]
  442 | static int line_process(buffer, key, kanji, tails)
      |            ^~~~~~~~~~~~
./skkdic-expr.c:455:8: error: request for member ‘dptr’ in something not a structure or union
  455 |     key->dptr = buffer;
      |        ^~
./skkdic-expr.c:456:8: error: request for member ‘dsize’ in something not a structure or union
  456 |     key->dsize = key_len;
      |        ^~
./skkdic-expr.c:460:5: error: too many arguments to function ‘add_content_line’; expected 0, have 3
  460 |     add_content_line(kanji, buffer+key_len+1, key);
      |     ^~~~~~~~~~~~~~~~ ~~~~~
./skkdic-expr.c:397:12: note: declared here
  397 | static int add_content_line(base, new, key)
      |            ^~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘add_file’:
./skkdic-expr.c:467:13: warning: old-style function definition [-Wold-style-definition]
  467 | static void add_file(srcname)
      |             ^~~~~~~~
./skkdic-expr.c:472:5: error: unknown type name ‘datum’
  472 |     datum key, old, tkey;
      |     ^~~~~
./skkdic-expr.c:485:28: error: request for member ‘dptr’ in something not a structure or union
  485 |                     if (old.dptr == NULL) {
      |                            ^
./skkdic-expr.c:488:52: error: request for member ‘dptr’ in something not a structure or union
  488 |                         fseek(dbcontent, getpos(old.dptr), 0);
      |                                                    ^
./skkdic-expr.c:497:20: error: request for member ‘dptr’ in something not a structure or union
  497 |             if (old.dptr == NULL) {
      |                    ^
./skkdic-expr.c:500:44: error: request for member ‘dptr’ in something not a structure or union
  500 |                 fseek(dbcontent, getpos(old.dptr), 0);
      |                                            ^
./skkdic-expr.c:502:21: error: too many arguments to function ‘add_content_line’; expected 0, have 3
  502 |                 if (add_content_line(new, kanji, NULL))
      |                     ^~~~~~~~~~~~~~~~ ~~~
./skkdic-expr.c:397:12: note: declared here
  397 | static int add_content_line(base, new, key)
      |            ^~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘delete_item’:
./skkdic-expr.c:511:1: warning: old-style function definition [-Wold-style-definition]
  511 | delete_item(base, s, e)
      | ^~~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_okuri_item’:
./skkdic-expr.c:537:6: error: unknown type name ‘datum’
  537 |      datum              *key;
      |      ^~~~~
./skkdic-expr.c:536:6: warning: old-style function definition [-Wold-style-definition]
  536 | void subtract_okuri_item(key, s)
      |      ^~~~~~~~~~~~~~~~~~~
./skkdic-expr.c:546:5: error: unknown type name ‘datum’
  546 |     datum               otails, oheads;
      |     ^~~~~
./skkdic-expr.c:547:5: error: unknown type name ‘datum’
  547 |     datum               tkey, hkey;
      |     ^~~~~
./skkdic-expr.c:550:24: error: request for member ‘dptr’ in something not a structure or union
  550 |     strncpy(keybuf, key->dptr, key->dsize);
      |                        ^~
./skkdic-expr.c:550:35: error: request for member ‘dsize’ in something not a structure or union
  550 |     strncpy(keybuf, key->dptr, key->dsize);
      |                                   ^~
./skkdic-expr.c:551:9: error: request for member ‘dptr’ in something not a structure or union
  551 |     tkey.dptr = (char *)keybuf;
      |         ^
./skkdic-expr.c:552:27: error: request for member ‘dsize’ in something not a structure or union
  552 |     headtop = keybuf + key->dsize;      /* ɤ˥ԡ뤫 */
      |                           ^~
./skkdic-expr.c:559:9: error: request for member ‘dsize’ in something not a structure or union
  559 |     tkey.dsize = p - keybuf;
      |         ^
./skkdic-expr.c:573:15: error: request for member ‘dptr’ in something not a structure or union
  573 |     if (otails.dptr != NULL)  {
      |               ^
./skkdic-expr.c:574:39: error: request for member ‘dptr’ in something not a structure or union
  574 |         fseek(dbcontent, getpos(otails.dptr), 0);
      |                                       ^
./skkdic-expr.c:576:9: error: too many arguments to function ‘subtract_content_line’; expected 0, have 3
  576 |         subtract_content_line(new, content, NULL);
      |         ^~~~~~~~~~~~~~~~~~~~~ ~~~
./skkdic-expr.c:116:13: note: declared here
  116 | static void subtract_content_line();
      |             ^~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c:578:30: error: request for member ‘dptr’ in something not a structure or union
  578 |             db_replace(otails.dptr, new);
      |                              ^
./skkdic-expr.c:580:13: error: implicit declaration of function ‘dbm_delete’ [-Wimplicit-function-declaration]
  580 |             dbm_delete(okuriheaddb, tkey);
      |             ^~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_okuri_tail_line’:
./skkdic-expr.c:586:6: warning: old-style function definition [-Wold-style-definition]
  586 | void subtract_okuri_tail_line(tails, line)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_content_line’:
./skkdic-expr.c:613:6: error: unknown type name ‘datum’
  613 |      datum         *key;
      |      ^~~~~
./skkdic-expr.c:610:1: warning: old-style function definition [-Wold-style-definition]
  610 | subtract_content_line(base, new, key)
      | ^~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_file’:
./skkdic-expr.c:641:13: warning: old-style function definition [-Wold-style-definition]
  641 | static void subtract_file(srcname)
      |             ^~~~~~~~~~~~~
./skkdic-expr.c:646:5: error: unknown type name ‘datum’
  646 |     datum key, old, tkey;
      |     ^~~~~
./skkdic-expr.c:662:28: error: request for member ‘dptr’ in something not a structure or union
  662 |                     if (old.dptr != NULL) {
      |                            ^
./skkdic-expr.c:663:52: error: request for member ‘dptr’ in something not a structure or union
  663 |                         fseek(dbcontent, getpos(old.dptr), 0);
      |                                                    ^
./skkdic-expr.c:667:43: error: request for member ‘dptr’ in something not a structure or union
  667 |                             db_replace(old.dptr, new);
      |                                           ^
./skkdic-expr.c:675:20: error: request for member ‘dptr’ in something not a structure or union
  675 |             if (old.dptr != NULL) {
      |                    ^
./skkdic-expr.c:676:44: error: request for member ‘dptr’ in something not a structure or union
  676 |                 fseek(dbcontent, getpos(old.dptr), 0L);
      |                                            ^
./skkdic-expr.c:678:17: error: too many arguments to function ‘subtract_content_line’; expected 0, have 3
  678 |                 subtract_content_line(new, kanji, &key);
      |                 ^~~~~~~~~~~~~~~~~~~~~ ~~~
./skkdic-expr.c:610:1: note: declared here
  610 | subtract_content_line(base, new, key)
      | ^~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c:680:35: error: request for member ‘dptr’ in something not a structure or union
  680 |                     db_replace(old.dptr, new);
      |                                   ^
./skkdic-expr.c: In function ‘okuri_type_out’:
./skkdic-expr.c:690:6: error: unknown type name ‘datum’
  690 |      datum      *key;
      |      ^~~~~
./skkdic-expr.c:689:6: warning: old-style function definition [-Wold-style-definition]
  689 | void okuri_type_out(key, output)
      |      ^~~~~~~~~~~~~~
./skkdic-expr.c:698:5: error: unknown type name ‘datum’
  698 |     datum       tails, tkey;
      |     ^~~~~
./skkdic-expr.c:699:5: error: unknown type name ‘datum’
  699 |     datum       one;
      |     ^~~~~
./skkdic-expr.c:702:24: error: request for member ‘dptr’ in something not a structure or union
  702 |     strncpy(keybuf, key->dptr, key->dsize);
      |                        ^~
./skkdic-expr.c:702:35: error: request for member ‘dsize’ in something not a structure or union
  702 |     strncpy(keybuf, key->dptr, key->dsize);
      |                                   ^~
./skkdic-expr.c:703:9: error: request for member ‘dptr’ in something not a structure or union
  703 |     tkey.dptr = (char *)keybuf;
      |         ^
./skkdic-expr.c:704:9: error: request for member ‘dsize’ in something not a structure or union
  704 |     tkey.dsize = key->dsize;
      |         ^
./skkdic-expr.c:704:21: error: request for member ‘dsize’ in something not a structure or union
  704 |     tkey.dsize = key->dsize;
      |                     ^~
./skkdic-expr.c:705:28: error: request for member ‘dsize’ in something not a structure or union
  705 |     headtop = keybuf + tkey.dsize;      /* ɤ˥ԡ뤫 */
      |                            ^
./skkdic-expr.c:708:14: error: request for member ‘dptr’ in something not a structure or union
  708 |     if (tails.dptr == NULL)  {
      |              ^
./skkdic-expr.c:711:38: error: request for member ‘dptr’ in something not a structure or union
  711 |         fseek(dbcontent, getpos(tails.dptr), 0);
      |                                      ^
./skkdic-expr.c:721:17: error: request for member ‘dsize’ in something not a structure or union
  721 |             tkey.dsize = (headtop - keybuf) + (e - s);
      |                 ^
./skkdic-expr.c:723:20: error: request for member ‘dptr’ in something not a structure or union
  723 |             if (one.dptr == NULL) {
      |                    ^
./skkdic-expr.c:726:44: error: request for member ‘dptr’ in something not a structure or union
  726 |                 fseek(dbcontent, getpos(one.dptr), 0);
      |                                            ^
./skkdic-expr.c: In function ‘type_out’:
./skkdic-expr.c:743:13: warning: old-style function definition [-Wold-style-definition]
  743 | static void type_out(output)
      |             ^~~~~~~~
./skkdic-expr.c:746:5: error: unknown type name ‘datum’
  746 |     datum key, content;
      |     ^~~~~
./skkdic-expr.c:750:16: error: implicit declaration of function ‘dbm_firstkey’ [-Wimplicit-function-declaration]
  750 |     for (key = dbm_firstkey(db); key.dptr !=  NULL;  key = dbm_nextkey(db)) {
      |                ^~~~~~~~~~~~
./skkdic-expr.c:750:37: error: request for member ‘dptr’ in something not a structure or union
  750 |     for (key = dbm_firstkey(db); key.dptr !=  NULL;  key = dbm_nextkey(db)) {
      |                                     ^
./skkdic-expr.c:750:60: error: implicit declaration of function ‘dbm_nextkey’ [-Wimplicit-function-declaration]
  750 |     for (key = dbm_firstkey(db); key.dptr !=  NULL;  key = dbm_nextkey(db)) {
      |                                                            ^~~~~~~~~~~
./skkdic-expr.c:752:27: error: request for member ‘dsize’ in something not a structure or union
  752 |         for(i = 0; i < key.dsize; ++ i)
      |                           ^
./skkdic-expr.c:753:30: error: request for member ‘dptr’ in something not a structure or union
  753 |             putc(((char *)key.dptr)[i], output);
      |                              ^
./skkdic-expr.c:755:40: error: request for member ‘dptr’ in something not a structure or union
  755 |         fseek(dbcontent, getpos(content.dptr), 0);
      |                                        ^
./skkdic-expr.c:764:9: error: unknown type name ‘datum’
  764 |         datum   entry;
      |         ^~~~~
./skkdic-expr.c:766:17: error: request for member ‘dptr’ in something not a structure or union
  766 |              key.dptr !=  NULL;  key = dbm_nextkey(okuritaildb)) {
      |                 ^
./skkdic-expr.c:768:22: error: request for member ‘dptr’ in something not a structure or union
  768 |             if (entry.dptr != NULL) continue;
      |                      ^
./skkdic-expr.c:770:31: error: request for member ‘dsize’ in something not a structure or union
  770 |             for(i = 0; i < key.dsize; ++ i)
      |                               ^
./skkdic-expr.c:771:34: error: request for member ‘dptr’ in something not a structure or union
  771 |                 putc(((char *)key.dptr)[i], output);
      |                                  ^
./skkdic-expr.c: In function ‘print_usage’:
./skkdic-expr.c:781:13: warning: old-style function definition [-Wold-style-definition]
  781 | static void print_usage(argc, argv)
      |             ^~~~~~~~~~~
./skkdic-expr.c: In function ‘main’:
./skkdic-expr.c:791:5: warning: old-style function definition [-Wold-style-definition]
  791 | int main(argc, argv)
      |     ^~~~
make: *** [Makefile:66: skkdic-expr] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_917c0bed-65d0-431b-9385-3016967296af/build
