Source: wnn6-sdk Version: 1.0.0-18 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lu...@debian.org Usertags: ftbfs-20211023 ftbfs-bookworm
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[5]: Entering directory '/<<PKGBUILDDIR>>/contrib/im/Xsi/Wnn/jlib' > Makefile:1435: warning: overriding recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/msg.o' > Makefile:1414: warning: ignoring old recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/msg.o' > Makefile:1435: warning: overriding recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/yincoding.o' > Makefile:1417: warning: ignoring old recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/yincoding.o' > Makefile:1435: warning: overriding recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/py_table.o' > Makefile:1420: warning: ignoring old recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/py_table.o' > Makefile:1435: warning: overriding recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/zy_table.o' > Makefile:1423: warning: ignoring old recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/zy_table.o' > Makefile:1435: warning: overriding recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/strings.o' > Makefile:1426: warning: ignoring old recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/strings.o' > Makefile:1435: warning: overriding recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/serverdefs.o' > Makefile:1429: warning: ignoring old recipe for target > '/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/serverdefs.o' > rm -f js.o unshared/js.o > gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -Wformat -Werror=format-security > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib -Dlinux -D__amd64__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -Wdate-time > -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO > -DLIBDIR=\"/usr/local/lib/wnn6\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN > -DWRITE_CHECK -g -O2 -fno-strict-aliasing -g js.c -o unshared/js.o > In file included from > /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from js.c:167: > /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > | ^~~~~~~ > In file included from js.c:207: > ../etc/pwd.c: In function ‘new_pwd’: > ../etc/pwd.c:163:9: warning: implicit declaration of function ‘time’ > [-Wimplicit-function-declaration] > 163 | x = time(NULL); > | ^~~~ > js.c: In function ‘cd_open_in’: > js.c:506:14: warning: implicit declaration of function ‘inet_addr’ > [-Wimplicit-function-declaration] > 506 | ia = inet_addr(pserver); > | ^~~~~~~~~ > js.c: In function ‘_get_server_name’: > js.c:534:30: warning: implicit declaration of function ‘atoi’ > [-Wimplicit-function-declaration] > 534 | if (*(p+1)) offset = atoi(p+1); > | ^~~~ > js.c: In function ‘js_set_henkan_hinsi’: > js.c:1453:17: warning: implicit declaration of function ‘abs’ > [-Wimplicit-function-declaration] > 1453 | for(x = 0; x < abs(nhinsi); x++) put4com(hlist[x], env->js_id); > | ^~~ > js.c:208:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘abs’ > 207 | #include "../etc/pwd.c" > +++ |+#include <stdlib.h> > 208 | > js.c: In function ‘js_access_get_info’: > js.c:5099:9: warning: implicit declaration of function ‘free’ > [-Wimplicit-function-declaration] > 5099 | free((char *)save); > | ^~~~ > js.c:5099:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ > js.c:5099:9: warning: incompatible implicit declaration of built-in function > ‘free’ [-Wbuiltin-declaration-mismatch] > js.c:5099:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ > In file included from js.c:5629: > malloc.c: In function ‘malloc0’: > malloc.c:58:13: warning: comparison between pointer and integer > 58 | if(size == NULL){ > | ^~ > malloc.c:62:12: warning: implicit declaration of function ‘calloc’ > [-Wimplicit-function-declaration] > 62 | return(calloc(size,1)); > | ^~~~~~ > malloc.c:1:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’ > +++ |+#include <stdlib.h> > 1 | /* > malloc.c:62:12: warning: incompatible implicit declaration of built-in > function ‘calloc’ [-Wbuiltin-declaration-mismatch] > 62 | return(calloc(size,1)); > | ^~~~~~ > malloc.c:62:12: note: include ‘<stdlib.h>’ or provide a declaration of > ‘calloc’ > malloc.c: In function ‘free0’: > malloc.c:70:5: warning: incompatible implicit declaration of built-in > function ‘free’ [-Wbuiltin-declaration-mismatch] > 70 | free(pter); > | ^~~~ > malloc.c:70:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ > malloc.c: In function ‘realloc0’: > malloc.c:79:13: warning: comparison between pointer and integer > 79 | if(size == NULL){ > | ^~ > malloc.c:85:12: warning: implicit declaration of function ‘realloc’ > [-Wimplicit-function-declaration] > 85 | return(realloc(pter,size)); > | ^~~~~~~ > malloc.c:85:12: note: include ‘<stdlib.h>’ or provide a declaration of > ‘realloc’ > malloc.c:85:12: warning: incompatible implicit declaration of built-in > function ‘realloc’ [-Wbuiltin-declaration-mismatch] > malloc.c:85:12: note: include ‘<stdlib.h>’ or provide a declaration of > ‘realloc’ > In file included from js.c:201: > ../etc/bdic.c: In function ‘check_backup’: > ../etc/bdic.c:981:9: warning: ignoring return value of ‘link’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 981 | link(p, n); > | ^~~~~~~~~~ > ../etc/bdic.c: In function ‘make_backup_file’: > ../etc/bdic.c:1049:5: warning: ignoring return value of ‘link’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 1049 | link(p2, p); > | ^~~~~~~~~~~ > ../etc/bdic.c: In function ‘move_tmp_to_org’: > ../etc/bdic.c:1114:9: warning: ignoring return value of ‘link’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 1114 | link(tmp_name, org_name); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > rm -f js.o > gcc -c -g -O2 -fno-strict-aliasing -g -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib -Dlinux -D__amd64__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -Wdate-time > -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO > -DLIBDIR=\"/usr/local/lib/wnn6\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN > -DWRITE_CHECK -fPIC js.c > In file included from > /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from js.c:167: > /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > | ^~~~~~~ > In file included from js.c:207: > ../etc/pwd.c: In function ‘new_pwd’: > ../etc/pwd.c:163:9: warning: implicit declaration of function ‘time’ > [-Wimplicit-function-declaration] > 163 | x = time(NULL); > | ^~~~ > js.c: In function ‘cd_open_in’: > js.c:506:14: warning: implicit declaration of function ‘inet_addr’ > [-Wimplicit-function-declaration] > 506 | ia = inet_addr(pserver); > | ^~~~~~~~~ > js.c: In function ‘_get_server_name’: > js.c:534:30: warning: implicit declaration of function ‘atoi’ > [-Wimplicit-function-declaration] > 534 | if (*(p+1)) offset = atoi(p+1); > | ^~~~ > js.c: In function ‘js_set_henkan_hinsi’: > js.c:1453:17: warning: implicit declaration of function ‘abs’ > [-Wimplicit-function-declaration] > 1453 | for(x = 0; x < abs(nhinsi); x++) put4com(hlist[x], env->js_id); > | ^~~ > js.c:208:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘abs’ > 207 | #include "../etc/pwd.c" > +++ |+#include <stdlib.h> > 208 | > js.c: In function ‘js_access_get_info’: > js.c:5099:9: warning: implicit declaration of function ‘free’ > [-Wimplicit-function-declaration] > 5099 | free((char *)save); > | ^~~~ > js.c:5099:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ > js.c:5099:9: warning: incompatible implicit declaration of built-in function > ‘free’ [-Wbuiltin-declaration-mismatch] > js.c:5099:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ > In file included from js.c:5629: > malloc.c: In function ‘malloc0’: > malloc.c:58:13: warning: comparison between pointer and integer > 58 | if(size == NULL){ > | ^~ > malloc.c:62:12: warning: implicit declaration of function ‘calloc’ > [-Wimplicit-function-declaration] > 62 | return(calloc(size,1)); > | ^~~~~~ > malloc.c:1:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘calloc’ > +++ |+#include <stdlib.h> > 1 | /* > malloc.c:62:12: warning: incompatible implicit declaration of built-in > function ‘calloc’ [-Wbuiltin-declaration-mismatch] > 62 | return(calloc(size,1)); > | ^~~~~~ > malloc.c:62:12: note: include ‘<stdlib.h>’ or provide a declaration of > ‘calloc’ > malloc.c: In function ‘free0’: > malloc.c:70:5: warning: incompatible implicit declaration of built-in > function ‘free’ [-Wbuiltin-declaration-mismatch] > 70 | free(pter); > | ^~~~ > malloc.c:70:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ > malloc.c: In function ‘realloc0’: > malloc.c:79:13: warning: comparison between pointer and integer > 79 | if(size == NULL){ > | ^~ > malloc.c:85:12: warning: implicit declaration of function ‘realloc’ > [-Wimplicit-function-declaration] > 85 | return(realloc(pter,size)); > | ^~~~~~~ > malloc.c:85:12: note: include ‘<stdlib.h>’ or provide a declaration of > ‘realloc’ > malloc.c:85:12: warning: incompatible implicit declaration of built-in > function ‘realloc’ [-Wbuiltin-declaration-mismatch] > malloc.c:85:12: note: include ‘<stdlib.h>’ or provide a declaration of > ‘realloc’ > In file included from js.c:201: > ../etc/bdic.c: In function ‘check_backup’: > ../etc/bdic.c:981:9: warning: ignoring return value of ‘link’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 981 | link(p, n); > | ^~~~~~~~~~ > ../etc/bdic.c: In function ‘make_backup_file’: > ../etc/bdic.c:1049:5: warning: ignoring return value of ‘link’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 1049 | link(p2, p); > | ^~~~~~~~~~~ > ../etc/bdic.c: In function ‘move_tmp_to_org’: > ../etc/bdic.c:1114:9: warning: ignoring return value of ‘link’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 1114 | link(tmp_name, org_name); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > rm -f wnnerrmsg.o unshared/wnnerrmsg.o > gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -Wformat -Werror=format-security > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib -Dlinux -D__amd64__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -Wdate-time > -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO > -DLIBDIR=\"/usr/local/lib/wnn6\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN > -DWRITE_CHECK -g -O2 -fno-strict-aliasing -g wnnerrmsg.c -o > unshared/wnnerrmsg.o > In file included from > /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from wnnerrmsg.c:140: > /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > | ^~~~~~~ > rm -f wnnerrmsg.o > gcc -c -g -O2 -fno-strict-aliasing -g -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib -Dlinux -D__amd64__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -Wdate-time > -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO > -DLIBDIR=\"/usr/local/lib/wnn6\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN > -DWRITE_CHECK -fPIC wnnerrmsg.c > In file included from > /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from wnnerrmsg.c:140: > /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > | ^~~~~~~ > rm -f jl.o unshared/jl.o > gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -Wformat -Werror=format-security > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib -Dlinux -D__amd64__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -Wdate-time > -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO > -DLIBDIR=\"/usr/local/lib/wnn6\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN > -DWRITE_CHECK -g -O2 -fno-strict-aliasing -g jl.c -o unshared/jl.o > In file included from > /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > | ^~~~~~~ > jl.c: In function ‘jl_ren_conv_with_hinsi_name’: > jl.c:1038:17: warning: implicit declaration of function ‘abs’ > [-Wimplicit-function-declaration] > 1038 | hsize = abs(nhinsi); > | ^~~ > jl.c:167:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘abs’ > 166 | #include "wnn_string.h" > +++ |+#include <stdlib.h> > 167 | extern struct msg_cat *wnn_msg_cat; > jl.c: In function ‘jl_update_hindo’: > jl.c:2836:38: warning: unsigned conversion from ‘int’ to ‘unsigned char:1’ > changes value from ‘2’ to ‘0’ [-Woverflow] > 2836 | buf->bun[k]->hindo_updated = 2; > | ^ > jl.c: In function ‘optimize_in_server’: > jl.c:3252:33: warning: unsigned conversion from ‘int’ to ‘unsigned char:1’ > changes value from ‘2’ to ‘0’ [-Woverflow] > 3252 | wb->hindo_updated = 2; > | ^ > jl.c: In function ‘jl_dic_add_e_body’: > jl.c:3471:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3471 | if((int)error_handler == WNN_NO_CREATE || > | ^ > jl.c:3497:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3497 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3525:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3525 | if((int)error_handler == WNN_NO_CREATE || > | ^ > jl.c:3550:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3550 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3584:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3584 | if((int)error_handler == WNN_NO_CREATE){ > | ^ > jl.c:3595:18: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3595 | if(!((int)error_handler == WNN_CREATE || > | ^ > jl.c: In function ‘jl_fi_dic_add_e_body’: > jl.c:3722:12: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3722 | if((int)error_handler == WNN_NO_CREATE) { > | ^ > jl.c:3746:12: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3746 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3776:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3776 | if((int)error_handler == WNN_NO_CREATE || > | ^ > jl.c:3801:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3801 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3836:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3836 | if((int)error_handler == WNN_NO_CREATE){ > | ^ > jl.c:3847:18: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3847 | if(!((int)error_handler == WNN_CREATE || > | ^ > jl.c: In function ‘create_pwd_file’: > jl.c:4091:8: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 4091 | if((int)error_handler != WNN_CREATE && > call_error_handler(error_handler,gomi, env) == 0){ > | ^ > jl.c:4101:5: warning: implicit declaration of function ‘srand’ > [-Wimplicit-function-declaration] > 4101 | srand(time(0)+getuid()); > | ^~~~~ > jl.c:4101:11: warning: implicit declaration of function ‘time’ > [-Wimplicit-function-declaration] > 4101 | srand(time(0)+getuid()); > | ^~~~ > jl.c:4102:23: warning: implicit declaration of function ‘rand’ > [-Wimplicit-function-declaration] > 4102 | fprintf(fp,"%d\n",rand()); > | ^~~~ > jl.c:4109:5: warning: implicit declaration of function ‘chmod’ > [-Wimplicit-function-declaration] > 4109 | chmod(pwd_file,MODE_PWD); > | ^~~~~ > jl.c: In function ‘jl_word_search_e_body’: > jl.c:5454:5: warning: implicit declaration of function ‘qsort’ > [-Wimplicit-function-declaration] > 5454 | qsort((char *)jd,cnt,sizeof(struct wnn_jdata),sort_func_ws); > | ^~~~~ > jl.c: In function ‘jl_set_env_wnnrc’: > jl.c:5583:8: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 5583 | if((int)error_handler == WNN_CREATE){ > | ^ > jl.c:5585:14: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 5585 | }else if((int)error_handler == WNN_NO_CREATE){ > | ^ > jl.c: In function ‘jl_set_env_wnnrc1_body’: > jl.c:5698:65: warning: implicit declaration of function ‘atoi’ > [-Wimplicit-function-declaration] > 5698 | if (!strcmp(code, "autosave")) env->orig.autosave = > atoi(s[0]); > | ^~~~ > jl.c: In function ‘change_ascii_to_int’: > jl.c:6442:15: warning: comparison between pointer and integer > 6442 | while(*st != NULL){ > | ^~ > jl.c: In function ‘make_dir1’: > jl.c:6665:8: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 6665 | if((int)error_handler != WNN_CREATE){ > | ^ > jl.c:6688:15: warning: implicit declaration of function ‘mkdir’ > [-Wimplicit-function-declaration] > 6688 | ret = mkdir(dirname + 1 , MODE ); > | ^~~~~ > jl.c: In function ‘get_pwd’: > jl.c:4061:9: warning: ignoring return value of ‘fgets’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 4061 | fgets(pwd, WNN_PASSWD_LEN, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c: In function ‘create_file’: > jl.c:6523:17: warning: ignoring return value of ‘chown’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6523 | chown(n + 1, getuid(), -1); /* H.T. */ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c:6602:17: warning: ignoring return value of ‘chown’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6602 | chown(n + 1, getuid(), -1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c: In function ‘make_dir1’: > jl.c:6687:9: warning: ignoring return value of ‘seteuid’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6687 | seteuid(getuid()); > | ^~~~~~~~~~~~~~~~~ > jl.c:6689:9: warning: ignoring return value of ‘seteuid’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6689 | seteuid(euid); > | ^~~~~~~~~~~~~ > jl.c: In function ‘create_file’: > jl.c:6667:29: warning: ‘%s’ directive writing up to 127 bytes into a region > of size 126 [-Wformat-overflow=] > 6639 | if(make_dir1(env, gomi, error_handler, message_handler) > == -1){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ...... > 6667 | sprintf(gomi, "%s \"%s\" %s%s", > | ^~ > In file included from /usr/include/stdio.h:866, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: > ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 132) into a > destination of size 128 > 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 39 | __bos (__s), __fmt, __va_arg_pack > ()); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c: In function ‘jl_set_env_wnnrc1_body’: > jl.c:5736:61: warning: ‘ :’ directive writing 2 bytes into a region of size > between 1 and 256 [-Wformat-overflow=] > 5736 | message_out(message_handler, "%s :%s\n", > s[0], > | ^~ > In file included from /usr/include/stdio.h:866, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: > ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 259) into a > destination of size 256 > 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 39 | __bos (__s), __fmt, __va_arg_pack > ()); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c:5787:65: warning: ‘ :’ directive writing 2 bytes into a region of size > between 1 and 256 [-Wformat-overflow=] > 5787 | message_out(message_handler, "%s > :%s\n", s[0], > | ^~ > In file included from /usr/include/stdio.h:866, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: > ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 259) into a > destination of size 256 > 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 39 | __bos (__s), __fmt, __va_arg_pack > ()); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > rm -f jl.o > gcc -c -g -O2 -fno-strict-aliasing -g -g -O2 > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include > -I/<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib -Dlinux -D__amd64__ > -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE > -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > -Wdate-time > -D_FORTIFY_SOURCE=2 -DFUNCPROTO=15 -DNARROWPROTO > -DLIBDIR=\"/usr/local/lib/wnn6\" -DJAPANESE -DCHINESE -DKOREAN -DLATIN > -DWRITE_CHECK -fPIC jl.c > In file included from > /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, > from /usr/include/stdio.h:27, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] > 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > | ^~~~~~~ > jl.c: In function ‘jl_ren_conv_with_hinsi_name’: > jl.c:1038:17: warning: implicit declaration of function ‘abs’ > [-Wimplicit-function-declaration] > 1038 | hsize = abs(nhinsi); > | ^~~ > jl.c:167:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘abs’ > 166 | #include "wnn_string.h" > +++ |+#include <stdlib.h> > 167 | extern struct msg_cat *wnn_msg_cat; > jl.c: In function ‘jl_update_hindo’: > jl.c:2836:38: warning: unsigned conversion from ‘int’ to ‘unsigned char:1’ > changes value from ‘2’ to ‘0’ [-Woverflow] > 2836 | buf->bun[k]->hindo_updated = 2; > | ^ > jl.c: In function ‘optimize_in_server’: > jl.c:3252:33: warning: unsigned conversion from ‘int’ to ‘unsigned char:1’ > changes value from ‘2’ to ‘0’ [-Woverflow] > 3252 | wb->hindo_updated = 2; > | ^ > jl.c: In function ‘jl_dic_add_e_body’: > jl.c:3471:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3471 | if((int)error_handler == WNN_NO_CREATE || > | ^ > jl.c:3497:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3497 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3525:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3525 | if((int)error_handler == WNN_NO_CREATE || > | ^ > jl.c:3550:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3550 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3584:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3584 | if((int)error_handler == WNN_NO_CREATE){ > | ^ > jl.c:3595:18: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3595 | if(!((int)error_handler == WNN_CREATE || > | ^ > jl.c: In function ‘jl_fi_dic_add_e_body’: > jl.c:3722:12: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3722 | if((int)error_handler == WNN_NO_CREATE) { > | ^ > jl.c:3746:12: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3746 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3776:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3776 | if((int)error_handler == WNN_NO_CREATE || > | ^ > jl.c:3801:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3801 | if((int)error_handler == WNN_CREATE || > | ^ > jl.c:3836:16: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3836 | if((int)error_handler == WNN_NO_CREATE){ > | ^ > jl.c:3847:18: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 3847 | if(!((int)error_handler == WNN_CREATE || > | ^ > jl.c: In function ‘create_pwd_file’: > jl.c:4091:8: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 4091 | if((int)error_handler != WNN_CREATE && > call_error_handler(error_handler,gomi, env) == 0){ > | ^ > jl.c:4101:5: warning: implicit declaration of function ‘srand’ > [-Wimplicit-function-declaration] > 4101 | srand(time(0)+getuid()); > | ^~~~~ > jl.c:4101:11: warning: implicit declaration of function ‘time’ > [-Wimplicit-function-declaration] > 4101 | srand(time(0)+getuid()); > | ^~~~ > jl.c:4102:23: warning: implicit declaration of function ‘rand’ > [-Wimplicit-function-declaration] > 4102 | fprintf(fp,"%d\n",rand()); > | ^~~~ > jl.c:4109:5: warning: implicit declaration of function ‘chmod’ > [-Wimplicit-function-declaration] > 4109 | chmod(pwd_file,MODE_PWD); > | ^~~~~ > jl.c: In function ‘jl_word_search_e_body’: > jl.c:5454:5: warning: implicit declaration of function ‘qsort’ > [-Wimplicit-function-declaration] > 5454 | qsort((char *)jd,cnt,sizeof(struct wnn_jdata),sort_func_ws); > | ^~~~~ > jl.c: In function ‘jl_set_env_wnnrc’: > jl.c:5583:8: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 5583 | if((int)error_handler == WNN_CREATE){ > | ^ > jl.c:5585:14: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 5585 | }else if((int)error_handler == WNN_NO_CREATE){ > | ^ > jl.c: In function ‘jl_set_env_wnnrc1_body’: > jl.c:5698:65: warning: implicit declaration of function ‘atoi’ > [-Wimplicit-function-declaration] > 5698 | if (!strcmp(code, "autosave")) env->orig.autosave = > atoi(s[0]); > | ^~~~ > jl.c: In function ‘change_ascii_to_int’: > jl.c:6442:15: warning: comparison between pointer and integer > 6442 | while(*st != NULL){ > | ^~ > jl.c: In function ‘make_dir1’: > jl.c:6665:8: warning: cast from pointer to integer of different size > [-Wpointer-to-int-cast] > 6665 | if((int)error_handler != WNN_CREATE){ > | ^ > jl.c:6688:15: warning: implicit declaration of function ‘mkdir’ > [-Wimplicit-function-declaration] > 6688 | ret = mkdir(dirname + 1 , MODE ); > | ^~~~~ > jl.c: In function ‘get_pwd’: > jl.c:4061:9: warning: ignoring return value of ‘fgets’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 4061 | fgets(pwd, WNN_PASSWD_LEN, fp); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c: In function ‘create_file’: > jl.c:6523:17: warning: ignoring return value of ‘chown’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6523 | chown(n + 1, getuid(), -1); /* H.T. */ > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c:6602:17: warning: ignoring return value of ‘chown’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6602 | chown(n + 1, getuid(), -1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c: In function ‘make_dir1’: > jl.c:6687:9: warning: ignoring return value of ‘seteuid’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6687 | seteuid(getuid()); > | ^~~~~~~~~~~~~~~~~ > jl.c:6689:9: warning: ignoring return value of ‘seteuid’ declared with > attribute ‘warn_unused_result’ [-Wunused-result] > 6689 | seteuid(euid); > | ^~~~~~~~~~~~~ > jl.c: In function ‘create_file’: > jl.c:6667:29: warning: ‘%s’ directive writing up to 127 bytes into a region > of size 126 [-Wformat-overflow=] > 6639 | if(make_dir1(env, gomi, error_handler, message_handler) > == -1){ > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ...... > 6667 | sprintf(gomi, "%s \"%s\" %s%s", > | ^~ > In file included from /usr/include/stdio.h:866, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: > ‘__builtin___sprintf_chk’ output 5 or more bytes (assuming 132) into a > destination of size 128 > 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 39 | __bos (__s), __fmt, __va_arg_pack > ()); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c: In function ‘jl_set_env_wnnrc1_body’: > jl.c:5736:61: warning: ‘ :’ directive writing 2 bytes into a region of size > between 1 and 256 [-Wformat-overflow=] > 5736 | message_out(message_handler, "%s :%s\n", > s[0], > | ^~ > In file included from /usr/include/stdio.h:866, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: > ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 259) into a > destination of size 256 > 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 39 | __bos (__s), __fmt, __va_arg_pack > ()); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > jl.c:5787:65: warning: ‘ :’ directive writing 2 bytes into a region of size > between 1 and 256 [-Wformat-overflow=] > 5787 | message_out(message_handler, "%s > :%s\n", s[0], > | ^~ > In file included from /usr/include/stdio.h:866, > from > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/include/commonhd.h:145, > from jl.c:144: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:38:10: note: > ‘__builtin___sprintf_chk’ output 4 or more bytes (assuming 259) into a > destination of size 256 > 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 39 | __bos (__s), __fmt, __va_arg_pack > ()); > | > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > rm -f libwnn.a > ar clq libwnn.a js.o wnnerrmsg.o jl.o > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/msg.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/yincoding.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/py_table.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/zy_table.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/strings.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/etc/serverdefs.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/romkan/rk_bltinfn.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/romkan/rk_main.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/romkan/rk_modread.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/romkan/rk_read.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/romkan/rk_vars.o > > /<<PKGBUILDDIR>>/contrib/im/Xsi/../../../contrib/../contrib/im/Xsi/Wnn/romkan/rk_multi.o > ar: libdeps specified more than once > make[5]: *** [Makefile:1366: libwnn.a] Error 1 The full build log is available from: http://qa-logs.debian.net/2021/10/23/wnn6-sdk_1.0.0-18_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.