Diff of the two buildlogs: -- --- b1/build.log 2025-10-13 17:11:27.442627261 +0000 +++ b2/build.log 2025-10-13 17:12:32.338690749 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Nov 15 11:33:24 -12 2026 -I: pbuilder-time-stamp: 1794785604 +I: Current time: Tue Oct 14 07:11:29 +14 2025 +I: pbuilder-time-stamp: 1760375489 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -37,53 +37,85 @@ dpkg-source: info: applying 014-gcc14.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3150674/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Oct 13 17:11 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='1a08950ec5f24a958f060ed5898a5951' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3150674' - PS1='# ' - PS2='> ' + INVOCATION_ID=1e7e2355e57842da9f4a824f1c752b16 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2553942 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.yBCmlHzF/pbuilderrc_2L8n --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yBCmlHzF/b1 --logfile b1/build.log unicon_3.0.4+dfsg1-7.1.dsc' - SUDO_GID='109' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.yBCmlHzF/pbuilderrc_O9B4 --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.yBCmlHzF/b2 --logfile b2/build.log unicon_3.0.4+dfsg1-7.1.dsc' + SUDO_GID=109 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.12.48+deb13-cloud-arm64 #1 SMP Debian 6.12.48-1 (2025-09-20) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3150674/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -186,7 +218,7 @@ Get: 59 http://deb.debian.org/debian unstable/main arm64 python3-yaml arm64 6.0.2-2 [122 kB] Get: 60 http://deb.debian.org/debian unstable/main arm64 pkg-kde-tools all 0.19.0 [86.4 kB] Get: 61 http://deb.debian.org/debian unstable/main arm64 x11proto-core-dev all 2024.1-1 [3312 B] -Fetched 21.0 MB in 0s (104 MB/s) +Fetched 21.0 MB in 0s (126 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19958 files and directories currently installed.) @@ -401,8 +433,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Nov 15 23:33:46 UTC 2026. -Universal Time is now: Sun Nov 15 23:33:46 UTC 2026. +Local time is now: Mon Oct 13 17:11:50 UTC 2025. +Universal Time is now: Mon Oct 13 17:11:50 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.6.0-1) ... @@ -462,7 +494,11 @@ fakeroot is already the newest version (1.37.1.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/unicon-3.0.4+dfsg1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../unicon_3.0.4+dfsg1-7.1_source.changes +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/unicon-3.0.4+dfsg1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../unicon_3.0.4+dfsg1-7.1_source.changes dpkg-buildpackage: info: source package unicon dpkg-buildpackage: info: source version 3.0.4+dfsg1-7.1 dpkg-buildpackage: info: source distribution unstable @@ -560,14 +596,14 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ TLS_AsciiConvertor.cpp: In function 'int IsSymbol(u_char)': TLS_AsciiConvertor.cpp:205:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -14560,14 +14596,6 @@ ./TLS_HzConvertTable.h:6765:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ./TLS_HzConvertTable.h:6765:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] ./TLS_HzConvertTable.h:6765:1: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] -TLS_DoubleByteConvertor.cpp: In member function 'void TLS_CDoubleByteConvertor::GbStringToBig5String(char*, char*, int)': -TLS_DoubleByteConvertor.cpp:151:16: warning: 'char* __builtin_strncat(char*, const char*, long unsigned int)' output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation] - 151 | strncat(big5str, b5, 2); - | ^ -TLS_DoubleByteConvertor.cpp: In member function 'void TLS_CDoubleByteConvertor::Big5StringToGbString(char*, char*, int)': -TLS_DoubleByteConvertor.cpp:176:16: warning: 'char* __builtin_strncat(char*, const char*, long unsigned int)' output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation] - 176 | strncat(gbstr, gb, 2); - | ^ : warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] TLS_LibMain.cpp:193:6: note: in expansion of macro 'UNICON_LIB' 193 | {UNICON_LIB"/sys-gb.tab"}, @@ -14576,6 +14604,14 @@ TLS_LibMain.cpp:194:6: note: in expansion of macro 'UNICON_LIB' 194 | {UNICON_LIB"/sys-big5.tab"} | ^~~~~~~~~~ +TLS_DoubleByteConvertor.cpp: In member function 'void TLS_CDoubleByteConvertor::GbStringToBig5String(char*, char*, int)': +TLS_DoubleByteConvertor.cpp:151:16: warning: 'char* __builtin_strncat(char*, const char*, long unsigned int)' output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation] + 151 | strncat(big5str, b5, 2); + | ^ +TLS_DoubleByteConvertor.cpp: In member function 'void TLS_CDoubleByteConvertor::Big5StringToGbString(char*, char*, int)': +TLS_DoubleByteConvertor.cpp:176:16: warning: 'char* __builtin_strncat(char*, const char*, long unsigned int)' output may be truncated copying 2 bytes from a string of length 2 [-Wstringop-truncation] + 176 | strncat(gbstr, gb, 2); + | ^ g++ TLS_HzInput.o TLS_ImmOp.o TLS_MemFile.o TLS_Debug.o TLS_LibMain.o TLS_DoubleByteConvertor.o TLS_AsciiConvertor.o -fPIC -Wl,-soname,libimm_server.so.0 -shared -o libimm_server.so.0.0 -ldl -Wl,-z,relro -Wl,-z,now /usr/lib/gcc/aarch64-linux-gnu/15/libstdc++.so: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /lib/aarch64-linux-gnu/libm.so.6: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. @@ -14588,9 +14624,9 @@ gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unicon-3.0.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu17 -I. -g -Wall -I. -I../include -I../server -I../client -Wdate-time -D_FORTIFY_SOURCE=2 -c TLC_LibImmClient.cpp -o TLC_LibImmClient.o gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unicon-3.0.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu17 -I. -g -Wall -I. -I../include -I../server -I../client -Wdate-time -D_FORTIFY_SOURCE=2 -c TLC_Utils.cpp -o TLC_Utils.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ +cc1plus: warning: command-line option '-std=gnu17' is valid for C/ObjC but not for C++ ar rc libimmclient.a TLC_LibImmClient.o TLC_Utils.o make[3]: Leaving directory '/build/reproducible-path/unicon-3.0.4+dfsg1/unicon/client' cd ImmModules/cce && make @@ -14604,10 +14640,14 @@ CCE_hzinput.c:44:49: warning: unused parameter 'buflen' [-Wunused-parameter] 44 | SetPhraseBuffer (PhraseItem * p, char *buf, int buflen) | ~~~~^~~~~~ +CCE_pinyin.c: In function 'SetPhraseBuffer': CCE_hzinput.c: In function 'IMM_open': CCE_hzinput.c:61:34: warning: unused parameter 'type' [-Wunused-parameter] 61 | IMM_open (char *szFileName, long type) | ~~~~~^~~~ +CCE_pinyin.c:51:49: warning: unused parameter 'buflen' [-Wunused-parameter] + 51 | SetPhraseBuffer (PhraseItem * p, char *buf, int buflen) + | ~~~~^~~~~~ CCE_hzinput.c: In function 'IMM_save': CCE_hzinput.c:90:24: warning: unused parameter 'p' [-Wunused-parameter] 90 | IMM_save (IMM_CLIENT * p, char *szFileName) @@ -14615,19 +14655,37 @@ CCE_hzinput.c:90:33: warning: unused parameter 'szFileName' [-Wunused-parameter] 90 | IMM_save (IMM_CLIENT * p, char *szFileName) | ~~~~~~^~~~~~~~~~ +CCE_pinyin.c: In function 'IMM_open': +CCE_pinyin.c:68:34: warning: unused parameter 'type' [-Wunused-parameter] + 68 | IMM_open (char *szFileName, long type) + | ~~~~~^~~~ CCE_hzinput.c: In function 'IMM_GetInputDisplay': +CCE_pinyin.c: In function 'IMM_save': +CCE_pinyin.c:86:24: warning: unused parameter 'p' [-Wunused-parameter] + 86 | IMM_save (IMM_CLIENT * p, char *szFileName) + | ~~~~~~~~~~~~~^ CCE_hzinput.c:121:54: warning: unused parameter 'buflen' [-Wunused-parameter] 121 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) | ~~~~~^~~~~~ +CCE_pinyin.c:86:33: warning: unused parameter 'szFileName' [-Wunused-parameter] + 86 | IMM_save (IMM_CLIENT * p, char *szFileName) + | ~~~~~~^~~~~~~~~~ CCE_hzinput.c: In function 'IMM_GetSelectDisplay': CCE_hzinput.c:127:55: warning: unused parameter 'buflen' [-Wunused-parameter] 127 | IMM_GetSelectDisplay (IMM_CLIENT * p, char *buf, long buflen) | ~~~~~^~~~~~ +CCE_pinyin.c: In function 'IMM_GetInputDisplay': +CCE_pinyin.c:117:54: warning: unused parameter 'buflen' [-Wunused-parameter] + 117 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) + | ~~~~~^~~~~~ CCE_hzinput.c: In function 'IMM_AddPhrase': +CCE_pinyin.c: In function 'IMM_GetSelectDisplay': CCE_hzinput.c:155:29: warning: unused parameter 'pClient' [-Wunused-parameter] 155 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) | ~~~~~~~~~~~~~^~~~~~~ -CCE_pinyin.c: In function 'SetPhraseBuffer': +CCE_pinyin.c:123:55: warning: unused parameter 'buflen' [-Wunused-parameter] + 123 | IMM_GetSelectDisplay (IMM_CLIENT * p, char *buf, long buflen) + | ~~~~~^~~~~~ CCE_hzinput.c:155:51: warning: unused parameter 'p' [-Wunused-parameter] 155 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) | ~~~~~~~~~~~~~^ @@ -14635,34 +14693,12 @@ CCE_hzinput.c:161:36: warning: unused parameter 'p' [-Wunused-parameter] 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) | ~~~~~~~~~~~~~^ -CCE_pinyin.c:51:49: warning: unused parameter 'buflen' [-Wunused-parameter] - 51 | SetPhraseBuffer (PhraseItem * p, char *buf, int buflen) - | ~~~~^~~~~~ CCE_hzinput.c:161:44: warning: unused parameter 'n' [-Wunused-parameter] 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) | ~~~~~^ CCE_hzinput.c:161:60: warning: unused parameter 'pItem' [-Wunused-parameter] 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) | ~~~~~~~~~~~~~^~~~~ -CCE_pinyin.c: In function 'IMM_open': -CCE_pinyin.c:68:34: warning: unused parameter 'type' [-Wunused-parameter] - 68 | IMM_open (char *szFileName, long type) - | ~~~~~^~~~ -CCE_pinyin.c: In function 'IMM_save': -CCE_pinyin.c:86:24: warning: unused parameter 'p' [-Wunused-parameter] - 86 | IMM_save (IMM_CLIENT * p, char *szFileName) - | ~~~~~~~~~~~~~^ -CCE_pinyin.c:86:33: warning: unused parameter 'szFileName' [-Wunused-parameter] - 86 | IMM_save (IMM_CLIENT * p, char *szFileName) - | ~~~~~~^~~~~~~~~~ -CCE_pinyin.c: In function 'IMM_GetInputDisplay': -CCE_pinyin.c:117:54: warning: unused parameter 'buflen' [-Wunused-parameter] - 117 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) - | ~~~~~^~~~~~ -CCE_pinyin.c: In function 'IMM_GetSelectDisplay': -CCE_pinyin.c:123:55: warning: unused parameter 'buflen' [-Wunused-parameter] - 123 | IMM_GetSelectDisplay (IMM_CLIENT * p, char *buf, long buflen) - | ~~~~~^~~~~~ CCE_pinyin.c: In function 'IMM_AddPhrase': CCE_pinyin.c:147:29: warning: unused parameter 'pClient' [-Wunused-parameter] 147 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) @@ -14680,46 +14716,12 @@ CCE_pinyin.c:153:60: warning: unused parameter 'pItem' [-Wunused-parameter] 153 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) | ~~~~~~~~~~~~~^~~~~ -xl_intcode.c: In function 'IMM_open': -xl_intcode.c:552:17: warning: unused parameter 'szFileName' [-Wunused-parameter] - 552 | IMM_open (char *szFileName, long type) - | ~~~~~~^~~~~~~~~~ -xl_intcode.c:552:34: warning: unused parameter 'type' [-Wunused-parameter] - 552 | IMM_open (char *szFileName, long type) - | ~~~~~^~~~ -xl_pinyin.c: In function 'GetPhrase': -xl_intcode.c: In function 'IMM_save': -xl_intcode.c:591:24: warning: unused parameter 'p' [-Wunused-parameter] - 591 | IMM_save (IMM_CLIENT * p, char *szFileName) - | ~~~~~~~~~~~~~^ -xl_intcode.c:591:33: warning: unused parameter 'szFileName' [-Wunused-parameter] - 591 | IMM_save (IMM_CLIENT * p, char *szFileName) - | ~~~~~~^~~~~~~~~~ -xl_intcode.c: In function 'IMM_GetInputDisplay': -xl_intcode.c:625:54: warning: unused parameter 'buflen' [-Wunused-parameter] - 625 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) - | ~~~~~^~~~~~ -xl_pinyin.c:84:41: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] - 84 | strncpy (temp, p->head->key + len + 1 + p->index * (2 * len + 1), 2 * len); - | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_char * {aka unsigned char *} xl_hzinput.c: In function 'GetAssociatePhrases': -In file included from /usr/include/features.h:523, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from xl_pinyin.c:27: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), - | ^~~~~ xl_hzinput.c:128:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 128 | int index, len = strlen (p); | ^ | | | unsigned char * -xl_pinyin.c:86:10: warning: pointer targets in returning 'char *' from a function with return type 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 86 | return temp; - | ^~~~ In file included from xl_hzinput.c:30: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) @@ -14736,13 +14738,6 @@ xl_hzinput.c:210:56: note: expected 'char *' but argument is of type 'unsigned char *' 210 | LoadPhrase (HzInputTable_T * pClient, int phrno, char *tt) | ~~~~~~^~ -xl_pinyin.c: In function 'SaveUsrPhrase': -xl_pinyin.c:286:22: warning: variable 'p' set but not used [-Wunused-but-set-variable] - 286 | u_char len, *buf, *p; - | ^ -xl_pinyin.c:282:10: warning: variable 'tmpcount' set but not used [-Wunused-but-set-variable] - 282 | int i, tmpcount; - | ^~~~~~~~ xl_hzinput.c:301:56: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 301 | strcpy (pClient->seltab[pClient->CurSelNum], str + 2); | ~~~~^~~ @@ -14759,21 +14754,10 @@ xl_hzinput.c:422:53: warning: operation on 'pClient->InputCount' may be undefined [-Wsequence-point] 422 | pClient->save_InpKey[pClient->InputCount++]; | ~~~~~~~~~~~~~~~~~~~^~ -xl_pinyin.c: In function 'LoadUsrPhrase': -xl_pinyin.c:447:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 447 | fsize != (ftell (stream) - sizeof(int) )) // error!! - | ^~ -xl_pinyin.c:489:64: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 489 | if (fread (kph->key, sizeof (char), len + 1, stream) != len + 1) - | ^~ xl_hzinput.c: In function 'CCE_DoSelectItem': -xl_pinyin.c: In function 'LoadPhraseFrequency': xl_hzinput.c:731:10: warning: comparison of integer expressions of different signedness: 'u_long' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 731 | if (vv < p->CurSelNum && p->seltab[vv][0]) | ^ -xl_pinyin.c:585:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] - 585 | sys_num_tmp != ftell(stream)-sizeof(int)*2 || - | ^~ xl_hzinput.c:734:31: warning: pointer targets in passing argument 2 of 'GetAssociatePhrases' differ in signedness [-Wpointer-sign] 734 | GetAssociatePhrases (p, s); | ^ @@ -14782,8 +14766,60 @@ xl_hzinput.c:126:63: note: expected 'unsigned char *' but argument is of type 'char *' 126 | GetAssociatePhrases (HzInputTable_T * pClient, unsigned char *p) | ~~~~~~~~~~~~~~~^ -xl_pinyin.c: In function 'szGetSelectPhrase': xl_hzinput.c: In function 'FindAssociateKey': +xl_hzinput.c:203:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 203 | fread (ofs, sizeof (int), 2, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xl_hzinput.c: In function 'FillAssociateChars': +xl_hzinput.c:299:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 299 | fread (&PhraseNo, sizeof (int), 1, pClient->cur_table->AssocFile); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xl_hzinput.c: In function 'LoadPhrase': +xl_hzinput.c:216:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 216 | fread (ofs, 4, 2, fp); + | ^~~~~~~~~~~~~~~~~~~~~ +xl_hzinput.c:229:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 229 | fread (tt, 1, len, fp); + | ^~~~~~~~~~~~~~~~~~~~~~ +xl_pinyin.c: In function 'GetPhrase': +xl_pinyin.c:84:41: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] + 84 | strncpy (temp, p->head->key + len + 1 + p->index * (2 * len + 1), 2 * len); + | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_char * {aka unsigned char *} +In file included from /usr/include/features.h:523, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from xl_pinyin.c:27: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:96:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 96 | __NTH (strncpy (__fortify_clang_overload_arg (char *, __restrict, __dest), + | ^~~~~ +xl_pinyin.c:86:10: warning: pointer targets in returning 'char *' from a function with return type 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 86 | return temp; + | ^~~~ +xl_pinyin.c: In function 'SaveUsrPhrase': +xl_pinyin.c:286:22: warning: variable 'p' set but not used [-Wunused-but-set-variable] + 286 | u_char len, *buf, *p; + | ^ +xl_pinyin.c:282:10: warning: variable 'tmpcount' set but not used [-Wunused-but-set-variable] + 282 | int i, tmpcount; + | ^~~~~~~~ +xl_hzinput.c: In function 'LoadInputMethod': +xl_hzinput.c:97:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 97 | fread (table->item, sizeof (ITEM), table->TotalChar, fd); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xl_pinyin.c: In function 'LoadUsrPhrase': +xl_pinyin.c:447:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 447 | fsize != (ftell (stream) - sizeof(int) )) // error!! + | ^~ +xl_pinyin.c:489:64: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 489 | if (fread (kph->key, sizeof (char), len + 1, stream) != len + 1) + | ^~ +xl_pinyin.c: In function 'LoadPhraseFrequency': +xl_pinyin.c:585:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] + 585 | sys_num_tmp != ftell(stream)-sizeof(int)*2 || + | ^~ +xl_pinyin.c: In function 'szGetSelectPhrase': xl_pinyin.c:838:16: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 838 | strcpy (buf, GetPhrase (phr + idx, temp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -14792,9 +14828,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ -xl_hzinput.c:203:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 203 | fread (ofs, sizeof (int), 2, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xl_pinyin.c: In function 'SelectKeyPressed': xl_pinyin.c:882:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 882 | strcpy (strhz, GetPhrase (phr + idx, temp)); @@ -14804,25 +14837,14 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ -xl_hzinput.c: In function 'FillAssociateChars': xl_pinyin.c:903:31: warning: pointer targets in passing argument 1 of 'SaveUsrPhraseToMem' differ in signedness [-Wpointer-sign] 903 | SaveUsrPhraseToMem (pybuftmp, inmd->key, strlen (pybuftmp) / 2, 1); | ^~~~~~~~ | | | char * -xl_hzinput.c:299:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 299 | fread (&PhraseNo, sizeof (int), 1, pClient->cur_table->AssocFile); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xl_pinyin.c:630:30: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' 630 | SaveUsrPhraseToMem (u_char * str, u_char * key, int len, int freq) | ~~~~~~~~~^~~ -xl_hzinput.c: In function 'LoadPhrase': -xl_hzinput.c:216:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 216 | fread (ofs, 4, 2, fp); - | ^~~~~~~~~~~~~~~~~~~~~ -xl_hzinput.c:229:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 229 | fread (tt, 1, len, fp); - | ^~~~~~~~~~~~~~~~~~~~~~ xl_pinyin.c: In function 'ParsePy': xl_pinyin.c:1082:24: warning: unused parameter 'inmd' [-Wunused-parameter] 1082 | ParsePy (InputModule * inmd, char *pybuf, PYString pinyin[]) @@ -14861,10 +14883,6 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -xl_hzinput.c: In function 'LoadInputMethod': -xl_hzinput.c:97:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 97 | fread (table->item, sizeof (ITEM), table->TotalChar, fd); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xl_pinyin.c: In function 'FillBackwardSelection': xl_pinyin.c:1359:23: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1359 | strcpy (strbuf, GetPhrase (inmd->sel + inmd->startpos - 1, temp)); @@ -14874,6 +14892,24 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ +xl_intcode.c: In function 'IMM_open': +xl_intcode.c:552:17: warning: unused parameter 'szFileName' [-Wunused-parameter] + 552 | IMM_open (char *szFileName, long type) + | ~~~~~~^~~~~~~~~~ +xl_intcode.c:552:34: warning: unused parameter 'type' [-Wunused-parameter] + 552 | IMM_open (char *szFileName, long type) + | ~~~~~^~~~ +xl_intcode.c: In function 'IMM_save': +xl_intcode.c:591:24: warning: unused parameter 'p' [-Wunused-parameter] + 591 | IMM_save (IMM_CLIENT * p, char *szFileName) + | ~~~~~~~~~~~~~^ +xl_intcode.c:591:33: warning: unused parameter 'szFileName' [-Wunused-parameter] + 591 | IMM_save (IMM_CLIENT * p, char *szFileName) + | ~~~~~~^~~~~~~~~~ +xl_intcode.c: In function 'IMM_GetInputDisplay': +xl_intcode.c:625:54: warning: unused parameter 'buflen' [-Wunused-parameter] + 625 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) + | ~~~~~^~~~~~ xl_pinyin.c: At top level: xl_pinyin.c:403:1: warning: 'SaveSysPhrase' defined but not used [-Wunused-function] 403 | SaveSysPhrase (char *pathname, int remove) @@ -14892,7 +14928,6 @@ xl_pinyin.c:1152:7: note: 'pykey' declared here 1152 | int pykey[MAX_PHRASE_LEN][MAX_EACH_PY + 1]; | ^~~~~ -gcc intcode.o -shared -o gb18030_intcode.so -Wl,-z,relro -Wl,-z,now In function 'LoadInputMethod', inlined from 'CCE_LoadMethod' at xl_hzinput.c:716:7: xl_hzinput.c:75:7: warning: argument 1 null where non-null expected [-Wnonnull] @@ -14902,6 +14937,7 @@ /usr/include/stdio.h:184:12: note: in a call to function 'fclose' declared 'nonnull' 184 | extern int fclose (FILE *__stream) __nonnull ((1)); | ^~~~~~ +gcc intcode.o -shared -o gb18030_intcode.so -Wl,-z,relro -Wl,-z,now /lib/aarch64-linux-gnu/libc.so.6: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. /lib/ld-linux-aarch64.so.1: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. gcc CCE_hzinput.o xl_hzinput.o -fPIC -shared -o cce_hzinput.so -Wl,-z,relro -Wl,-z,now @@ -14918,6 +14954,91 @@ gcc -fPIC -g -Wall -I../../include -I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unicon-3.0.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c xl_phrase.c -o xl_phrase.o gcc -fPIC -g -Wall -I../../include -I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unicon-3.0.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c xl_sysphrase.c -o xl_sysphrase.o gcc -fPIC -g -Wall -I../../include -I. -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/unicon-3.0.4+dfsg1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -std=gnu17 -Wdate-time -D_FORTIFY_SOURCE=2 -c xl_mfile.c -o xl_mfile.o +xl_phrase.c: In function 'CaculatePhraseKeys': +xl_sysphrase.c: In function 'LoadSystemPhrase': +xl_sysphrase.c:140:15: warning: pointer targets in assignment from 'char *' to 'count_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 140 | count = p1; + | ^ +xl_phrase.c:76:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 76 | len = strlen(szCode); + | ^~~~~~ + | | + | u_char * {aka unsigned char *} +In file included from xl_phrase.c:30: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +xl_sysphrase.c:146:44: warning: pointer targets in passing argument 1 of 'hash_val' differ in signedness [-Wpointer-sign] + 146 | hval = hash_val (pPhrase[i].szPhrase); + | ~~~~~~~~~~^~~~~~~~~ + | | + | char * +xl_sysphrase.c:42:45: note: expected 'const unsigned char *' but argument is of type 'char *' + 42 | unsigned int hash_val (const unsigned char *str) + | ~~~~~~~~~~~~~~~~~~~~~^~~ +xl_sysphrase.c: In function 'TL_MatchPhrase': +xl_sysphrase.c:191:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 191 | if (p->pPhrase == NULL) + | ^~ +xl_sysphrase.c:194:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' + 194 | hval = hash_val (szPhraseg); + | ^~~~ +xl_phrase.c: In function 'IsThisPhraseExist': +xl_sysphrase.c:194:26: warning: pointer targets in passing argument 1 of 'hash_val' differ in signedness [-Wpointer-sign] + 194 | hval = hash_val (szPhraseg); + | ^~~~~~~~~ + | | + | char * +xl_sysphrase.c:42:45: note: expected 'const unsigned char *' but argument is of type 'char *' + 42 | unsigned int hash_val (const unsigned char *str) + | ~~~~~~~~~~~~~~~~~~~~~^~~ +xl_phrase.c:135:28: warning: pointer targets in passing argument 2 of 'CaculatePhraseKeys' differ in signedness [-Wpointer-sign] + 135 | CaculatePhraseKeys (p, szCode, &key1, &key2); + | ^~~~~~ + | | + | char * +xl_phrase.c:69:66: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 69 | static void CaculatePhraseKeys (HzInputTable_T *pClient, u_char *szCode, + | ~~~~~~~~^~~~~~ +xl_phrase.c:131:19: warning: variable 'end' set but not used [-Wunused-but-set-variable] + 131 | u_long start, end; + | ^~~ +xl_phrase.c:131:12: warning: variable 'start' set but not used [-Wunused-but-set-variable] + 131 | u_long start, end; + | ^~~~~ +xl_phrase.c: In function 'AppendPhrase': +xl_phrase.c:160:71: warning: pointer targets in passing argument 4 of 'InitPhrase' differ in signedness [-Wpointer-sign] + 160 | InitPhrase (p, &p->cur_table->item[p->cur_table->TotalChar-1], n, szCode); + | ^~~~~~ + | | + | char * +xl_phrase.c:99:56: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 99 | ITEM *p, long nPhrase, u_char *szCode) + | ~~~~~~~~^~~~~~ +xl_phrase.c:162:17: warning: pointer targets in passing argument 2 of 'AddToAssociatePhrase' differ in signedness [-Wpointer-sign] + 162 | (p, szPhrase, &p->cur_table->item[p->cur_table->TotalChar-1]); + | ^~~~~~~~ + | | + | char * +xl_phrase.c:109:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' + 109 | u_char *szPhrase, ITEM *pItem) + | ~~~~~~~~^~~~~~~~ +xl_sysphrase.c: In function 'TL_AppendPhrase': +xl_sysphrase.c:264:26: warning: pointer targets in passing argument 1 of 'hash_val' differ in signedness [-Wpointer-sign] + 264 | hval = hash_val (buf); + | ^~~ + | | + | char * +xl_sysphrase.c:42:45: note: expected 'const unsigned char *' but argument is of type 'char *' + 42 | unsigned int hash_val (const unsigned char *str) + | ~~~~~~~~~~~~~~~~~~~~~^~~ +xl_sysphrase.c: In function 'LoadSystemPhrase': +xl_sysphrase.c:92:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 92 | fread (buf, 1, sizeof (PureSystemPhraseMark), fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xl_sysphrase.c:98:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 98 | fread (&TotalPhrase, sizeof (long), 1, fp); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xl_hzinput.c: In function 'GetAssociatePhrases': xl_hzinput.c:71:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 71 | int len = strlen(p); @@ -15032,91 +15153,6 @@ xl_hzinput.c:802:12: warning: variable 'len' set but not used [-Wunused-but-set-variable] 802 | int i, len; | ^~~ -xl_phrase.c: In function 'CaculatePhraseKeys': -xl_phrase.c:76:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 76 | len = strlen(szCode); - | ^~~~~~ - | | - | u_char * {aka unsigned char *} -In file included from xl_phrase.c:30: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -xl_phrase.c: In function 'IsThisPhraseExist': -xl_phrase.c:135:28: warning: pointer targets in passing argument 2 of 'CaculatePhraseKeys' differ in signedness [-Wpointer-sign] - 135 | CaculatePhraseKeys (p, szCode, &key1, &key2); - | ^~~~~~ - | | - | char * -xl_phrase.c:69:66: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 69 | static void CaculatePhraseKeys (HzInputTable_T *pClient, u_char *szCode, - | ~~~~~~~~^~~~~~ -xl_phrase.c:131:19: warning: variable 'end' set but not used [-Wunused-but-set-variable] - 131 | u_long start, end; - | ^~~ -xl_phrase.c:131:12: warning: variable 'start' set but not used [-Wunused-but-set-variable] - 131 | u_long start, end; - | ^~~~~ -xl_phrase.c: In function 'AppendPhrase': -xl_phrase.c:160:71: warning: pointer targets in passing argument 4 of 'InitPhrase' differ in signedness [-Wpointer-sign] - 160 | InitPhrase (p, &p->cur_table->item[p->cur_table->TotalChar-1], n, szCode); - | ^~~~~~ - | | - | char * -xl_phrase.c:99:56: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 99 | ITEM *p, long nPhrase, u_char *szCode) - | ~~~~~~~~^~~~~~ -xl_phrase.c:162:17: warning: pointer targets in passing argument 2 of 'AddToAssociatePhrase' differ in signedness [-Wpointer-sign] - 162 | (p, szPhrase, &p->cur_table->item[p->cur_table->TotalChar-1]); - | ^~~~~~~~ - | | - | char * -xl_phrase.c:109:42: note: expected 'u_char *' {aka 'unsigned char *'} but argument is of type 'char *' - 109 | u_char *szPhrase, ITEM *pItem) - | ~~~~~~~~^~~~~~~~ -xl_sysphrase.c: In function 'LoadSystemPhrase': -xl_sysphrase.c:140:15: warning: pointer targets in assignment from 'char *' to 'count_t *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 140 | count = p1; - | ^ -xl_sysphrase.c:146:44: warning: pointer targets in passing argument 1 of 'hash_val' differ in signedness [-Wpointer-sign] - 146 | hval = hash_val (pPhrase[i].szPhrase); - | ~~~~~~~~~~^~~~~~~~~ - | | - | char * -xl_sysphrase.c:42:45: note: expected 'const unsigned char *' but argument is of type 'char *' - 42 | unsigned int hash_val (const unsigned char *str) - | ~~~~~~~~~~~~~~~~~~~~~^~~ -xl_sysphrase.c: In function 'TL_MatchPhrase': -xl_sysphrase.c:191:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] - 191 | if (p->pPhrase == NULL) - | ^~ -xl_sysphrase.c:194:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' - 194 | hval = hash_val (szPhraseg); - | ^~~~ -xl_sysphrase.c:194:26: warning: pointer targets in passing argument 1 of 'hash_val' differ in signedness [-Wpointer-sign] - 194 | hval = hash_val (szPhraseg); - | ^~~~~~~~~ - | | - | char * -xl_sysphrase.c:42:45: note: expected 'const unsigned char *' but argument is of type 'char *' - 42 | unsigned int hash_val (const unsigned char *str) - | ~~~~~~~~~~~~~~~~~~~~~^~~ -xl_sysphrase.c: In function 'TL_AppendPhrase': -xl_sysphrase.c:264:26: warning: pointer targets in passing argument 1 of 'hash_val' differ in signedness [-Wpointer-sign] - 264 | hval = hash_val (buf); - | ^~~ - | | - | char * -xl_sysphrase.c:42:45: note: expected 'const unsigned char *' but argument is of type 'char *' - 42 | unsigned int hash_val (const unsigned char *str) - | ~~~~~~~~~~~~~~~~~~~~~^~~ -xl_sysphrase.c: In function 'LoadSystemPhrase': -xl_sysphrase.c:92:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 92 | fread (buf, 1, sizeof (PureSystemPhraseMark), fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xl_sysphrase.c:98:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 98 | fread (&TotalPhrase, sizeof (long), 1, fp); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xl_phrase.c: In function 'SaveLoadInputMethod': xl_phrase.c:355:9: warning: argument 1 null where non-null expected [-Wnonnull] 355 | fclose(fd); @@ -15763,7 +15799,7 @@ make[2]: Leaving directory '/build/reproducible-path/unicon-3.0.4+dfsg1' make[1]: Leaving directory '/build/reproducible-path/unicon-3.0.4+dfsg1' dh_auto_test - rm -fr -- /tmp/dh-xdg-rundir-IivojmkQ + rm -fr -- /tmp/dh-xdg-rundir-sXERnIWM create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary @@ -16044,12 +16080,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2553942/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3150674 and its subdirectories -I: Current time: Sun Nov 15 11:34:26 -12 2026 -I: pbuilder-time-stamp: 1794785666 +I: removing directory /srv/workspace/pbuilder/2553942 and its subdirectories +I: Current time: Tue Oct 14 07:12:31 +14 2025 +I: pbuilder-time-stamp: 1760375551