Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/z/zh-autoconvert/zh-autoconvert_0.3.16-7_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/zh-autoconvert-0.3.16-7hj6e0nw6/zh-autoconvert_0.3.16-7_amd64.buildinfo Get source package info: zh-autoconvert=0.3.16-7 Source URL: http://snapshot.notset.fr/mr/package/zh-autoconvert/0.3.16-7/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-14 automake=1:1.16.3-2 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11 base-passwd=3.5.48 bash=5.1-2 binutils=2.35.1-7 binutils-common=2.35.1-7 binutils-x86-64-linux-gnu=2.35.1-7 bsdextrautils=2.36.1-6 bsdutils=1:2.36.1-6 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20200708+dd9ef66-5 debconf=1.5.74 debhelper=13.3.3 debianutils=4.11.2 dh-autoreconf=19 dh-strip-nondeterminism=1.10.0-1 diffutils=1:3.7-5 dpkg=1.20.7.1 dpkg-dev=1.20.7.1 dwz=0.13+20210126-1 file=1:5.39-3 findutils=4.8.0-1 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 grep=3.6-1 groff-base=1.22.4-6 gzip=1.10-2 hostname=3.23 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libbinutils=2.35.1-7 libblkid1=2.36.1-6 libbz2-1.0=1.0.8-4 libc-bin=2.31-9 libc-dev-bin=2.31-9 libc6=2.31-9 libc6-dev=2.31-9 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.45.7-1 libcrypt-dev=1:4.4.17-1 libcrypt1=1:4.4.17-1 libctf-nobfd0=2.35.1-7 libctf0=2.35.1-7 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.256 libdebhelper-perl=13.3.3 libdpkg-perl=1.20.7.1 libelf1=0.182+20210203-1 libfile-stripnondeterminism-perl=1.10.0-1 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-2 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgmp10=2:6.2.1+dfsg-1 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgssapi-krb5-2=1.18.3-4 libicu67=67.1-6 libisl23=0.23-1 libitm1=10.2.1-6 libk5crypto3=1.18.3-4 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-4 libkrb5support0=1.18.3-4 liblsan0=10.2.1-6 liblz4-1=1.9.3-1 liblzma5=5.2.5-1.0 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmount1=2.36.1-6 libmpc3=1.2.0-1 libmpfr6=4.1.0-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libpam-modules=1.4.0-4 libpam-modules-bin=1.4.0-4 libpam-runtime=1.4.0-4 libpam0g=1.4.0-4 libpcre2-8-0=10.36-2 libpcre3=2:8.39-13 libperl5.32=5.32.1-2 libpipeline1=1.5.3-1 libquadmath0=10.2.1-6 libseccomp2=2.5.1-1 libselinux1=3.1-2+b2 libsigsegv2=2.13-1 libsmartcols1=2.36.1-6 libssl1.1=1.1.1i-3 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-1 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-1 libunistring2=0.9.10-4 libuuid1=2.36.1-6 libxml2=2.9.10+dfsg-6.3+b1 libzstd1=1.4.8+dfsg-1 linux-libc-dev=5.10.12-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 patch=2.7.6-7 perl=5.32.1-2 perl-base=5.32.1-2 perl-modules-5.32=5.32.1-2 po-debconf=1.0.21+nmu1 sed=4.7-1 sensible-utils=0.0.14 sysvinit-utils=2.96-5 tar=1.32+dfsg-1 util-linux=2.36.1-6 xz-utils=5.2.5-1.0 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210204T083352Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d zh-autoconvert=0.3.16-7 && mkdir -p /build/zh-autoconvert-1EFUDB && dpkg-source --no-check -x /*.dsc /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16 && chown -R builduser:builduser /build/zh-autoconvert-1EFUDB" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612417241" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/zh-autoconvert-1EFUDB /tmp/zh-autoconvert-0.3.16-7hj6e0nw6 bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210204T083352Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.YLq5qAEJEk as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.YLq5qAEJEk Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-6). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210204T083352Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210204T083352Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (515 kB/s) Selecting previously unselected package libfakeroot: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 ... 4663 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-9) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210204T083352Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.YLq5qAEJEk Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20210204T083352Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 19s (1157 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.YLq5qAEJEk I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d zh-autoconvert=0.3.16-7 && mkdir -p /build/zh-autoconvert-1EFUDB && dpkg-source --no-check -x /*.dsc /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16 && chown -R builduser:builduser /build/zh-autoconvert-1EFUDB"' exec /tmp/mmdebstrap.YLq5qAEJEk Reading package lists... NOTICE: 'zh-autoconvert' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/chinese-team/zh-autoconvert.git Please use: git clone https://salsa.debian.org/chinese-team/zh-autoconvert.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 297 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main zh-autoconvert 0.3.16-7 (dsc) [2121 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main zh-autoconvert 0.3.16-7 (tar) [275 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main zh-autoconvert 0.3.16-7 (diff) [19.4 kB] Fetched 297 kB in 0s (1051 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'zh-autoconvert_0.3.16-7.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting zh-autoconvert in /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16 dpkg-source: info: unpacking zh-autoconvert_0.3.16.orig.tar.gz dpkg-source: info: unpacking zh-autoconvert_0.3.16-7.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 001-build-static-library.patch dpkg-source: info: applying 002-chdir-before-symlink.patch dpkg-source: info: applying 003-strip-binaries.patch dpkg-source: info: applying 004-delete-empty-default-label-for-gcc-3.4.patch dpkg-source: info: applying 005-move-plugins-to-usr-lib.patch dpkg-source: info: applying 006-add-exit.patch dpkg-source: info: applying 007-migrate-xchat-plugins-to-gtk2.patch dpkg-source: info: applying 008-add-missing-includes.patch dpkg-source: info: applying 009-add-placeholder-README-for-lib.patch dpkg-source: info: applying 010-create-destination-directories-in-Makefile.patch dpkg-source: info: applying 011-do-not-strip-binaries.patch dpkg-source: info: applying 012-hardening.patch dpkg-source: info: applying 013-fix-xchat-plugin-compile-warnings.patch dpkg-source: info: applying 014-convert-comments-to-utf8.patch dpkg-source: info: applying 015-convert-docs-to-utf8.patch dpkg-source: info: applying 016-not-compile-xchat-plugin.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1612417241" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.YLq5qAEJEk dpkg-buildpackage: info: source package zh-autoconvert dpkg-buildpackage: info: source version 0.3.16-7 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by xiao sheng wen dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 debian/rules clean dh clean --no-parallel dh_auto_clean -O--no-parallel make -j1 clean make[1]: Entering directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16' rm -f autob5 autogb *.o *~ rm -f include/*~ cd hzconvert;make clean make[2]: Entering directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/hzconvert' rm -f *.o *~ ../lib/lib* make[2]: Leaving directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/hzconvert' make[1]: Leaving directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16' dh_autoreconf_clean -O--no-parallel dh_clean -O--no-parallel debian/rules binary-arch dh binary-arch --no-parallel dh_update_autotools_config -a -O--no-parallel dh_autoreconf -a -O--no-parallel dh_auto_configure -a -O--no-parallel dh_auto_build -a -O--no-parallel make -j1 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16' cd hzconvert; make -e make[2]: Entering directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/hzconvert' cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2g.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2u.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c g2u.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c hz2gb.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2g_tables.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2u_tables.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c g2u_tables.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c io.c io.c: In function ‘hzconvert’: io.c:45:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 45 | if ((*p) & 0x80) /* hi-bit on: hanzi */ | ^ cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c unicode.c unicode.c: In function ‘init_utf7_tables’: unicode.c:242:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 242 | for (s = SAFE_CHARS; *s != '\0'; s++) | ^ unicode.c:244:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 244 | for (s = SPACE_CHARS; *s != '\0'; s++) | ^ cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c judge.c judge.c: In function ‘j_code’: judge.c:47:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 47 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:47:18: warning: comparison of distinct pointer types lacks a cast 47 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:72:10: warning: implicit declaration of function ‘j_code3’; did you mean ‘j_code’? [-Wimplicit-function-declaration] 72 | return j_code3(buff,count); | ^~~~~~~ | j_code cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c judge3.c judge3.c: In function ‘j_code3’: judge3.c:47:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:71:22: warning: pointer targets in passing argument 1 of ‘inGB’ differ in signedness [-Wpointer-sign] 71 | if(temphz = inGB(phz, 2)) | ^~~ | | | unsigned char * In file included from judge3.c:34: ../include/zhstatis.h:31:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 31 | inGB (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:71:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 71 | if(temphz = inGB(phz, 2)) | ^~~~~~ judge3.c:73:24: warning: pointer targets in passing argument 1 of ‘inBig5’ differ in signedness [-Wpointer-sign] 73 | if(temphz = inBig5(phz, 2)) | ^~~ | | | unsigned char * In file included from judge3.c:34: ../include/zhstatis.h:33:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 33 | inBig5 (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:73:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 73 | if(temphz = inBig5(phz, 2)) | ^~~~~~ cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c gbpercent.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b5percent.c cc -fPIC -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c search.c cc -fPIC -shared -Wl,-soname,libhz.so.0 -o ../lib/libhz.so.0.0 b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o -ldl -Wl,-z,relro -Wl,-z,now rm -f ../lib/libhz.so.0 rm -f ../lib/libhz.so cd ../lib;ln -s libhz.so.0.0 libhz.so.0 cd ../lib;ln -s libhz.so.0 libhz.so cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2g.c -o b2g.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2u.c -o b2u.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c g2u.c -o g2u.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c hz2gb.c -o hz2gb.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2g_tables.c -o b2g_tables.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b2u_tables.c -o b2u_tables.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c g2u_tables.c -o g2u_tables.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c io.c -o io.static.o io.c: In function ‘hzconvert’: io.c:45:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else] 45 | if ((*p) & 0x80) /* hi-bit on: hanzi */ | ^ cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c unicode.c -o unicode.static.o unicode.c: In function ‘init_utf7_tables’: unicode.c:242:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 242 | for (s = SAFE_CHARS; *s != '\0'; s++) | ^ unicode.c:244:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 244 | for (s = SPACE_CHARS; *s != '\0'; s++) | ^ cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c judge.c -o judge.static.o judge.c: In function ‘j_code’: judge.c:47:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 47 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:47:18: warning: comparison of distinct pointer types lacks a cast 47 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:72:10: warning: implicit declaration of function ‘j_code3’; did you mean ‘j_code’? [-Wimplicit-function-declaration] 72 | return j_code3(buff,count); | ^~~~~~~ | j_code cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c judge3.c -o judge3.static.o judge3.c: In function ‘j_code3’: judge3.c:47:9: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:71:22: warning: pointer targets in passing argument 1 of ‘inGB’ differ in signedness [-Wpointer-sign] 71 | if(temphz = inGB(phz, 2)) | ^~~ | | | unsigned char * In file included from judge3.c:34: ../include/zhstatis.h:31:29: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 31 | inGB (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:71:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 71 | if(temphz = inGB(phz, 2)) | ^~~~~~ judge3.c:73:24: warning: pointer targets in passing argument 1 of ‘inBig5’ differ in signedness [-Wpointer-sign] 73 | if(temphz = inBig5(phz, 2)) | ^~~ | | | unsigned char * In file included from judge3.c:34: ../include/zhstatis.h:33:31: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 33 | inBig5 (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:73:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 73 | if(temphz = inBig5(phz, 2)) | ^~~~~~ cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c gbpercent.c -o gbpercent.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c b5percent.c -o b5percent.static.o cc -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -c search.c -o search.static.o ar rs ../lib/libhz.a b2g.static.o b2u.static.o g2u.static.o hz2gb.static.o b2g_tables.static.o b2u_tables.static.o g2u_tables.static.o io.static.o unicode.static.o judge.static.o judge3.static.o gbpercent.static.o b5percent.static.o search.static.o ar: creating ../lib/libhz.a make[2]: Leaving directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/hzconvert' cc -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -Wall -Iinclude -g -O2 -ffile-prefix-map=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now -Llib -lhz autogb.c -lhz -o autogb autogb.c: In function ‘main’: autogb.c:59:31: warning: comparison between pointer and zero character constant [-Wpointer-compare] 59 | if( strstr(argv[0],"autogb") != '\0' ){ | ^~ autogb.c:59:6: note: did you mean to dereference the pointer? 59 | if( strstr(argv[0],"autogb") != '\0' ){ | ^ autogb.c:61:36: warning: comparison between pointer and zero character constant [-Wpointer-compare] 61 | }else if(strstr(argv[0],"autob5") != '\0'){ | ^~ autogb.c:61:11: note: did you mean to dereference the pointer? 61 | }else if(strstr(argv[0],"autob5") != '\0'){ | ^ autogb.c:100:18: warning: implicit declaration of function ‘conv_str’ [-Wimplicit-function-declaration] 100 | if((incode=conv_str(optarg))==OTHER_CODE) print_help(argv[0]); | ^~~~~~~~ autogb.c:122:12: warning: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration] 122 | if((count=read(0,pbuf,MAX_BUFFER))< 0){ | ^~~~ | fread autogb.c:140:4: warning: implicit declaration of function ‘write’; did you mean ‘fwrite’? [-Wimplicit-function-declaration] 140 | write(1,pbuf,count); | ^~~~~ | fwrite autogb.c:132:12: warning: ‘outcode’ may be used uninitialized in this function [-Wmaybe-uninitialized] 132 | if((dist=hz_search(incode,outcode,8))==0){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f autob5;ln -s autogb autob5 make[1]: Leaving directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16' dh_auto_test -a -O--no-parallel create-stamp debian/debhelper-build-stamp dh_testroot -a -O--no-parallel dh_prep -a -O--no-parallel dh_auto_install -a -O--no-parallel make -j1 install DESTDIR=/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16' install -d /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/bin install -d /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/lib install -d /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/include install -d /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/lib/zh-autoconvert install -m 755 autogb /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/bin install -m 755 lib/libhz.so.0.0 /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/lib cd /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/lib;ln -s libhz.so.0.0 libhz.so.0 cd /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/lib;ln -s libhz.so.0 libhz.so install -m 755 lib/libhz.a /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/lib install -m 644 include/*.h /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/include cd /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/bin; ln -s autogb /build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16/debian/tmp/usr/bin/autob5 make[1]: Leaving directory '/build/zh-autoconvert-1EFUDB/zh-autoconvert-0.3.16' dh_install -a -O--no-parallel dh_installdocs -a -O--no-parallel dh_installchangelogs -a -O--no-parallel dh_installexamples -a -O--no-parallel dh_installsystemduser -a -O--no-parallel dh_perl -a -O--no-parallel dh_link -a -O--no-parallel dh_strip_nondeterminism -a -O--no-parallel dh_compress -a -O--no-parallel dh_fixperms -a -O--no-parallel dh_missing -a -O--no-parallel dh_dwz -a -a -O--no-parallel dh_strip -a -a -O--no-parallel dh_makeshlibs -a -a -O--no-parallel dh_shlibdeps -a -a -O--no-parallel dh_installdeb -a -O--no-parallel dh_gencontrol -a -O--no-parallel dh_md5sums -a -O--no-parallel dh_builddeb -a -O--no-parallel dpkg-deb: building package 'libhz0-dbgsym' in '../libhz0-dbgsym_0.3.16-7_amd64.deb'. dpkg-deb: building package 'libhz-dev' in '../libhz-dev_0.3.16-7_amd64.deb'. dpkg-deb: building package 'zh-autoconvert-dbgsym' in '../zh-autoconvert-dbgsym_0.3.16-7_amd64.deb'. dpkg-deb: building package 'zh-autoconvert' in '../zh-autoconvert_0.3.16-7_amd64.deb'. dpkg-deb: building package 'libhz0' in '../libhz0_0.3.16-7_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../zh-autoconvert_0.3.16-7_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/zh-autoconvert-1EFUDB /tmp/zh-autoconvert-0.3.16-7hj6e0nw6 I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.YLq5qAEJEk... I: success in 276.7280 seconds md5: libhz-dev_0.3.16-7_amd64.deb: OK md5: libhz0-dbgsym_0.3.16-7_amd64.deb: OK md5: libhz0_0.3.16-7_amd64.deb: OK md5: zh-autoconvert-dbgsym_0.3.16-7_amd64.deb: OK md5: zh-autoconvert_0.3.16-7_amd64.deb: OK sha1: libhz-dev_0.3.16-7_amd64.deb: OK sha1: libhz0-dbgsym_0.3.16-7_amd64.deb: OK sha1: libhz0_0.3.16-7_amd64.deb: OK sha1: zh-autoconvert-dbgsym_0.3.16-7_amd64.deb: OK sha1: zh-autoconvert_0.3.16-7_amd64.deb: OK sha256: libhz-dev_0.3.16-7_amd64.deb: OK sha256: libhz0-dbgsym_0.3.16-7_amd64.deb: OK sha256: libhz0_0.3.16-7_amd64.deb: OK sha256: zh-autoconvert-dbgsym_0.3.16-7_amd64.deb: OK sha256: zh-autoconvert_0.3.16-7_amd64.deb: OK Checksums: OK