Diff of the two buildlogs: -- --- b1/build.log 2025-03-17 13:30:09.550993500 +0000 +++ b2/build.log 2025-03-17 13:37:22.703483039 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun Apr 19 07:52:13 -12 2026 -I: pbuilder-time-stamp: 1776628333 +I: Current time: Tue Mar 18 03:30:12 +14 2025 +I: pbuilder-time-stamp: 1742218212 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/1596359/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4012036/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-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 Mar 17 13:30 /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/4012036/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4012036/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=42 ' - DISTRIBUTION='unstable' - 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]="2" [2]="37" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.37(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=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='2a893c3c7cdf430ca92032d653b55b82' - 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='1596359' - PS1='# ' - PS2='> ' + INVOCATION_ID=598bdd2a8872481f8e4428fa20a4a8c1 + 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=4012036 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.T3vv1A98/pbuilderrc_Hb8Q --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.T3vv1A98/b1 --logfile b1/build.log unicon_3.0.4+dfsg1-7.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.T3vv1A98/pbuilderrc_0vHS --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.T3vv1A98/b2 --logfile b2/build.log unicon_3.0.4+dfsg1-7.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.12.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.12-1~bpo12+1 (2025-02-23) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1596359/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4012036/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: 60 http://deb.debian.org/debian unstable/main amd64 python3-yaml amd64 6.0.2-1+b2 [136 kB] Get: 61 http://deb.debian.org/debian unstable/main amd64 pkg-kde-tools all 0.18.12 [89.1 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 x11proto-core-dev all 2024.1-1 [3312 B] -Fetched 31.1 MB in 3s (10.4 MB/s) +Fetched 31.1 MB in 1s (21.7 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.13-minimal: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 ... 19784 files and directories currently installed.) @@ -403,8 +435,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun Apr 19 19:52:38 UTC 2026. -Universal Time is now: Sun Apr 19 19:52:38 UTC 2026. +Local time is now: Mon Mar 17 13:32:23 UTC 2025. +Universal Time is now: Mon Mar 17 13:32:23 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -466,7 +498,11 @@ fakeroot is already the newest version (1.37.1-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/4012036/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/4012036/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 @@ -546,7 +582,7 @@ creating fonts/kscm/Makefile make[1]: Leaving directory '/build/reproducible-path/unicon-3.0.4+dfsg1' dh_auto_build - make -j42 + make -j20 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' @@ -554,15 +590,15 @@ make[3]: Entering directory '/build/reproducible-path/unicon-3.0.4+dfsg1/unicon/server' g++ -fPIC -g -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 TLS_HzInput.cpp -o TLS_HzInput.o g++ -fPIC -g -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 TLS_ImmOp.cpp -o TLS_ImmOp.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ -fPIC -g -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 TLS_MemFile.cpp -o TLS_MemFile.o g++ -fPIC -g -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 TLS_Debug.cpp -o TLS_Debug.o -g++ -fPIC -g -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 -DUNICON_LIB=\"/usr/lib/unicon\" -c TLS_LibMain.cpp -o TLS_LibMain.o -g++ -fPIC -g -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 TLS_DoubleByteConvertor.cpp -o TLS_DoubleByteConvertor.o -g++ -fPIC -g -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 TLS_AsciiConvertor.cpp -o TLS_AsciiConvertor.o -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++ +g++ -fPIC -g -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 -DUNICON_LIB=\"/usr/lib/unicon\" -c TLS_LibMain.cpp -o TLS_LibMain.o +g++ -fPIC -g -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 TLS_DoubleByteConvertor.cpp -o TLS_DoubleByteConvertor.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ -fPIC -g -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 TLS_AsciiConvertor.cpp -o TLS_AsciiConvertor.o 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++ @@ -14590,65 +14626,41 @@ 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_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_hzinput.c: In function 'IMM_GetInputDisplay': -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_hzinput.c:127:55: warning: unused parameter 'buflen' [-Wunused-parameter] - 127 | IMM_GetSelectDisplay (IMM_CLIENT * p, char *buf, long buflen) - | ~~~~~^~~~~~ -CCE_hzinput.c: In function 'IMM_AddPhrase': +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; + | ^~~~ CCE_pinyin.c: In function 'SetPhraseBuffer': -CCE_hzinput.c:155:29: warning: unused parameter 'pClient' [-Wunused-parameter] - 155 | IMM_AddPhrase (IMM_CLIENT * pClient, PhraseItem * p) - | ~~~~~~~~~~~~~^~~~~~~ CCE_pinyin.c:51:49: warning: unused parameter 'buflen' [-Wunused-parameter] 51 | SetPhraseBuffer (PhraseItem * p, char *buf, int 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_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_hzinput.c:161:36: warning: unused parameter 'p' [-Wunused-parameter] - 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) - | ~~~~~~~~~~~~~^ 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:161:44: warning: unused parameter 'n' [-Wunused-parameter] - 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) - | ~~~~~^ 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:161:60: warning: unused parameter 'pItem' [-Wunused-parameter] - 161 | IMM_ModifyPhraseItem (IMM_CLIENT * p, long n, PhraseItem * pItem) - | ~~~~~~~~~~~~~^~~~~ 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) @@ -14670,53 +14682,6 @@ 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_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: 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_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 * -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) - | ~~~~~~~~~~~~^~~ -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 'SaveUsrPhrase': xl_pinyin.c:286:22: warning: variable 'p' set but not used [-Wunused-but-set-variable] 286 | u_char len, *buf, *p; @@ -14724,54 +14689,17 @@ 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 'FillAssociateChars': -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 * -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_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); - | ~~~~^~~ - | | - | 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_hzinput.c:26: -/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 '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 'Simulate_putstr': 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:422:53: warning: operation on 'pClient->InputCount' may be undefined [-Wsequence-point] - 422 | pClient->save_InpKey[pClient->InputCount++]; - | ~~~~~~~~~~~~~~~~~~~^~ 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 'CCE_DoSelectItem': -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_hzinput.c:734:31: warning: pointer targets in passing argument 2 of 'GetAssociatePhrases' differ in signedness [-Wpointer-sign] - 734 | GetAssociatePhrases (p, s); - | ^ - | | - | char * -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_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)); @@ -14790,34 +14718,15 @@ /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 '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_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: In function 'FillAssociateChars': 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: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 'ParsePy': -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:1082:24: warning: unused parameter 'inmd' [-Wunused-parameter] 1082 | ParsePy (InputModule * inmd, char *pybuf, PYString pinyin[]) | ~~~~~~~~~~~~~~^~~~ @@ -14864,18 +14773,137 @@ /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), | ^~~~~ +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_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_hzinput.c: In function 'IMM_GetInputDisplay': +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_hzinput.c:127:55: warning: unused parameter 'buflen' [-Wunused-parameter] + 127 | IMM_GetSelectDisplay (IMM_CLIENT * p, char *buf, long buflen) + | ~~~~~^~~~~~ +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_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 * +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) + | ~~~~~~~~~~~~^~~ +xl_hzinput.c:161:53: warning: operation on 'pClient->InputCount' may be undefined [-Wsequence-point] + 161 | pClient->save_InpKey[pClient->InputCount++]; + | ~~~~~~~~~~~~~~~~~~~^~ +xl_hzinput.c: In function 'FillAssociateChars': +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 * +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_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); + | ~~~~^~~ + | | + | 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_hzinput.c:26: +/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_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: At top level: xl_pinyin.c:403:1: warning: 'SaveSysPhrase' defined but not used [-Wunused-function] 403 | SaveSysPhrase (char *pathname, int remove) | ^~~~~~~~~~~~~ -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); - | ^ -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); - | ^ -gcc intcode.o -shared -o gb18030_intcode.so -Wl,-z,relro -Wl,-z,now +xl_hzinput.c: In function 'CCE_DoSelectItem': +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_hzinput.c:734:31: warning: pointer targets in passing argument 2 of 'GetAssociatePhrases' differ in signedness [-Wpointer-sign] + 734 | GetAssociatePhrases (p, s); + | ^ + | | + | char * +xl_hzinput.c:126:63: note: expected 'unsigned char *' but argument is of type 'char *' + 126 | GetAssociatePhrases (HzInputTable_T * pClient, unsigned char *p) + | ~~~~~~~~~~~~~~~^ +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_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_hzinput.c: In function 'LoadInputMethod': +xl_intcode.c: In function 'IMM_GetInputDisplay': +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_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 'FindMatchPhrase.part.0': xl_pinyin.c:1218:23: warning: 'pykey' may be used uninitialized [-Wmaybe-uninitialized] 1218 | for (k = 0; pykey[0][k]; k++) @@ -14883,6 +14911,13 @@ xl_pinyin.c:1152:7: note: 'pykey' declared here 1152 | int pykey[MAX_PHRASE_LEN][MAX_EACH_PY + 1]; | ^~~~~ +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); + | ^ +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); + | ^ 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] @@ -14892,6 +14927,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 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' @@ -14902,25 +14938,6 @@ 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_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_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; @@ -14933,36 +14950,13 @@ 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: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: In function 'TL_MatchPhrase': -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_sysphrase.c:191:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 191 | if (p->pPhrase == NULL) | ^~ -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_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: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:194:26: warning: pointer targets in passing argument 1 of 'hash_val' differ in signedness [-Wpointer-sign] 194 | hval = hash_val (szPhraseg); | ^~~~~~~~~ @@ -15074,6 +15068,7 @@ 62 | int TL_GetPhraseFreq (TL_SysPhrase_T *p, long nPhrase, u_long *freq); | ~~~~~~~~^~~~ xl_hzinput.c: In function 'Simulate_putstr': +xl_phrase.c: In function 'CaculatePhraseKeys': xl_hzinput.c:400:41: warning: pointer targets in passing argument 2 of 'FindAssociateKey' differ in signedness [-Wpointer-sign] 400 | FindAssociateKey (pClient, &p[len-2]); | ^~~~~~~~~ @@ -15088,15 +15083,56 @@ xl_hzinput.c:391:9: warning: variable 'index' set but not used [-Wunused-but-set-variable] 391 | int index,len = strlen(p); | ^~~~~ +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_hzinput.c: In function 'TL_DoSelectItem': +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_hzinput.c:764:33: warning: pointer targets in passing argument 2 of 'GetAssociatePhrases' differ in signedness [-Wpointer-sign] 764 | GetAssociatePhrases (p, s); | ^ | | | 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_hzinput.c:69:74: note: expected 'unsigned char *' but argument is of type 'char *' 69 | static void GetAssociatePhrases (HzInputTable_T *pClient, unsigned char *p) | ~~~~~~~~~~~~~~~^ +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_hzinput.c: In function 'TL_GetSelectDisplay': xl_hzinput.c:802:12: warning: variable 'len' set but not used [-Wunused-but-set-variable] 802 | int i, len; @@ -15745,7 +15781,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-MnkBPcX4 + rm -fr -- /tmp/dh-xdg-rundir-ZqrYeIPz create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary @@ -15896,10 +15932,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 @@ -15937,12 +15973,6 @@ chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/e5/1d2d54dec80c6696bf68e3a41cf10e60cf8014.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/e5/1d2d54dec80c6696bf68e3a41cf10e60cf8014.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/22 - 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/22/ff8a66c2523dd5a1b5667e801724dc83c17000.debug - chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/22/ff8a66c2523dd5a1b5667e801724dc83c17000.debug - chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/22/ff8a66c2523dd5a1b5667e801724dc83c17000.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/22/ff8a66c2523dd5a1b5667e801724dc83c17000.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/38 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/38/3d12ab6eabe2815849eb59c77fe5660043b3e8.debug chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/38/3d12ab6eabe2815849eb59c77fe5660043b3e8.debug @@ -15961,14 +15991,20 @@ chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/36/030fbfab340140508fcfccb71e333b029c65ad.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/36/030fbfab340140508fcfccb71e333b029c65ad.debug debian/unicon-imc2/usr/lib/unicon/modules/cce/cce_pinyin.so - strip --remove-section=.comment --remove-section=.note debian/unicon-imc2/usr/lib/unicon/bin/txt2tab + install -m0755 -d debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/22 + 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/22/ff8a66c2523dd5a1b5667e801724dc83c17000.debug + chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/22/ff8a66c2523dd5a1b5667e801724dc83c17000.debug + chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/usr/lib/debug/.build-id/22/ff8a66c2523dd5a1b5667e801724dc83c17000.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/22/ff8a66c2523dd5a1b5667e801724dc83c17000.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/cin2tab - 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/cin2dat - 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/tab2txt 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/tab2txt1 + 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 @@ -15987,7 +16023,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/bin/txt2tab debian/unicon-imc2/usr/lib/unicon/bin/cin2tab debian/unicon-imc2/usr/lib/unicon/bin/tab2dat debian/unicon-imc2/usr/lib/unicon/bin/cin2dat debian/unicon-imc2/usr/lib/unicon/bin/tab2cin debian/unicon-imc2/usr/lib/unicon/bin/tab2txt debian/unicon-imc2/usr/lib/unicon/bin/txt2tab1 debian/unicon-imc2/usr/lib/unicon/bin/tab2txt1 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 + dpkg-shlibdeps -Tdebian/unicon-imc2.substvars debian/unicon-imc2/usr/lib/libimm_server.so.0.0 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/modules/turbo/TL_hzinput.so debian/unicon-imc2/usr/lib/unicon/bin/cin2tab debian/unicon-imc2/usr/lib/unicon/bin/tab2txt 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/tab2txt1 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 @@ -16012,10 +16048,10 @@ chmod 0644 -- debian/.debhelper/unicon-imc2/dbgsym-root/DEBIAN/md5sums chown 0:0 -- debian/.debhelper/unicon-imc2/dbgsym-root/DEBIAN/md5sums 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' in '../unicon-imc2_3.0.4+dfsg1-7_amd64.deb'. + dpkg-deb --build debian/unicon-imc2 .. 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-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) @@ -16023,12 +16059,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/4012036/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4012036/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/1596359 and its subdirectories -I: Current time: Sun Apr 19 07:53:08 -12 2026 -I: pbuilder-time-stamp: 1776628388 +I: removing directory /srv/workspace/pbuilder/4012036 and its subdirectories +I: Current time: Tue Mar 18 03:37:21 +14 2025 +I: pbuilder-time-stamp: 1742218641