Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/x/xjdic/xjdic_24-11_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/xjdic-24-11otfi7qox/xjdic_24-11_amd64.buildinfo Get source package info: xjdic=24-11 Source URL: http://snapshot.notset.fr/mr/package/xjdic/24-11/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-7 binutils=2.35-1 binutils-common=2.35-1 binutils-x86-64-linux-gnu=2.35-1 bsdextrautils=2.36-2 bsdutils=1:2.36-2 build-essential=12.8 bzip2=1.0.8-4 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-5 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-5 gcc=4:10.1.0-1 gcc-10=10.2.0-5 gcc-10-base=10.2.0-5 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-5 libatomic1=10.2.0-5 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libbinutils=2.35-1 libblkid1=2.36-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-3 libc-dev-bin=2.31-3 libc6=2.31-3 libc6-dev=2.31-3 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-5 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.35-1 libctf0=2.35-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdpkg-perl=1.20.5 libelf1=0.180-1+b1 libffi7=3.3-4 libfile-stripnondeterminism-perl=1.9.0-1 libgcc-10-dev=10.2.0-5 libgcc-s1=10.2.0-5 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp10=2:6.2.0+dfsg-6 libgomp1=10.2.0-5 libgpg-error0=1.38-2 libicu67=67.1-3 libisl22=0.22.1-1 libitm1=10.2.0-5 liblsan0=10.2.0-5 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmount1=2.36-2 libmpc3=1.2.0~rc1-1 libmpfr6=4.1.0-3 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libquadmath0=10.2.0-5 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsigsegv2=2.12-2 libsmartcols1=2.36-2 libstdc++-10-dev=10.2.0-5 libstdc++6=10.2.0-5 libsub-override-perl=0.09-2 libsystemd0=246-2 libtinfo6=6.2-1 libtool=2.4.6-14 libtsan0=10.2.0-5 libubsan1=10.2.0-5 libuchardet0=0.0.7-1 libudev1=246-2 libunistring2=0.9.10-4 libuuid1=2.36-2 libxml2=2.9.10+dfsg-5+b1 libzstd1=1.4.5+dfsg-4 linux-libc-dev=5.7.10-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 ncurses-base=6.2-1 ncurses-bin=6.2-1 patch=2.7.6-6 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 po-debconf=1.0.21 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 util-linux=2.36-2 xz-utils=5.2.4-1+b1 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/20200813T085340Z/ 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 xjdic=24-11 && mkdir -p /build/xjdic-Jcie5E && dpkg-source --no-check -x /*.dsc /build/xjdic-Jcie5E/xjdic-24 && chown -R builduser:builduser /build/xjdic-Jcie5E" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/xjdic-Jcie5E/xjdic-24 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1597053886" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/xjdic-Jcie5E /tmp/xjdic-24-11otfi7qox bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200813T085340Z 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.sTdqAWqQ7c 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.sTdqAWqQ7c Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200813T085340Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200813T085340Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (805 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 ... 4578 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-3) ... 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/20200813T085340Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.sTdqAWqQ7c Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200813T085340Z 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 20s (1144 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.sTdqAWqQ7c I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d xjdic=24-11 && mkdir -p /build/xjdic-Jcie5E && dpkg-source --no-check -x /*.dsc /build/xjdic-Jcie5E/xjdic-24 && chown -R builduser:builduser /build/xjdic-Jcie5E"' exec /tmp/mmdebstrap.sTdqAWqQ7c Reading package lists... Need to get 153 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main xjdic 24-11 (dsc) [1277 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main xjdic 24-11 (tar) [140 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main xjdic 24-11 (diff) [11.2 kB] Fetched 153 kB in 0s (842 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'xjdic_24-11.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting xjdic in /build/xjdic-Jcie5E/xjdic-24 dpkg-source: info: unpacking xjdic_24.orig.tar.gz dpkg-source: info: applying xjdic_24-11.diff.gz dpkg-source: info: upstream files that have been modified: /build/xjdic-Jcie5E/xjdic-24/Makefile /build/xjdic-Jcie5E/xjdic-24/exjdxgen.c /build/xjdic-Jcie5E/xjdic-24/xjdclient.c /build/xjdic-Jcie5E/xjdic-24/xjdcomm.c /build/xjdic-Jcie5E/xjdic-24/xjdfrontend.c /build/xjdic-Jcie5E/xjdic-24/xjdic.1 /build/xjdic-Jcie5E/xjdic-24/xjdic.h /build/xjdic-Jcie5E/xjdic-24/xjdrad.c /build/xjdic-Jcie5E/xjdic-24/xjdsa.c /build/xjdic-Jcie5E/xjdic-24/xjdserver.c /build/xjdic-Jcie5E/xjdic-24/xjdxgen.c I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/xjdic-Jcie5E/xjdic-24 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1597053886" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.sTdqAWqQ7c dpkg-buildpackage: info: source package xjdic dpkg-buildpackage: info: source version 24-11 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Ludovic Drolez dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. /usr/bin/make realclean make[1]: Entering directory '/build/xjdic-Jcie5E/xjdic-24' rm -f *.o rm -f xjdic_sa xjdic_cl xjdserver xjdxgen exjdxgen xjdrad make[1]: Leaving directory '/build/xjdic-Jcie5E/xjdic-24' rm -f xjdic24.txt dh_clean debian/rules build-arch dh_testdir # Add here commands to configure the package. touch configure-stamp dh_testdir # Add here commands to compile the package. /usr/bin/make CC="gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro" make[1]: Entering directory '/build/xjdic-Jcie5E/xjdic-24' gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdsa.c xjdsa.c: In function ‘xjdserver’: xjdsa.c:84:10: warning: implicit declaration of function ‘Kstrcmp’; did you mean ‘strcmp’? [-Wimplicit-function-declaration] 84 | res = Kstrcmp(sch_str_len,sch_str); | ^~~~~~~ | strcmp xjdsa.c:179:10: warning: implicit declaration of function ‘jindex’; did you mean ‘rindex’? [-Wimplicit-function-declaration] 179 | schix = jindex(it); | ^~~~~~ | rindex xjdsa.c:183:10: warning: implicit declaration of function ‘dbchar’ [-Wimplicit-function-declaration] 183 | while ((dbchar(schix) != 0x0a) && (schix >= 0)) schix--; | ^~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdcomm.c -o xjdcomm_sa.o xjdcomm.c: In function ‘xjdicrc’: xjdcomm.c:274:5: warning: implicit declaration of function ‘EMtoggle’ [-Wimplicit-function-declaration] 274 | EMtoggle (); | ^~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdservcomm.c -o xjdservcomm_sa.o xjdservcomm.c: In function ‘DicTest’: xjdservcomm.c:250:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 250 | fread(&testwd[0],sizeof(long),1,fpd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDFRONTEND -DXJDDIC -DMMAP xjdfrontend.c -o xjdfrontend_sa.o xjdfrontend.c:236:1: warning: parameter names (without types) in function declaration 236 | size_t strlcat(dst, src, siz); | ^~~~~~ xjdfrontend.c: In function ‘ExtFileDisp’: xjdfrontend.c:924:55: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=] 924 | printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); | ~~^ ~~~~~~~~~~~ | | | | long int unsigned int | %d xjdfrontend.c:924:59: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] 924 | printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); | ~~^ ~~~~~~~~~~~~ | | | | long int int | %d xjdfrontend.c: In function ‘RadBuild’: xjdfrontend.c:2145:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 2145 | printf(" (%d) ",strlen(RKSet[NoSets-1])/2); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld xjdfrontend.c: At top level: xjdfrontend.c:2603:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2603 | main(int argc,char **argv) | ^~~~ xjdfrontend.c: In function ‘KSLoad’: xjdfrontend.c:367:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 367 | fgets(testline,9,fk); | ^~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘RadLoad’: xjdfrontend.c:407:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 407 | fgets(testline,199,fk); | ^~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘LoadKana’: xjdfrontend.c:594:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 594 | fgets(LKin,79,fp); | ^~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘ExtFileDisp’: xjdfrontend.c:921:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 921 | fread(ejdxtest,sizeof(long),1,fex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:984:4: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 984 | fgets(LogLine,199,fe); | ^~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘Verbinit’: xjdfrontend.c:1040:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1040 | fgets(tempstr,511,fi); | ^~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘DispLic’: xjdfrontend.c:1798:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1798 | fgets(KLine,81,flic); | ^~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘DoJIS’: xjdfrontend.c:1892:2: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1892 | scanf("%s",instr); | ^~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘RadDisp’: xjdfrontend.c:2166:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2166 | fgets(testline,199,fk); | ^~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘main’: xjdfrontend.c:3151:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3151 | fgets(instr,3,stdin); | ^~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:3168:6: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3168 | scanf("%s",instr); | ^~~~~~~~~~~~~~~~~ xjdfrontend.c:3215:6: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3215 | fgets(clipstring1,50,fclip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from xjdfrontend.c:21: In function ‘fread’, inlined from ‘ExtFileDisp’ at xjdfrontend.c:938:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:295:9: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 295 | return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro xjdsa.o xjdcomm_sa.o xjdservcomm_sa.o xjdfrontend_sa.o -o xjdic_sa gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDFRONTEND -DXJDCLSERV xjdclient.c xjdclient.c:45:15: warning: built-in function ‘yn’ declared as non-function [-Wbuiltin-declaration-mismatch] 45 | unsigned char yn[2]; | ^~ xjdclient.c: In function ‘connectsock’: xjdclient.c:128:34: warning: implicit declaration of function ‘inet_addr’ [-Wimplicit-function-declaration] 128 | else if ((sin.sin_addr.s_addr = inet_addr(host)) == INADDR_NONE) | ^~~~~~~~~ xjdclient.c: In function ‘respchecksum’: xjdclient.c:181:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 181 | if (CVERBOSE) printf("Cal checksum: %d PDU checksum: %d\n",temp,ntohl(pdu_in.xjdrsp_checksum)); | ~^ ~~~~ | | | | int long int | %ld xjdclient.c:185:11: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘char (*)[5]’ [-Wformat=] 185 | scanf("%s",&yn); | ~^ ~~~ | | | | | char (*)[5] | char * xjdclient.c: In function ‘xjdserver’: xjdclient.c:263:14: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘unsigned char (*)[2]’ [-Wformat=] 263 | scanf("%s",&yn); | ~^ ~~~ | | | | | unsigned char (*)[2] | char * xjdclient.c:301:13: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘unsigned char (*)[2]’ [-Wformat=] 301 | scanf("%s",&yn); | ~^ ~~~ | | | | | unsigned char (*)[2] | char * xjdclient.c:325:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘__uint32_t’ {aka ‘unsigned int’} [-Wformat=] 325 | if (CVERBOSE) printf("Valid PDU: %d %ld %d %d\n",ntohs(pdu_in.xjdrsp_type), | ~~^ | | | long int | %d xjdclient.c: In function ‘DicSet’: xjdclient.c:110:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 110 | scanf("%c",dummy); | ^~~~~~~~~~~~~~~~~ xjdclient.c: In function ‘respchecksum’: xjdclient.c:185:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 185 | scanf("%s",&yn); | ^~~~~~~~~~~~~~~ xjdclient.c: In function ‘xjdserver’: xjdclient.c:239:11: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 239 | (void) write (s, &pdu_out,sizeof(REQ_PDU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdclient.c:263:6: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 263 | scanf("%s",&yn); | ^~~~~~~~~~~~~~~ xjdclient.c:301:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | scanf("%s",&yn); | ^~~~~~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDFRONTEND -DXJDCLSERV xjdcomm.c -o xjdcomm_cl.o xjdcomm.c: In function ‘xjdicrc’: xjdcomm.c:274:5: warning: implicit declaration of function ‘EMtoggle’ [-Wimplicit-function-declaration] 274 | EMtoggle (); | ^~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDFRONTEND -DXJDCLSERV xjdfrontend.c -o xjdfrontend_cl.o xjdfrontend.c:236:1: warning: parameter names (without types) in function declaration 236 | size_t strlcat(dst, src, siz); | ^~~~~~ xjdfrontend.c: In function ‘ExtFileDisp’: xjdfrontend.c:924:55: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=] 924 | printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); | ~~^ ~~~~~~~~~~~ | | | | long int unsigned int | %d xjdfrontend.c:924:59: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] 924 | printf("\nEDICT Extension file & Index Mismatch! %ld %ld\n",ejdxtest[0],extlen+jiver); | ~~^ ~~~~~~~~~~~~ | | | | long int int | %d xjdfrontend.c: In function ‘RadBuild’: xjdfrontend.c:2145:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 2145 | printf(" (%d) ",strlen(RKSet[NoSets-1])/2); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld xjdfrontend.c: At top level: xjdfrontend.c:2603:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 2603 | main(int argc,char **argv) | ^~~~ xjdfrontend.c: In function ‘KSLoad’: xjdfrontend.c:367:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 367 | fgets(testline,9,fk); | ^~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘RadLoad’: xjdfrontend.c:407:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 407 | fgets(testline,199,fk); | ^~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘LoadKana’: xjdfrontend.c:594:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 594 | fgets(LKin,79,fp); | ^~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘ExtFileDisp’: xjdfrontend.c:921:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 921 | fread(ejdxtest,sizeof(long),1,fex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:984:4: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 984 | fgets(LogLine,199,fe); | ^~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘Verbinit’: xjdfrontend.c:1040:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1040 | fgets(tempstr,511,fi); | ^~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘DispLic’: xjdfrontend.c:1798:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1798 | fgets(KLine,81,flic); | ^~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘DoJIS’: xjdfrontend.c:1892:2: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1892 | scanf("%s",instr); | ^~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘RadDisp’: xjdfrontend.c:2166:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2166 | fgets(testline,199,fk); | ^~~~~~~~~~~~~~~~~~~~~~ xjdfrontend.c: In function ‘main’: xjdfrontend.c:3151:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3151 | fgets(instr,3,stdin); | ^~~~~~~~~~~~~~~~~~~~ xjdfrontend.c:3168:6: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3168 | scanf("%s",instr); | ^~~~~~~~~~~~~~~~~ xjdfrontend.c:3215:6: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3215 | fgets(clipstring1,50,fclip); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from xjdfrontend.c:21: In function ‘fread’, inlined from ‘ExtFileDisp’ at xjdfrontend.c:938:11: /usr/include/x86_64-linux-gnu/bits/stdio2.h:295:9: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [-Wattribute-warning] 295 | return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro xjdclient.o xjdcomm_cl.o xjdfrontend_cl.o -o xjdic_cl gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDDIC -DXJDCLSERV -DMMAP xjdcomm.c -o xjdcomm_sv.o gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDDIC -DXJDCLSERV -DMMAP xjdservcomm.c -o xjdservcomm_sv.o xjdservcomm.c: In function ‘DicTest’: xjdservcomm.c:250:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 250 | fread(&testwd[0],sizeof(long),1,fpd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c -DXJDDIC -DXJDCLSERV -DMMAP xjdserver.c xjdserver.c: In function ‘sendresponse’: xjdserver.c:126:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘long int’ [-Wformat=] 126 | if (SVERBOSE) printf("PDU sent: %d %d %d %d %d %d %s %d\n", | ~^ | | | int | %ld ...... 134 | temp); | ~~~~ | | | long int xjdserver.c: At top level: xjdserver.c:145:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 145 | main(argc,argv) | ^~~~ xjdserver.c: In function ‘main’: xjdserver.c:354:11: warning: implicit declaration of function ‘Kstrcmp’; did you mean ‘strcmp’? [-Wimplicit-function-declaration] 354 | res = Kstrcmp(pdu_in.xjdreq_schlen,pdu_in.xjdreq_schstr); | ^~~~~~~ | strcmp xjdserver.c:450:11: warning: implicit declaration of function ‘jindex’; did you mean ‘rindex’? [-Wimplicit-function-declaration] 450 | schix = jindex(it); | ^~~~~~ | rindex xjdserver.c:454:11: warning: implicit declaration of function ‘dbchar’ [-Wimplicit-function-declaration] 454 | while ((dbchar(schix) != 0x0a) && (schix >= 0)) schix--; | ^~~~~~ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro xjdcomm_sv.o xjdservcomm_sv.o xjdserver.o -o xjdserver gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c xjdxgen.c xjdxgen.c:78:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 78 | main(int argc, char **argv) | ^~~~ xjdxgen.c: In function ‘main’: xjdxgen.c:89:6: warning: assignment to ‘unsigned char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 89 | ap = argv; | ^ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro xjdxgen.o -o xjdxgen gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro -c exjdxgen.c exjdxgen.c:69:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 69 | main(int argc, char **argv) | ^~~~ exjdxgen.c: In function ‘main’: exjdxgen.c:80:5: warning: assignment to ‘unsigned char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 80 | ap = argv; | ^ exjdxgen.c:87:3: warning: implicit declaration of function ‘exit’ [-Wimplicit-function-declaration] 87 | exit(0); | ^~~~ exjdxgen.c:87:3: warning: incompatible implicit declaration of built-in function ‘exit’ exjdxgen.c:29:1: note: include ‘’ or provide a declaration of ‘exit’ 28 | #include "xjdic.h" +++ |+#include 29 | exjdxgen.c:97:17: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 97 | buf = (void *)malloc(1000); | ^~~~~~ exjdxgen.c:97:17: warning: incompatible implicit declaration of built-in function ‘malloc’ exjdxgen.c:97:17: note: include ‘’ or provide a declaration of ‘malloc’ exjdxgen.c:102:3: warning: incompatible implicit declaration of built-in function ‘exit’ 102 | exit(1); | ^~~~ exjdxgen.c:102:3: note: include ‘’ or provide a declaration of ‘exit’ exjdxgen.c:111:2: warning: incompatible implicit declaration of built-in function ‘exit’ 111 | exit(1); | ^~~~ exjdxgen.c:111:2: note: include ‘’ or provide a declaration of ‘exit’ exjdxgen.c:118:7: warning: incompatible implicit declaration of built-in function ‘exit’ 118 | exit(1); | ^~~~ exjdxgen.c:118:7: note: include ‘’ or provide a declaration of ‘exit’ exjdxgen.c:136:4: warning: incompatible implicit declaration of built-in function ‘exit’ 136 | exit(1); | ^~~~ exjdxgen.c:136:4: note: include ‘’ or provide a declaration of ‘exit’ exjdxgen.c:185:7: warning: incompatible implicit declaration of built-in function ‘exit’ 185 | exit(1); | ^~~~ exjdxgen.c:185:7: note: include ‘’ or provide a declaration of ‘exit’ exjdxgen.c:224:6: warning: incompatible implicit declaration of built-in function ‘exit’ 224 | exit(1); | ^~~~ exjdxgen.c:224:6: note: include ‘’ or provide a declaration of ‘exit’ gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro exjdxgen.o -o exjdxgen gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/xjdic-Jcie5E/xjdic-24=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -O3 -Wl,-z,relro xjdrad.c -o xjdrad xjdrad.c:213:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 213 | main() | ^~~~ xjdrad.c: In function ‘RadDisp’: xjdrad.c:79:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 79 | fgets(testline,199,fk); | ^~~~~~~~~~~~~~~~~~~~~~ xjdrad.c: In function ‘main’: xjdrad.c:236:29: warning: ‘%s’ directive writing up to 49 bytes into a region of size between 35 and 49 [-Wformat-overflow=] 236 | sprintf(RKname, "%s/%s", dicenv, IRKname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:867, from xjdrad.c:21: /usr/include/x86_64-linux-gnu/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 65) into a destination of size 50 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/build/xjdic-Jcie5E/xjdic-24' #/usr/bin/docbook-to-man debian/test-s.sgml > test-s.1 cp -f xjdic24.inf xjdic24.txt touch build-stamp fakeroot debian/rules binary-arch dh_testdir dh_testroot dh_prep dh_installdirs # Add here commands to install the package into debian/test-s. install -m 755 exjdxgen debian/xjdic/usr/bin/exjdxgen install -m 755 xjdic_cl debian/xjdic/usr/bin/xjdic_cl install -m 755 xjdic_sa debian/xjdic/usr/bin/xjdic_sa ln -sf xjdic_sa debian/xjdic/usr/bin/xjdic install -m 755 xjdserver debian/xjdic/usr/bin/xjdserver install -m 755 xjdxgen debian/xjdic/usr/bin/xjdxgen install -m 755 xjdrad debian/xjdic/usr/bin/xjdrad install -m 755 debian/xjdicconfig \ debian/xjdic/usr/sbin/xjdicconfig install -m 644 debian/.xjdicrc.skel \ debian/xjdic/usr/share/doc/xjdic/dot.xjdicrc install -m 644 xjdic.1 debian/xjdic/usr/share/man/man1/xjdic.1 install -m 644 debian/xjdicconfig.man \ debian/xjdic/usr/share/man/man8/xjdicconfig.8 install -m 644 kanjstroke debian/xjdic/var/lib/xjdic install -m 644 radicals.tm debian/xjdic/var/lib/xjdic install -m 644 radkfile debian/xjdic/var/lib/xjdic install -m 644 romkana.cnv debian/xjdic/var/lib/xjdic install -m 644 vconj debian/xjdic/var/lib/xjdic ln -sf /usr/share/common-licenses/GPL debian/xjdic/var/lib/xjdic/gnu_licence dh_testdir dh_testroot dh_installdocs dh_installexamples dh_installmenu dh_installcron dh_installman dh_installinfo dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb dpkg-deb: building package 'xjdic-dbgsym' in '../xjdic-dbgsym_24-11_amd64.deb'. dpkg-deb: building package 'xjdic' in '../xjdic_24-11_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../xjdic_24-11_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/xjdic-Jcie5E /tmp/xjdic-24-11otfi7qox I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.sTdqAWqQ7c... I: success in 320.8089 seconds md5: xjdic-dbgsym_24-11_amd64.deb: OK md5: xjdic_24-11_amd64.deb: OK sha1: xjdic-dbgsym_24-11_amd64.deb: OK sha1: xjdic_24-11_amd64.deb: OK sha256: xjdic-dbgsym_24-11_amd64.deb: OK sha256: xjdic_24-11_amd64.deb: OK Checksums: OK