Diff of the two buildlogs: -- --- b1/build.log 2025-09-09 13:23:09.335511498 +0000 +++ b2/build.log 2025-09-09 13:24:27.799609093 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Sep 9 01:21:17 -12 2025 -I: pbuilder-time-stamp: 1757424077 +I: Current time: Tue Oct 13 09:46:11 +14 2026 +I: pbuilder-time-stamp: 1791834371 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -37,52 +37,84 @@ dpkg-source: info: applying 014-gcc14.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1296460/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2556981/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +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 12 19:46 /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/2556981/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2556981/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d8c493b3343d47278897bad96f94ddeb' - 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='1296460' - PS1='# ' - PS2='> ' + INVOCATION_ID=25a28d8ae2ce42bc91af0c292a2bde57 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=2556981 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.MpXB7tmS/pbuilderrc_G5iv --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MpXB7tmS/b1 --logfile b1/build.log unicon_3.0.4+dfsg1-7.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' + 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.MpXB7tmS/pbuilderrc_6OTe --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MpXB7tmS/b2 --logfile b2/build.log unicon_3.0.4+dfsg1-7.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' I: uname -a - Linux infom01-amd64 6.12.43+deb13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1296460/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2556981/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -185,7 +217,7 @@ Get: 59 http://deb.debian.org/debian forky/main amd64 python3-yaml amd64 6.0.2-2 [137 kB] Get: 60 http://deb.debian.org/debian forky/main amd64 pkg-kde-tools all 0.18.12 [89.1 kB] Get: 61 http://deb.debian.org/debian forky/main amd64 x11proto-core-dev all 2024.1-1 [3312 B] -Fetched 21.5 MB in 2s (11.2 MB/s) +Fetched 21.5 MB in 1s (17.2 MB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19898 files and directories currently installed.) @@ -400,8 +432,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Sep 9 13:22:28 UTC 2025. -Universal Time is now: Tue Sep 9 13:22:28 UTC 2025. +Local time is now: Mon Oct 12 19:46:52 UTC 2026. +Universal Time is now: Mon Oct 12 19:46:52 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -461,7 +493,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_source.changes +I: user script /srv/workspace/pbuilder/2556981/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/2556981/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_source.changes dpkg-buildpackage: info: source package unicon dpkg-buildpackage: info: source version 3.0.4+dfsg1-7 dpkg-buildpackage: info: source distribution unstable @@ -541,7 +577,7 @@ creating fonts/kscm/Makefile make[1]: Leaving directory '/build/reproducible-path/unicon-3.0.4+dfsg1' dh_auto_build - make -j12 + make -j16 make[1]: Entering directory '/build/reproducible-path/unicon-3.0.4+dfsg1' cd unicon; make make[2]: Entering directory '/build/reproducible-path/unicon-3.0.4+dfsg1/unicon' @@ -14585,6 +14621,86 @@ gcc -fPIC -g -O2 -fomit-frame-pointer -W -Wall -I. -I../../include -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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c xl_pinyin.c -o xl_pinyin.o gcc -fPIC -g -O2 -fomit-frame-pointer -W -Wall -I. -I../../include -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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c CCE_pinyin.c -o CCE_pinyin.o gcc -fPIC -g -O2 -fomit-frame-pointer -W -Wall -I. -I../../include -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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c xl_intcode.c -o intcode.o +CCE_hzinput.c: In function 'SetPhraseBuffer': +CCE_hzinput.c:44:49: warning: unused parameter 'buflen' [-Wunused-parameter] + 44 | SetPhraseBuffer (PhraseItem * p, char *buf, int buflen) + | ~~~~^~~~~~ +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_hzinput.c: In function 'IMM_save': +CCE_pinyin.c: In function 'SetPhraseBuffer': +CCE_hzinput.c:90:24: warning: unused parameter 'p' [-Wunused-parameter] + 90 | IMM_save (IMM_CLIENT * p, char *szFileName) + | ~~~~~~~~~~~~~^ +CCE_hzinput.c:90:33: warning: unused parameter 'szFileName' [-Wunused-parameter] + 90 | IMM_save (IMM_CLIENT * p, char *szFileName) + | ~~~~~~^~~~~~~~~~ +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_GetInputDisplay': +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:121:54: warning: unused parameter 'buflen' [-Wunused-parameter] + 121 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) + | ~~~~~^~~~~~ +CCE_pinyin.c: In function 'IMM_save': +CCE_hzinput.c: In function 'IMM_GetSelectDisplay': +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_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_hzinput.c: In function 'IMM_AddPhrase': +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_hzinput.c:155:29: warning: unused parameter 'pClient' [-Wunused-parameter] + 155 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) + | ~~~~~~~~~~~~~^~~~~~~ +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) + | ~~~~~~~~~~~~~^ +CCE_hzinput.c: In function 'IMM_ModifyPhraseItem': +CCE_hzinput.c:161:36: warning: unused parameter 'p' [-Wunused-parameter] + 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) + | ~~~~~~~~~~~~~^ +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) + | ~~~~~~~~~~~~~^~~~~~~ +CCE_hzinput.c:161:44: warning: unused parameter 'n' [-Wunused-parameter] + 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) + | ~~~~~^ +CCE_pinyin.c:147:51: warning: unused parameter 'p' [-Wunused-parameter] + 147 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) + | ~~~~~~~~~~~~~^ +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_ModifyPhraseItem': +CCE_pinyin.c:153:36: warning: unused parameter 'p' [-Wunused-parameter] + 153 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) + | ~~~~~~~~~~~~~^ +CCE_pinyin.c:153:44: warning: unused parameter 'n' [-Wunused-parameter] + 153 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) + | ~~~~~^ +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) @@ -14603,35 +14719,12 @@ xl_intcode.c:625:54: warning: unused parameter 'buflen' [-Wunused-parameter] 625 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) | ~~~~~^~~~~~ -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/x86_64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:28, - from xl_pinyin.c:27: -/usr/include/x86_64-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_hzinput.c: In function 'GetAssociatePhrases': 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: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; - | ^~~~~~~~ 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) @@ -14639,22 +14732,31 @@ xl_hzinput.c:161:53: warning: operation on 'pClient->InputCount' may be undefined [-Wsequence-point] 161 | 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_hzinput.c: In function 'FillAssociateChars': -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 '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 *} xl_hzinput.c:300:38: warning: pointer targets in passing argument 3 of 'LoadPhrase' differ in signedness [-Wpointer-sign] 300 | LoadPhrase (pClient, PhraseNo, str); | ^~~ | | | unsigned char * +In file included from /usr/include/features.h:523, + from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:28, + from xl_pinyin.c:27: +/usr/include/x86_64-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:210:56: note: expected 'char *' but argument is of type 'unsigned char *' 210 | LoadPhrase (HzInputTable_T * pClient, int phrno, char *tt) | ~~~~~~^~ +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_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); | ~~~~^~~ @@ -14667,36 +14769,28 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), | ^~~~~ -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_hzinput.c: In function 'Simulate_putstr': 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 '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)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_char * {aka unsigned char *} -/usr/include/x86_64-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_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_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_hzinput.c: In function 'CCE_DoSelectItem': -xl_pinyin.c: In function 'SelectKeyPressed': +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: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:882:18: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 882 | strcpy (strhz, GetPhrase (phr + idx, temp)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | - | u_char * {aka unsigned char *} -/usr/include/x86_64-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:734:31: warning: pointer targets in passing argument 2 of 'GetAssociatePhrases' differ in signedness [-Wpointer-sign] 734 | GetAssociatePhrases (p, s); | ^ @@ -14705,14 +14799,10 @@ 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: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_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_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_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); @@ -14721,7 +14811,6 @@ 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: In function 'ParsePy': 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); @@ -14729,6 +14818,37 @@ 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 '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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_char * {aka unsigned char *} +/usr/include/x86_64-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_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)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | + | u_char * {aka unsigned char *} +/usr/include/x86_64-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 '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: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_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_pinyin.c: In function 'ParsePy': xl_pinyin.c:1082:24: warning: unused parameter 'inmd' [-Wunused-parameter] 1082 | ParsePy (InputModule * inmd, char *pybuf, PYString pinyin[]) | ~~~~~~~~~~~~~~^~~~ @@ -14749,10 +14869,6 @@ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:16: note: expected '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 '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:1204:61: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1204 | if (!strncmp (py, pytab[ahead][j].py, strlen (py))) | ^~ @@ -14783,86 +14899,6 @@ xl_pinyin.c:403:1: warning: 'SaveSysPhrase' defined but not used [-Wunused-function] 403 | SaveSysPhrase (char *pathname, int remove) | ^~~~~~~~~~~~~ -CCE_pinyin.c: In function 'SetPhraseBuffer': -CCE_pinyin.c:51:49: warning: unused parameter 'buflen' [-Wunused-parameter] - 51 | SetPhraseBuffer (PhraseItem * p, char *buf, int buflen) - | ~~~~^~~~~~ -CCE_hzinput.c: In function 'SetPhraseBuffer': -CCE_hzinput.c:44:49: warning: unused parameter 'buflen' [-Wunused-parameter] - 44 | SetPhraseBuffer (PhraseItem * p, char *buf, int buflen) - | ~~~~^~~~~~ -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_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_hzinput.c: In function 'IMM_save': -CCE_pinyin.c: In function 'IMM_GetInputDisplay': -CCE_hzinput.c:90:24: warning: unused parameter 'p' [-Wunused-parameter] - 90 | IMM_save (IMM_CLIENT * p, char *szFileName) - | ~~~~~~~~~~~~~^ -CCE_pinyin.c:117:54: warning: unused parameter 'buflen' [-Wunused-parameter] - 117 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) - | ~~~~~^~~~~~ -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_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_hzinput.c: In function 'IMM_GetInputDisplay': -CCE_pinyin.c:147:29: warning: unused parameter 'pClient' [-Wunused-parameter] - 147 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) - | ~~~~~~~~~~~~~^~~~~~~ -CCE_hzinput.c:121:54: warning: unused parameter 'buflen' [-Wunused-parameter] - 121 | IMM_GetInputDisplay (IMM_CLIENT * p, char *buf, long buflen) - | ~~~~~^~~~~~ -CCE_hzinput.c: In function 'IMM_GetSelectDisplay': -CCE_pinyin.c:147:51: warning: unused parameter 'p' [-Wunused-parameter] - 147 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) - | ~~~~~~~~~~~~~^ -CCE_pinyin.c: In function 'IMM_ModifyPhraseItem': -CCE_pinyin.c:153:36: warning: unused parameter 'p' [-Wunused-parameter] - 153 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) - | ~~~~~~~~~~~~~^ -CCE_hzinput.c:127:55: warning: unused parameter 'buflen' [-Wunused-parameter] - 127 | IMM_GetSelectDisplay (IMM_CLIENT * p, char *buf, long buflen) - | ~~~~~^~~~~~ -CCE_pinyin.c:153:44: warning: unused parameter 'n' [-Wunused-parameter] - 153 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) - | ~~~~~^ -CCE_pinyin.c:153:60: warning: unused parameter 'pItem' [-Wunused-parameter] - 153 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) - | ~~~~~~~~~~~~~^~~~~ -CCE_hzinput.c: In function 'IMM_AddPhrase': -CCE_hzinput.c:155:29: warning: unused parameter 'pClient' [-Wunused-parameter] - 155 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) - | ~~~~~~~~~~~~~^~~~~~~ -CCE_hzinput.c:155:51: warning: unused parameter 'p' [-Wunused-parameter] - 155 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) - | ~~~~~~~~~~~~~^ -CCE_hzinput.c: In function 'IMM_ModifyPhraseItem': -CCE_hzinput.c:161:36: warning: unused parameter 'p' [-Wunused-parameter] - 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) - | ~~~~~~~~~~~~~^ -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) - | ~~~~~~~~~~~~~^~~~~ xl_intcode.c: In function 'IntCode_FillMatchChars': xl_intcode.c:214:13: warning: '__builtin_strncpy' output may be truncated copying 2 bytes from a string of length 255 [-Wstringop-truncation] 214 | strncpy (pHzInputTable->seltab[k], temptab[k], 2); @@ -14870,13 +14906,7 @@ xl_intcode.c:190:13: warning: '__builtin_strncpy' output may be truncated copying 4 bytes from a string of length 255 [-Wstringop-truncation] 190 | strncpy (pHzInputTable->seltab[k], temptab[k], 4); | ^ -xl_pinyin.c: In function 'FindMatchPhrase.part.0': -xl_pinyin.c:1218:23: warning: 'pykey' may be used uninitialized [-Wmaybe-uninitialized] - 1218 | for (k = 0; pykey[0][k]; k++) - | ~~~~~~~~^~~ -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] @@ -14886,7 +14916,13 @@ /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 +xl_pinyin.c: In function 'FindMatchPhrase.part.0': +xl_pinyin.c:1218:23: warning: 'pykey' may be used uninitialized [-Wmaybe-uninitialized] + 1218 | for (k = 0; pykey[0][k]; k++) + | ~~~~~~~~^~~ +xl_pinyin.c:1152:7: note: 'pykey' declared here + 1152 | int pykey[MAX_PHRASE_LEN][MAX_EACH_PY + 1]; + | ^~~~~ gcc CCE_hzinput.o xl_hzinput.o -fPIC -shared -o cce_hzinput.so -Wl,-z,relro -Wl,-z,now gcc CCE_pinyin.o xl_pinyin.o -fPIC -shared -o cce_pinyin.so -Wl,-z,relro -Wl,-z,now make[3]: Leaving directory '/build/reproducible-path/unicon-3.0.4+dfsg1/unicon/ImmModules/cce' @@ -14897,16 +14933,43 @@ 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 -fcf-protection -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 -fcf-protection -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 -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -c xl_mfile.c -o xl_mfile.o +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_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 *} +xl_sysphrase.c:191:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] + 191 | if (p->pPhrase == NULL) + | ^~ 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: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_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); @@ -14916,57 +14979,22 @@ 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_sysphrase.c: In function 'LoadSystemPhrase': 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_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: In function 'AppendPhrase': -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_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_sysphrase.c: In function 'TL_AppendPhrase': 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_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); | ^~~ @@ -14975,6 +15003,14 @@ 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: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:92:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | fread (buf, 1, sizeof (PureSystemPhraseMark), fp); @@ -15740,7 +15776,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-Kv86jX7b + rm -fr -- /tmp/dh-xdg-rundir-BmgTMUHX create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary @@ -15891,10 +15927,10 @@ install -p -m0644 debian/unicon-imc2.lintian-overrides debian/unicon-imc2/usr/share/lintian/overrides/unicon-imc2 dh_perl dh_link - rm -f debian/unicon-imc2/usr/lib/libimm_server.so.0 - ln -s libimm_server.so.0.0 debian/unicon-imc2/usr/lib/libimm_server.so.0 rm -f debian/unicon-imc2/usr/lib/libimm_server.so ln -s libimm_server.so.0 debian/unicon-imc2/usr/lib/libimm_server.so + rm -f debian/unicon-imc2/usr/lib/libimm_server.so.0 + ln -s libimm_server.so.0.0 debian/unicon-imc2/usr/lib/libimm_server.so.0 dh_strip_nondeterminism dh_compress cd debian/unicon-imc2 @@ -15932,38 +15968,38 @@ chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/1c/980591f1da9a91205f0654b4b3b7fe4e3ab366.debug strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/unicon-imc2/usr/lib/libimm_server.so.0.0 objcopy --add-gnu-debuglink debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/1c/980591f1da9a91205f0654b4b3b7fe4e3ab366.debug debian/unicon-imc2/usr/lib/libimm_server.so.0.0 - install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8 - objcopy --only-keep-debug --compress-debug-sections debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug - chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug - chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug - strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so - objcopy --add-gnu-debuglink debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so + install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21 + objcopy --only-keep-debug --compress-debug-sections debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug + chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug + chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug + strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so + objcopy --add-gnu-debuglink debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/8a objcopy --only-keep-debug --compress-debug-sections debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_hzinput.so debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/8a/c184bdaa581559fc5d32062f8b84a621fdcd3e.debug chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/8a/c184bdaa581559fc5d32062f8b84a621fdcd3e.debug chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/8a/c184bdaa581559fc5d32062f8b84a621fdcd3e.debug strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_hzinput.so objcopy --add-gnu-debuglink debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/8a/c184bdaa581559fc5d32062f8b84a621fdcd3e.debug debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_hzinput.so + install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8 + objcopy --only-keep-debug --compress-debug-sections debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug + chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug + chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug + strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so + objcopy --add-gnu-debuglink debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/c8/5a5444fb20655046dcf70d57f0eb0cce1dc801.debug debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/3f objcopy --only-keep-debug --compress-debug-sections debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_pinyin.so debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/3f/e57b8ecb1117a46d05f207bbb41d0036e724e3.debug chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/3f/e57b8ecb1117a46d05f207bbb41d0036e724e3.debug chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/3f/e57b8ecb1117a46d05f207bbb41d0036e724e3.debug strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_pinyin.so objcopy --add-gnu-debuglink debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/3f/e57b8ecb1117a46d05f207bbb41d0036e724e3.debug debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_pinyin.so - install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21 - objcopy --only-keep-debug --compress-debug-sections debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug - chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug - chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug - strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so - objcopy --add-gnu-debuglink debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/21/db195ebd69a51e04ba5489e53977c8e0c8bcbc.debug debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so - strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/tab2cin - strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/cin2tab - strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/cin2dat - strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/txt2tab - strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/tab2dat - strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/tab2txt strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/tab2txt1 + strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/tab2txt + strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/cin2tab strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/txt2tab1 + strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/tab2dat + strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/txt2tab + strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/tab2cin + strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/cin2dat strip --strip-debug --remove-section=.comment --remove-section=.note --enable-deterministic-archives -R .gnu.lto_\* -R .gnu.debuglto_\* -N __gnu_lto_slim -N __gnu_lto_v1 debian/unicon-imc2/usr/lib/libimmclient.a install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.dwz cp --reflink=auto -a debian/unicon-imc2/usr/lib/debug/.dwz/x86_64-linux-gnu debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.dwz @@ -15982,7 +16018,7 @@ mv debian/.debhelper/generated/unicon-imc2/triggers.new debian/.debhelper/generated/unicon-imc2/triggers dh_shlibdeps -a install -m0755 -d debian/unicon-imc2/DEBIAN - dpkg-shlibdeps -Tdebian/unicon-imc2.substvars debian/unicon-imc2/usr/lib/libimm_server.so.0.0 debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_hzinput.so debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_pinyin.so debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so debian/unicon-imc2/usr/lib/unicon/bin/tab2cin debian/unicon-imc2/usr/lib/unicon/bin/cin2tab debian/unicon-imc2/usr/lib/unicon/bin/cin2dat debian/unicon-imc2/usr/lib/unicon/bin/txt2tab debian/unicon-imc2/usr/lib/unicon/bin/tab2dat debian/unicon-imc2/usr/lib/unicon/bin/tab2txt debian/unicon-imc2/usr/lib/unicon/bin/tab2txt1 debian/unicon-imc2/usr/lib/unicon/bin/txt2tab1 + dpkg-shlibdeps -Tdebian/unicon-imc2.substvars debian/unicon-imc2/usr/lib/libimm_server.so.0.0 debian/unicon-imc2/usr/lib/unicon/modules/turbo/TL_hzinput.so debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_hzinput.so debian/unicon-imc2/usr/lib/unicon/modules/cce/gb18030_intcode.so debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_pinyin.so debian/unicon-imc2/usr/lib/unicon/bin/tab2txt1 debian/unicon-imc2/usr/lib/unicon/bin/tab2txt debian/unicon-imc2/usr/lib/unicon/bin/cin2tab debian/unicon-imc2/usr/lib/unicon/bin/txt2tab1 debian/unicon-imc2/usr/lib/unicon/bin/tab2dat debian/unicon-imc2/usr/lib/unicon/bin/txt2tab debian/unicon-imc2/usr/lib/unicon/bin/tab2cin debian/unicon-imc2/usr/lib/unicon/bin/cin2dat dh_installdeb install -m0755 -d debian/unicon-imc2/DEBIAN install -p -m0644 debian/.debhelper/generated/unicon-imc2/triggers debian/unicon-imc2/DEBIAN/triggers @@ -16009,8 +16045,8 @@ dh_builddeb dpkg-deb --build debian/unicon-imc2 .. dpkg-deb --root-owner-group --build debian/.debhelper/unicon-imc2/dbgsym-root .. -dpkg-deb: building package 'unicon-imc2-dbgsym' in '../unicon-imc2-dbgsym_3.0.4+dfsg1-7_amd64.deb'. dpkg-deb: building package 'unicon-imc2' in '../unicon-imc2_3.0.4+dfsg1-7_amd64.deb'. +dpkg-deb: building package 'unicon-imc2-dbgsym' in '../unicon-imc2-dbgsym_3.0.4+dfsg1-7_amd64.deb'. dpkg-genbuildinfo --build=binary -O../unicon_3.0.4+dfsg1-7_amd64.buildinfo dpkg-genchanges --build=binary -O../unicon_3.0.4+dfsg1-7_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -16018,12 +16054,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/2556981/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2556981/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/1296460 and its subdirectories -I: Current time: Tue Sep 9 01:23:08 -12 2025 -I: pbuilder-time-stamp: 1757424188 +I: removing directory /srv/workspace/pbuilder/2556981 and its subdirectories +I: Current time: Tue Oct 13 09:47:27 +14 2026 +I: pbuilder-time-stamp: 1791834447