Diff of the two buildlogs: -- --- b1/build.log 2020-08-14 19:47:59.354945734 +0000 +++ b2/build.log 2020-08-14 19:52:42.426188224 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Sep 16 14:05:54 -12 2021 -I: pbuilder-time-stamp: 1631844354 +I: Current time: Sat Aug 15 09:48:10 +14 2020 +I: pbuilder-time-stamp: 1597434490 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/var/lib/jenkins/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sun Nov 18 05:12:45 2018 -12 +gpgv: Signature made Mon Nov 19 07:12:45 2018 +14 gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./gjiten_2.6-3.1.dsc @@ -34,136 +34,170 @@ dpkg-source: info: applying port-to-GSettings.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/27203/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/21801/tmp/hooks/D01_modify_environment starting +debug: Running on codethink-sled16-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/21801/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/21801/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='27203' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=21801 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/tmp.J5F5lrYvvn/pbuilderrc_jcpq --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.J5F5lrYvvn/b1 --logfile b1/build.log gjiten_2.6-3.1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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/tmp.J5F5lrYvvn/pbuilderrc_OiEs --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.J5F5lrYvvn/b2 --logfile b2/build.log gjiten_2.6-3.1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink-sled15-arm64 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.4.0-186-generic #216-Ubuntu SMP Wed Jul 1 05:35:21 UTC 2020 aarch64 GNU/Linux I: ls -l /bin total 4928 - -rwxr-xr-x 1 root root 1216928 Apr 17 2019 bash - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 35576 Feb 28 2019 cat - -rwxr-xr-x 1 root root 60256 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 56096 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 64368 Feb 28 2019 chown - -rwxr-xr-x 1 root root 134632 Feb 28 2019 cp - -rwxr-xr-x 1 root root 129536 Jan 17 2019 dash - -rwxr-xr-x 1 root root 97136 Feb 28 2019 date - -rwxr-xr-x 1 root root 76736 Feb 28 2019 dd - -rwxr-xr-x 1 root root 93752 Feb 28 2019 df - -rwxr-xr-x 1 root root 138848 Feb 28 2019 dir - -rwxr-xr-x 1 root root 75984 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 31368 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 27256 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 68792 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 34824 Apr 22 2020 fusermount - -rwxr-xr-x 1 root root 174304 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 89656 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 18440 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 64472 Feb 28 2019 ln - -rwxr-xr-x 1 root root 52544 Jul 26 2018 login - -rwxr-xr-x 1 root root 138848 Feb 28 2019 ls - -rwxr-xr-x 1 root root 108552 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 76840 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 64480 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 39736 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 38840 Jan 9 2019 more - -rwsr-xr-x 1 root root 47112 Jan 9 2019 mount - -rwxr-xr-x 1 root root 14344 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 138736 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35560 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 43712 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 68440 Feb 28 2019 rm - -rwxr-xr-x 1 root root 39624 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 19144 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Sep 15 02:48 sh -> dash - -rwxr-xr-x 1 root root 31384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 72480 Feb 28 2019 stty - -rwsr-xr-x 1 root root 59424 Jan 9 2019 su - -rwxr-xr-x 1 root root 31416 Feb 28 2019 sync - -rwxr-xr-x 1 root root 449416 Apr 23 2019 tar - -rwxr-xr-x 1 root root 10560 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 88968 Feb 28 2019 touch - -rwxr-xr-x 1 root root 27256 Feb 28 2019 true - -rwxr-xr-x 1 root root 14264 Apr 22 2020 ulockmgr_server - -rwsr-xr-x 1 root root 30728 Jan 9 2019 umount - -rwxr-xr-x 1 root root 31384 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 138848 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 34824 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/27203/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1216928 Apr 18 2019 bash + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 35576 Mar 1 2019 cat + -rwxr-xr-x 1 root root 60256 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 56096 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 64368 Mar 1 2019 chown + -rwxr-xr-x 1 root root 134632 Mar 1 2019 cp + -rwxr-xr-x 1 root root 129536 Jan 18 2019 dash + -rwxr-xr-x 1 root root 97136 Mar 1 2019 date + -rwxr-xr-x 1 root root 76736 Mar 1 2019 dd + -rwxr-xr-x 1 root root 93752 Mar 1 2019 df + -rwxr-xr-x 1 root root 138848 Mar 1 2019 dir + -rwxr-xr-x 1 root root 75984 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 31368 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 27256 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 68792 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 34824 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 174304 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 89656 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 18440 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 64472 Mar 1 2019 ln + -rwxr-xr-x 1 root root 52544 Jul 27 2018 login + -rwxr-xr-x 1 root root 138848 Mar 1 2019 ls + -rwxr-xr-x 1 root root 108552 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 76840 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 64480 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 39736 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 38840 Jan 10 2019 more + -rwsr-xr-x 1 root root 47112 Jan 10 2019 mount + -rwxr-xr-x 1 root root 14344 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 138736 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35560 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 43712 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 68440 Mar 1 2019 rm + -rwxr-xr-x 1 root root 39624 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 19144 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 15 09:48 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 13 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 31384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 72480 Mar 1 2019 stty + -rwsr-xr-x 1 root root 59424 Jan 10 2019 su + -rwxr-xr-x 1 root root 31416 Mar 1 2019 sync + -rwxr-xr-x 1 root root 449416 Apr 24 2019 tar + -rwxr-xr-x 1 root root 10560 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 88968 Mar 1 2019 touch + -rwxr-xr-x 1 root root 27256 Mar 1 2019 true + -rwxr-xr-x 1 root root 14264 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 30728 Jan 10 2019 umount + -rwxr-xr-x 1 root root 31384 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 138848 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 34824 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/21801/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -513,7 +547,7 @@ Get: 300 http://deb.debian.org/debian buster/main arm64 libxslt1.1 arm64 1.1.32-2.2~deb10u1 [225 kB] Get: 301 http://deb.debian.org/debian buster/main arm64 xsltproc arm64 1.1.32-2.2~deb10u1 [121 kB] Get: 302 http://deb.debian.org/debian buster/main arm64 xmlto arm64 0.0.28-2.1 [33.3 kB] -Fetched 233 MB in 22s (10.6 MB/s) +Fetched 233 MB in 10s (23.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19168 files and directories currently installed.) @@ -1790,7 +1824,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/gjiten-2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/gjiten-2.6/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package gjiten dpkg-buildpackage: info: source version 2.6-3.1 dpkg-buildpackage: info: source distribution unstable @@ -2116,11 +2150,51 @@ *res_index = (guint32)linestart; ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from gjiten.c:30: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from kanjidic.h:25, from kanjidic.c:37: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ +In file included from gjiten.c:38: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors(); + ^~~~ +In file included from conf.h:30, + from gjiten.c:40: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); + ^~~~ +In file included from gjiten.c:40: +conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + GjitenConfig *conf_load(); + ^~~~~~~~~~~~ +conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + gboolean conf_init_handler(); + ^~~~~~~~ +conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void conf_close_handler(); + ^~~~ +In file included from gjiten.c:42: +worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + WordDic *worddic_create(); + ^~~~~~~ +worddic.h:74:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void on_text_entered(); + ^~~~ +worddic.h:75:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_update_dic_menu(); + ^~~~ +worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_apply_fonts(); + ^~~~ In file included from kanjidic.c:37: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] KanjiDic *kanjidic_create(); @@ -2172,6 +2246,135 @@ pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void create_dialog_preferences(); ^~~~ +In file included from gjiten.c:44: +gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_start_kanjipad(); + ^~~~ +gjiten.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_create_about(); + ^~~~ +gjiten.h:39:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_display_manual(); + ^~~~ +gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_exit(); + ^~~~ +In file included from gjiten.c:45: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void dicutil_unload_dic(); + ^~~~ +gjiten.c:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + ^~~~~~~ +gjiten.c:54:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + ^~~~~~~~~ +gjiten.c:54:47: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + ^~~~~~~~~ +gjiten.c:54:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + ^~~~~~~~~ +gjiten.c:54:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", + ^~~~~~~~ +gjiten.c:55:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "pinyin", "english", "bushu", "classic", "freq", "jouyou", + ^~~~~~~~ +gjiten.c:55:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "pinyin", "english", "bushu", "classic", "freq", "jouyou", + ^~~~~~~~~ +gjiten.c:55:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "pinyin", "english", "bushu", "classic", "freq", "jouyou", + ^~~~~~~ +gjiten.c:55:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "pinyin", "english", "bushu", "classic", "freq", "jouyou", + ^~~~~~~~~ +gjiten.c:55:55: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "pinyin", "english", "bushu", "classic", "freq", "jouyou", + ^~~~~~ +gjiten.c:55:63: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "pinyin", "english", "bushu", "classic", "freq", "jouyou", + ^~~~~~~~ +gjiten.c:56:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + ^~~~~~~ +gjiten.c:56:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + ^~~~~~ +gjiten.c:56:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + ^~~~~~~ +gjiten.c:56:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + ^~~~~~~~ +gjiten.c:56:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + ^~~~~~~~ +gjiten.c:56:60: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "deroo", "skip", "fourc", "hindex", "nindex", "vindex", + ^~~~~~~~ +gjiten.c:57:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "iindex", "mnindex", "mpindex", "eindex", "kindex", + ^~~~~~~~ +gjiten.c:57:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "iindex", "mnindex", "mpindex", "eindex", "kindex", + ^~~~~~~~~ +gjiten.c:57:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "iindex", "mnindex", "mpindex", "eindex", "kindex", + ^~~~~~~~~ +gjiten.c:57:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "iindex", "mnindex", "mpindex", "eindex", "kindex", + ^~~~~~~~ +gjiten.c:57:56: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "iindex", "mnindex", "mpindex", "eindex", "kindex", + ^~~~~~~~ +gjiten.c:58:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + ^~~~~~~~ +gjiten.c:58:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + ^~~~~~~~ +gjiten.c:58:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + ^~~~~~ +gjiten.c:58:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + ^~~~~~~ +gjiten.c:58:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + ^~~~~~~~~ +gjiten.c:58:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + ^~~~~~~~~~ +gjiten.c:104:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_exit() { + ^~~~~~~~~~~ +gjiten.c: In function 'gjiten_exit': +gjiten.c:104:6: warning: old-style function definition [-Wold-style-definition] +gjiten.c: At top level: +gjiten.c:115:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_start_kanjipad() { + ^~~~~~~~~~~~~~~~~~~~~ +gjiten.c: In function 'gjiten_start_kanjipad': +gjiten.c:115:6: warning: old-style function definition [-Wold-style-definition] +gjiten.c: At top level: +gjiten.c:138:6: warning: no previous prototype for 'gjiten_display_manual' [-Wmissing-prototypes] + void gjiten_display_manual(GtkWidget *widget, void *data) { + ^~~~~~~~~~~~~~~~~~~~~ +gjiten.c:167:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_create_about() { + ^~~~~~~~~~~~~~~~~~~ +gjiten.c: In function 'gjiten_create_about': +gjiten.c:167:6: warning: old-style function definition [-Wold-style-definition] +In file included from gjiten.c:25: +gjiten.c: In function 'main': +../config.h:148:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + #define PIXMAPDIR "/usr/share/pixmaps" + ^~~~~~~~~~~~~~~~~~~~ +gjiten.c:210:21: note: in expansion of macro 'PIXMAPDIR' + char *icon_path = PIXMAPDIR"/jiten.png"; + ^~~~~~~~~ In file included from kanjidic.c:45: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); @@ -2261,15 +2464,58 @@ kanjidic.c:67:6: warning: no previous prototype for 'do_kdicline' [-Wmissing-prototypes] void do_kdicline(gchar *kstr) { ^~~~~~~~~~~ +gjiten.c:217:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (gjitenApp->conf->gdk_use_xft == TRUE) putenv("GDK_USE_XFT=1"); + ^~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:306, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' + extern int putenv (char *__string) __THROW __nonnull ((1)); + ~~~~~~^~~~~~~~ +gjiten.c:218:15: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + else putenv("GDK_USE_XFT=0"); + ^~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:306, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' + extern int putenv (char *__string) __THROW __nonnull ((1)); + ~~~~~~^~~~~~~~ +gjiten.c:220:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (gjitenApp->conf->force_ja_JP == TRUE) putenv("LC_ALL=ja_JP"); + ^~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:306, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' + extern int putenv (char *__string) __THROW __nonnull ((1)); + ~~~~~~^~~~~~~~ +gjiten.c:221:57: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (gjitenApp->conf->force_language_c == TRUE) putenv("LANGUAGE=C"); + ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gutils.h:306, + from /usr/include/glib-2.0/glib/gthread.h:34, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/glib/gi18n.h:21, + from gjiten.c:29: +/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' + extern int putenv (char *__string) __THROW __nonnull ((1)); + ~~~~~~^~~~~~~~ kanjidic.c: In function 'do_kdicline': kanjidic.c:93:10: warning: switch missing default case [-Wswitch-default] else switch (tmpstr[0]) { ^~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from gjiten.c:30: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ kanjidic.c: In function 'print_kanjinfo': kanjidic.c:235:8: warning: variable 'srch_resp' set but not used [-Wunused-but-set-variable] gint srch_resp, roff, rlen; @@ -2300,6 +2546,10 @@ kanjidic.c:324:6: warning: no previous prototype for 'findk_by_stroke' [-Wmissing-prototypes] void findk_by_stroke(int stroke, int plusmin, GList **list) { ^~~~~~~~~~~~~~~ +gjiten.c: In function 'gjiten_start_kanjipad': +gjiten.c:133:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] + system(kpad_cmd); /* FIXME */ + ^~~~~~~~~~~~~~~~ kanjidic.c:339:6: warning: no previous prototype for 'findk_by_radical' [-Wmissing-prototypes] void findk_by_radical(gchar *radstrg) { ^~~~~~~~~~~~~~~~ @@ -2331,11 +2581,6 @@ kanjidic.c:463:51: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); ^ -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from error.c:26: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ kanjidic.c:519:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (result_num == 1) print_kanjinfo((gunichar) klinklist->data); ^ @@ -2351,25 +2596,18 @@ kanjidic.c:577:52: warning: cast between incompatible function types from 'void (*)(gunichar, GtkWidget *, gboolean)' {aka 'void (*)(unsigned int, struct _GtkWidget *, int)'} to 'void (*)(void *, void *, void *)' [-Wcast-function-type] g_hash_table_foreach(kanjiDic->rad_button_hash, (GHFunc) set_radical_button_unsensitive, (gpointer) TRUE); ^ -In file included from gjiten.c:38: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ kanjidic.c:400:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ -In file included from conf.h:30, - from gjiten.c:40: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create(); - ^~~~~~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts(); - ^~~~ kanjidic.c: At top level: kanjidic.c:583:5: warning: no previous prototype for 'radical_selected' [-Wmissing-prototypes] int radical_selected(gunichar radical) { ^~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from error.c:26: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ kanjidic.c:621:6: warning: no previous prototype for 'history_add' [-Wmissing-prototypes] void history_add(gunichar unicharkanji) { ^~~~~~~~~~~ @@ -2405,30 +2643,16 @@ error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); ^~~~ -error.c: In function 'gjiten_print_error': -error.c:40:2: warning: function 'gjiten_print_error' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] - pstr = g_strdup_vprintf(fmt, args); - ^~~~ kanjidic.c: In function 'jis_radical_to_unicode': kanjidic.c:714:17: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'long unsigned int' [-Wsign-compare] for (i = 0; i < sizeof(radicaltable) / sizeof(radpair); i++) { ^ -error.c: In function 'gjiten_print_error_and_wait': -error.c:62:2: warning: function 'gjiten_print_error_and_wait' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] - pstr = g_strdup_vprintf(fmt, args); - ^~~~ kanjidic.c: At top level: kanjidic.c:725:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void load_radkfile() { ^~~~~~~~~~~~~ kanjidic.c: In function 'load_radkfile': kanjidic.c:725:6: warning: old-style function definition [-Wold-style-definition] -error.c: At top level: -error.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors() { - ^~~~~~~~~~~~~~~~~~~ -error.c: In function 'gjiten_flush_errors': -error.c:88:6: warning: old-style function definition [-Wold-style-definition] In file included from kanjidic.c:26: ../config.h:14:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define GJITEN_DATADIR "/usr/share/gjiten" @@ -2439,132 +2663,31 @@ kanjidic.c:729:26: note: in expansion of macro 'RADKFILE_NAME' gchar *radkfile_name = RADKFILE_NAME; ^~~~~~~~~~~~~ +kanjidic.c:792:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + g_hash_table_insert(kanjiDic->rad_info_hash, (gpointer) rad_info->radical, rad_info); + ^ +error.c: In function 'gjiten_print_error': +error.c:40:2: warning: function 'gjiten_print_error' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] + pstr = g_strdup_vprintf(fmt, args); + ^~~~ +error.c: In function 'gjiten_print_error_and_wait': +error.c:62:2: warning: function 'gjiten_print_error_and_wait' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] + pstr = g_strdup_vprintf(fmt, args); + ^~~~ +error.c: At top level: +error.c:88:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors() { + ^~~~~~~~~~~~~~~~~~~ +error.c: In function 'gjiten_flush_errors': +error.c:88:6: warning: old-style function definition [-Wold-style-definition] error.c: In function 'gjiten_print_question': error.c:104:2: warning: function 'gjiten_print_question' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] pstr = g_strdup_vprintf(fmt, args); ^~~~ -In file included from gjiten.c:40: -conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - GjitenConfig *conf_load(); - ^~~~~~~~~~~~ -conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - gboolean conf_init_handler(); - ^~~~~~~~ -conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void conf_close_handler(); - ^~~~ -In file included from gjiten.c:42: -worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - WordDic *worddic_create(); - ^~~~~~~ -worddic.h:74:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void on_text_entered(); - ^~~~ -worddic.h:75:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_update_dic_menu(); - ^~~~ -worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_apply_fonts(); - ^~~~ -In file included from gjiten.c:44: -gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_start_kanjipad(); - ^~~~ -gjiten.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_create_about(); - ^~~~ -gjiten.h:39:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_display_manual(); - ^~~~ -gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_exit(); - ^~~~ -In file included from gjiten.c:45: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); - ^~~~ -gjiten.c:54:27: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - ^~~~~~~ -gjiten.c:54:36: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - ^~~~~~~~~ -gjiten.c:54:47: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - ^~~~~~~~~ -gjiten.c:54:58: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - ^~~~~~~~~ -gjiten.c:54:69: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *kanjidicstrg[] = { "kanji", "radical", "strokes", "reading", "korean", - ^~~~~~~~ -gjiten.c:55:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "pinyin", "english", "bushu", "classic", "freq", "jouyou", - ^~~~~~~~ -gjiten.c:55:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "pinyin", "english", "bushu", "classic", "freq", "jouyou", - ^~~~~~~~~ -gjiten.c:55:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "pinyin", "english", "bushu", "classic", "freq", "jouyou", - ^~~~~~~ -gjiten.c:55:44: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "pinyin", "english", "bushu", "classic", "freq", "jouyou", - ^~~~~~~~~ -gjiten.c:55:55: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "pinyin", "english", "bushu", "classic", "freq", "jouyou", - ^~~~~~ -gjiten.c:55:63: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "pinyin", "english", "bushu", "classic", "freq", "jouyou", - ^~~~~~~~ -gjiten.c:56:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - ^~~~~~~ -gjiten.c:56:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - ^~~~~~ -gjiten.c:56:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - ^~~~~~~ -gjiten.c:56:40: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - ^~~~~~~~ -gjiten.c:56:50: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - ^~~~~~~~ -gjiten.c:56:60: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "deroo", "skip", "fourc", "hindex", "nindex", "vindex", - ^~~~~~~~ -gjiten.c:57:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "iindex", "mnindex", "mpindex", "eindex", "kindex", - ^~~~~~~~ -gjiten.c:57:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "iindex", "mnindex", "mpindex", "eindex", "kindex", - ^~~~~~~~~ -gjiten.c:57:35: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "iindex", "mnindex", "mpindex", "eindex", "kindex", - ^~~~~~~~~ -gjiten.c:57:46: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "iindex", "mnindex", "mpindex", "eindex", "kindex", - ^~~~~~~~ -gjiten.c:57:56: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "iindex", "mnindex", "mpindex", "eindex", "kindex", - ^~~~~~~~ -gjiten.c:58:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - ^~~~~~~~ -gjiten.c:58:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - ^~~~~~~~ -gjiten.c:58:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - ^~~~~~ error.c: In function 'gjiten_abort_with_msg': error.c:124:2: warning: function 'gjiten_abort_with_msg' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] pstr = g_strdup_vprintf(fmt, args); ^~~~ -kanjidic.c:792:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - g_hash_table_insert(kanjiDic->rad_info_hash, (gpointer) rad_info->radical, rad_info); - ^ kanjidic.c:802:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] kanji_info = g_hash_table_lookup(kanjiDic->kanji_info_hash, (gconstpointer) kanji); ^ @@ -2577,26 +2700,6 @@ ^~~~~~~~~~~~~~~~~~~~~~ kanjidic.c: In function 'create_window_radicals': kanjidic.c:816:19: warning: old-style function definition [-Wold-style-definition] -gjiten.c:58:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - ^~~~~~~ -gjiten.c:58:51: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - ^~~~~~~~~ -gjiten.c:58:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; - ^~~~~~~~~~ -gjiten.c:104:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_exit() { - ^~~~~~~~~~~ -gjiten.c: In function 'gjiten_exit': -gjiten.c:104:6: warning: old-style function definition [-Wold-style-definition] -gjiten.c: At top level: -gjiten.c:115:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_start_kanjipad() { - ^~~~~~~~~~~~~~~~~~~~~ -gjiten.c: In function 'gjiten_start_kanjipad': -gjiten.c:115:6: warning: old-style function definition [-Wold-style-definition] In file included from /usr/include/glib-2.0/gobject/gobject.h:28, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, @@ -2617,10 +2720,6 @@ kanjidic.c:889:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_hash_table_insert(kanjiDic->rad_button_hash, (gpointer) rad_info->radical, tmpwidget); ^ -gjiten.c: At top level: -gjiten.c:138:6: warning: no previous prototype for 'gjiten_display_manual' [-Wmissing-prototypes] - void gjiten_display_manual(GtkWidget *widget, void *data) { - ^~~~~~~~~~~~~~~~~~~~~ kanjidic.c: At top level: kanjidic.c:897:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void kanjidic_close() { @@ -2633,71 +2732,17 @@ ^~~~~~~~~~~~~~~~~~~~~~ kanjidic.c: In function 'shade_kanjidic_widgets': kanjidic.c:913:6: warning: old-style function definition [-Wold-style-definition] -gjiten.c:167:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_create_about() { - ^~~~~~~~~~~~~~~~~~~ -gjiten.c: In function 'gjiten_create_about': -gjiten.c:167:6: warning: old-style function definition [-Wold-style-definition] kanjidic.c: At top level: kanjidic.c:927:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void history_init() { ^~~~~~~~~~~~ -In file included from gjiten.c:25: -gjiten.c: In function 'main': -../config.h:148:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - #define PIXMAPDIR "/usr/share/pixmaps" - ^~~~~~~~~~~~~~~~~~~~ -gjiten.c:210:21: note: in expansion of macro 'PIXMAPDIR' - char *icon_path = PIXMAPDIR"/jiten.png"; - ^~~~~~~~~ -gjiten.c:217:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (gjitenApp->conf->gdk_use_xft == TRUE) putenv("GDK_USE_XFT=1"); - ^~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:306, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' - extern int putenv (char *__string) __THROW __nonnull ((1)); - ~~~~~~^~~~~~~~ -gjiten.c:218:15: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - else putenv("GDK_USE_XFT=0"); - ^~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:306, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' - extern int putenv (char *__string) __THROW __nonnull ((1)); - ~~~~~~^~~~~~~~ -gjiten.c:220:52: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (gjitenApp->conf->force_ja_JP == TRUE) putenv("LC_ALL=ja_JP"); - ^~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:306, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' - extern int putenv (char *__string) __THROW __nonnull ((1)); - ~~~~~~^~~~~~~~ -gjiten.c:221:57: warning: passing argument 1 of 'putenv' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (gjitenApp->conf->force_language_c == TRUE) putenv("LANGUAGE=C"); - ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gutils.h:306, - from /usr/include/glib-2.0/glib/gthread.h:34, - from /usr/include/glib-2.0/glib/gasyncqueue.h:32, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/glib/gi18n.h:21, - from gjiten.c:29: -/usr/include/stdlib.h:644:26: note: expected 'char *' but argument is of type 'const char *' - extern int putenv (char *__string) __THROW __nonnull ((1)); - ~~~~~~^~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from kanjidic.h:25, + from conf.h:30, + from conf.c:29: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ kanjidic.c: In function 'history_init': kanjidic.c:927:6: warning: old-style function definition [-Wold-style-definition] kanjidic.c: At top level: @@ -2720,25 +2765,56 @@ ^~~~~~~~~~~~~~~ kanjidic.c: In function 'kanjidic_create': kanjidic.c:1008:11: warning: old-style function definition [-Wold-style-definition] -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from kanjidic.h:25, - from conf.h:30, +In file included from conf.h:30, from conf.c:29: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, - from kanjidic.h:25, - from pref.c:34: -/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - typedef void (*GtkItemFactoryCallback) (); - ^~~~~~~ +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); + ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from kanjidic.h:25, from worddic.c:41: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^~~~~~~ +In file included from worddic.c:41: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); + ^~~~ +In file included from conf.c:29: +conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + GjitenConfig *conf_load(); + ^~~~~~~~~~~~ +conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + gboolean conf_init_handler(); + ^~~~~~~~ +conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void conf_close_handler(); + ^~~~ +In file included from conf.c:32: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors(); + ^~~~ +In file included from conf.c:33: +dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void dicutil_unload_dic(); + ^~~~ +conf.c:90:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] + GjitenConfig *conf_load() { + ^~~~~~~~~ +conf.c: In function 'conf_load': +conf.c:90:15: warning: old-style function definition [-Wold-style-definition] +conf.c:97:16: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + GjitenConfig *conf; + ^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ kanjidic.c:1026:14: warning: unused variable 'tmpimage' [-Wunused-variable] GtkWidget *tmpimage; ^~~~~~~~ @@ -2757,28 +2833,6 @@ kanjidic.c:1012:14: warning: unused variable 'toolbar_kanji' [-Wunused-variable] GtkWidget *toolbar_kanji; ^~~~~~~~~~~~~ -In file included from conf.h:30, - from conf.c:29: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create(); - ^~~~~~~~ -In file included from pref.c:34: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create(); - ^~~~~~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts(); - ^~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts(); - ^~~~ -In file included from worddic.c:41: -kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - KanjiDic *kanjidic_create(); - ^~~~~~~~ -kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void kanjidic_apply_fonts(); - ^~~~ In file included from worddic.c:42: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); @@ -2802,46 +2856,6 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_apply_fonts(); ^~~~ -In file included from pref.c:35: -conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - GjitenConfig *conf_load(); - ^~~~~~~~~~~~ -conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - gboolean conf_init_handler(); - ^~~~~~~~ -conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void conf_close_handler(); - ^~~~ -In file included from pref.c:36: -worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - WordDic *worddic_create(); - ^~~~~~~ -worddic.h:74:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void on_text_entered(); - ^~~~ -worddic.h:75:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_update_dic_menu(); - ^~~~ -worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_apply_fonts(); - ^~~~ -In file included from pref.c:37: -pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void create_dialog_preferences(); - ^~~~ -In file included from pref.c:38: -gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_start_kanjipad(); - ^~~~ -gjiten.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_create_about(); - ^~~~ -gjiten.h:39:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_display_manual(); - ^~~~ -gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_exit(); - ^~~~ In file included from worddic.c:45: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_start_kanjipad(); @@ -2859,20 +2873,10 @@ dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void dicutil_unload_dic(); ^~~~ -In file included from conf.c:29: -conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - GjitenConfig *conf_load(); - ^~~~~~~~~~~~ In file included from worddic.c:48: pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void create_dialog_preferences(); ^~~~ -conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - gboolean conf_init_handler(); - ^~~~~~~~ -conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void conf_close_handler(); - ^~~~ In file included from worddic.c:50: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); @@ -2886,17 +2890,9 @@ worddic.c:55:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_destroy_window(); ^~~~ -In file included from conf.c:32: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ worddic.c:74:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_copy() { ^~~~~~~~~~~~ -In file included from conf.c:33: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); - ^~~~ worddic.c: In function 'worddic_copy': worddic.c:74:6: warning: old-style function definition [-Wold-style-definition] worddic.c: At top level: @@ -2905,19 +2901,227 @@ ^~~~~~~~ worddic.c: In function 'Verbinit': worddic.c:96:13: warning: old-style function definition [-Wold-style-definition] -conf.c:90:15: warning: function declaration isn't a prototype [-Wstrict-prototypes] - GjitenConfig *conf_load() { - ^~~~~~~~~ -conf.c: In function 'conf_load': -conf.c:90:15: warning: old-style function definition [-Wold-style-definition] -gjiten.c: In function 'gjiten_start_kanjipad': -gjiten.c:133:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] - system(kpad_cmd); /* FIXME */ - ^~~~~~~~~~~~~~~~ +conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; + ^ +conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (conf->kanjipad == NULL) conf->kanjipad = "/usr/bin/kanjipad"; + ^ +conf.c: In function 'conf_save': +conf.c:194:30: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_save(GjitenConfig *conf) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (conf->kanjipad == NULL) conf->kanjipad = ""; + ^ +conf.c: In function 'conf_save_history': +conf.c:245:54: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_save_history(GList *history, GjitenConfig *conf) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +conf.c:252:30: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] + for (i = 0; i <= 50 && i <= size; i++) { + ^~ +conf.c: In function 'conf_save_options': +conf.c:262:38: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_save_options(GjitenConfig *conf) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +conf.c: At top level: +conf.c:270:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] + gboolean conf_init_handler() { + ^~~~~~~~~~~~~~~~~ +conf.c: In function 'conf_init_handler': +conf.c:270:10: warning: old-style function definition [-Wold-style-definition] +conf.c: At top level: +conf.c:280:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void conf_close_handler() { + ^~~~~~~~~~~~~~~~~~ +conf.c: In function 'conf_close_handler': +conf.c:280:6: warning: old-style function definition [-Wold-style-definition] +conf.c: In function 'conf_display_migration_info': +conf.c:290:48: warning: declaration of 'conf' shadows a global declaration [-Wshadow] + void conf_display_migration_info(GjitenConfig *conf, GtkWindow *parent) { + ~~~~~~~~~~~~~~^~~~ +conf.c:37:14: note: shadowed declaration is here + GjitenConfig conf; + ^~~~ +worddic.c:150:5: warning: switch missing default case [-Wswitch-default] + switch (vinfl_part) { + ^~~~~~ +worddic.c: In function 'print_verb_inflections': +worddic.c:225:24: warning: variable 'prevresult' set but not used [-Wunused-but-set-variable] + gchar *deinflected, *prevresult; + ^~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, + from kanjidic.h:25, + from pref.c:34: +/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + typedef void (*GtkItemFactoryCallback) (); + ^~~~~~~ +worddic.c: In function 'print_result': +worddic.c:298:9: warning: variable 'strlen_to_roff' set but not used [-Wunused-but-set-variable] + glong strlen_to_roff; + ^~~~~~~~~~~~~~ +worddic.c: In function 'search_in_dicfile': +worddic.c:433:7: warning: switch missing default case [-Wswitch-default] + switch (match_criteria) { + ^~~~~~ +worddic.c:449:7: warning: switch missing default case [-Wswitch-default] + switch (match_criteria) { + ^~~~~~ +worddic.c: At top level: +worddic.c:498:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] + int lower_search_option() { + ^~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'lower_search_option': +worddic.c:498:5: warning: old-style function definition [-Wold-style-definition] +error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + void gjiten_abort_with_msg(const char *fmt, ... ) { + ^~~~~~~~~~~~~~~~~~~~~ +kanjidic.c: In function 'do_kdicline': +kanjidic.c:114:9: warning: this statement may fall through [-Wimplicit-fallthrough=] + if (tmpstr[1] == '2') { + ^ +kanjidic.c:126:5: note: here + case '{': // english meaning + ^~~~ +worddic.c: At top level: +worddic.c:604:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void on_text_entered() { + ^~~~~~~~~~~~~~~ +worddic.c: In function 'on_text_entered': +worddic.c:604:6: warning: old-style function definition [-Wold-style-definition] +In file included from pref.c:34: +kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + KanjiDic *kanjidic_create(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); + ^~~~ +worddic.c: At top level: +worddic.c:652:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void on_forward_clicked() { + ^~~~~~~~~~~~~~~~~~ +worddic.c: In function 'on_forward_clicked': +worddic.c:652:13: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:660:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void on_back_clicked() { + ^~~~~~~~~~~~~~~ +worddic.c: In function 'on_back_clicked': +worddic.c:660:13: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:672:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void checkb_searchlimit_toggled() { + ^~~~~~~~~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'checkb_searchlimit_toggled': +worddic.c:672:13: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:679:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void shade_worddic_widgets() { + ^~~~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'shade_worddic_widgets': +worddic.c:679:13: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:688:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void get_searchlimit() { + ^~~~~~~~~~~~~~~ +worddic.c: In function 'get_searchlimit': +worddic.c:688:13: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:705:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void worddic_init_history() { + ^~~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'worddic_init_history': +worddic.c:705:13: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:716:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_destroy_window() { + ^~~~~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'worddic_destroy_window': +worddic.c:716:6: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:722:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void worddic_close() { + ^~~~~~~~~~~~~ +worddic.c: In function 'worddic_close': +worddic.c:722:13: warning: old-style function definition [-Wold-style-definition] +In file included from pref.c:35: +conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + GjitenConfig *conf_load(); + ^~~~~~~~~~~~ +conf.h:83:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + gboolean conf_init_handler(); + ^~~~~~~~ +conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void conf_close_handler(); + ^~~~ +In file included from pref.c:36: +worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + WordDic *worddic_create(); + ^~~~~~~ +worddic.h:74:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void on_text_entered(); + ^~~~ +worddic.h:75:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_update_dic_menu(); + ^~~~ +worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_apply_fonts(); + ^~~~ +In file included from pref.c:37: +pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void create_dialog_preferences(); + ^~~~ +In file included from pref.c:38: +gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_start_kanjipad(); + ^~~~ +gjiten.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_create_about(); + ^~~~ +gjiten.h:39:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_display_manual(); + ^~~~ +gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_exit(); + ^~~~ In file included from pref.c:39: dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void dicutil_unload_dic(); ^~~~ +worddic.c: At top level: +worddic.c:738:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void worddic_show_hide_options() { + ^~~~~~~~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'worddic_show_hide_options': +worddic.c:738:13: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:746:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_update_dic_menu() { + ^~~~~~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'worddic_update_dic_menu': +worddic.c:746:6: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:780:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void worddic_apply_fonts() { + ^~~~~~~~~~~~~~~~~~~ +worddic.c: In function 'worddic_apply_fonts': +worddic.c:780:6: warning: old-style function definition [-Wold-style-definition] +worddic.c: At top level: +worddic.c:870:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] + WordDic *worddic_create() { + ^~~~~~~~~~~~~~ +worddic.c: In function 'worddic_create': +worddic.c:870:10: warning: old-style function definition [-Wold-style-definition] In file included from pref.c:30: /usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define N_(String) (String) @@ -3081,12 +3285,6 @@ pref.c:83:2: note: in expansion of macro 'N_' N_("Unicode hex number of the kanji"), ^~ -conf.c:97:16: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - GjitenConfig *conf; - ^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ /usr/include/glib-2.0/glib/gi18n.h:28:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define N_(String) (String) ^ @@ -3096,15 +3294,6 @@ pref.c:99:6: warning: no previous prototype for 'font_set' [-Wmissing-prototypes] void font_set(GtkFontButton *fontpicker, GtkWidget *entry) { ^~~~~~~~ -conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; - ^ -error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - void gjiten_abort_with_msg(const char *fmt, ... ) { - ^~~~~~~~~~~~~~~~~~~~~ -conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (conf->kanjipad == NULL) conf->kanjipad = "/usr/bin/kanjipad"; - ^ pref.c:163:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void add_dict() { ^~~~~~~~ @@ -3113,79 +3302,15 @@ pref.c:166:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] gchar *objs[] = {"dialog_add_dic", NULL}; ^~~~~~~~~~~~~~~~ -conf.c: In function 'conf_save': -conf.c:194:30: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_save(GjitenConfig *conf) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ -worddic.c:150:5: warning: switch missing default case [-Wswitch-default] - switch (vinfl_part) { - ^~~~~~ -conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (conf->kanjipad == NULL) conf->kanjipad = ""; - ^ -conf.c: In function 'conf_save_history': -conf.c:245:54: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_save_history(GList *history, GjitenConfig *conf) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ pref.c: At top level: pref.c:222:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void change_dict() { ^~~~~~~~~~~ -conf.c:252:30: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] - for (i = 0; i <= 50 && i <= size; i++) { - ^~ pref.c: In function 'change_dict': pref.c:222:13: warning: old-style function definition [-Wold-style-definition] pref.c:228:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] gchar *objs[] = {"dialog_change_dic", NULL}; ^~~~~~~~~~~~~~~~~~~ -conf.c: In function 'conf_save_options': -conf.c:262:38: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_save_options(GjitenConfig *conf) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ -worddic.c: In function 'print_verb_inflections': -worddic.c:225:24: warning: variable 'prevresult' set but not used [-Wunused-but-set-variable] - gchar *deinflected, *prevresult; - ^~~~~~~~~~ -conf.c: At top level: -conf.c:270:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] - gboolean conf_init_handler() { - ^~~~~~~~~~~~~~~~~ -conf.c: In function 'conf_init_handler': -conf.c:270:10: warning: old-style function definition [-Wold-style-definition] -worddic.c: In function 'print_result': -worddic.c:298:9: warning: variable 'strlen_to_roff' set but not used [-Wunused-but-set-variable] - glong strlen_to_roff; - ^~~~~~~~~~~~~~ -conf.c: At top level: -kanjidic.c: In function 'do_kdicline': -kanjidic.c:114:9: warning: this statement may fall through [-Wimplicit-fallthrough=] - if (tmpstr[1] == '2') { - ^ -conf.c:280:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void conf_close_handler() { - ^~~~~~~~~~~~~~~~~~ -kanjidic.c:126:5: note: here - case '{': // english meaning - ^~~~ -conf.c: In function 'conf_close_handler': -conf.c:280:6: warning: old-style function definition [-Wold-style-definition] -conf.c: In function 'conf_display_migration_info': -conf.c:290:48: warning: declaration of 'conf' shadows a global declaration [-Wshadow] - void conf_display_migration_info(GjitenConfig *conf, GtkWindow *parent) { - ~~~~~~~~~~~~~~^~~~ -conf.c:37:14: note: shadowed declaration is here - GjitenConfig conf; - ^~~~ pref.c: At top level: pref.c:319:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void preferences_exit() { @@ -3196,105 +3321,6 @@ pref.c:325:6: warning: no previous prototype for 'preferences_response_cb' [-Wmissing-prototypes] void preferences_response_cb(GtkDialog *dialog, gint response, gpointer user_data) { ^~~~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'search_in_dicfile': -worddic.c:433:7: warning: switch missing default case [-Wswitch-default] - switch (match_criteria) { - ^~~~~~ -worddic.c:449:7: warning: switch missing default case [-Wswitch-default] - switch (match_criteria) { - ^~~~~~ -worddic.c: At top level: -worddic.c:498:5: warning: function declaration isn't a prototype [-Wstrict-prototypes] - int lower_search_option() { - ^~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'lower_search_option': -worddic.c:498:5: warning: old-style function definition [-Wold-style-definition] -pref.c:414:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void create_dialog_preferences() { - ^~~~~~~~~~~~~~~~~~~~~~~~~ -pref.c: In function 'create_dialog_preferences': -pref.c:414:6: warning: old-style function definition [-Wold-style-definition] -pref.c:422:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *objs[] = {"gjiten_settings", NULL}; - ^~~~~~~~~~~~~~~~~ -worddic.c: At top level: -worddic.c:604:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void on_text_entered() { - ^~~~~~~~~~~~~~~ -worddic.c: In function 'on_text_entered': -worddic.c:604:6: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:652:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void on_forward_clicked() { - ^~~~~~~~~~~~~~~~~~ -worddic.c: In function 'on_forward_clicked': -worddic.c:652:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:660:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void on_back_clicked() { - ^~~~~~~~~~~~~~~ -worddic.c: In function 'on_back_clicked': -worddic.c:660:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:672:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void checkb_searchlimit_toggled() { - ^~~~~~~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'checkb_searchlimit_toggled': -worddic.c:672:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:679:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void shade_worddic_widgets() { - ^~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'shade_worddic_widgets': -worddic.c:679:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:688:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void get_searchlimit() { - ^~~~~~~~~~~~~~~ -worddic.c: In function 'get_searchlimit': -worddic.c:688:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:705:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void worddic_init_history() { - ^~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'worddic_init_history': -worddic.c:705:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:716:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_destroy_window() { - ^~~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'worddic_destroy_window': -worddic.c:716:6: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:722:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void worddic_close() { - ^~~~~~~~~~~~~ -worddic.c: In function 'worddic_close': -worddic.c:722:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:738:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void worddic_show_hide_options() { - ^~~~~~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'worddic_show_hide_options': -worddic.c:738:13: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:746:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_update_dic_menu() { - ^~~~~~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'worddic_update_dic_menu': -worddic.c:746:6: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:780:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void worddic_apply_fonts() { - ^~~~~~~~~~~~~~~~~~~ -worddic.c: In function 'worddic_apply_fonts': -worddic.c:780:6: warning: old-style function definition [-Wold-style-definition] -worddic.c: At top level: -worddic.c:870:10: warning: function declaration isn't a prototype [-Wstrict-prototypes] - WordDic *worddic_create() { - ^~~~~~~~~~~~~~ -worddic.c: In function 'worddic_create': -worddic.c:870:10: warning: old-style function definition [-Wold-style-definition] worddic.c:878:14: warning: variable 'button_srch' set but not used [-Wunused-but-set-variable] GtkWidget *button_srch; ^~~~~~~~~~~ @@ -3304,6 +3330,14 @@ worddic.c:875:14: warning: variable 'button_kanjipad' set but not used [-Wunused-but-set-variable] GtkWidget *button_kanjipad; ^~~~~~~~~~~~~~~ +pref.c:414:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void create_dialog_preferences() { + ^~~~~~~~~~~~~~~~~~~~~~~~~ +pref.c: In function 'create_dialog_preferences': +pref.c:414:6: warning: old-style function definition [-Wold-style-definition] +pref.c:422:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *objs[] = {"gjiten_settings", NULL}; + ^~~~~~~~~~~~~~~~~ kanjidic.c: In function 'findk_by_stroke': kanjidic.c:334:30: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Wformat-truncation=] snprintf(srchkey, 10, " S%d ", i); @@ -3324,7 +3358,7 @@ worddic.c: In function 'on_back_clicked': worddic.c:662:105: warning: potential null pointer dereference [-Wnull-dereference] current_glist_word = (gchar*) g_list_next(g_list_find(wordDic->combo_entry_glist, current_glist_word))->data; -/bin/bash ../libtool --tag=CC --mode=link gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o gjiten gjiten-gjiten.o gjiten-kanjidic.o gjiten-pref.o gjiten-conf.o gjiten-error.o gjiten-dicfile.o gjiten-worddic.o gjiten-dicutil.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 +/bin/sh ../libtool --tag=CC --mode=link gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o gjiten gjiten-gjiten.o gjiten-kanjidic.o gjiten-pref.o gjiten-conf.o gjiten-error.o gjiten-dicfile.o gjiten-worddic.o gjiten-dicutil.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 libtool: link: gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -Wall -Wunused -fno-strict-aliasing -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wno-error=unused-parameter -Wno-error=missing-field-initializers -g -O2 -ffile-prefix-map=/build/gjiten-2.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o gjiten gjiten-gjiten.o gjiten-kanjidic.o gjiten-pref.o gjiten-conf.o gjiten-error.o gjiten-dicfile.o gjiten-worddic.o gjiten-dicutil.o -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgmodule-2.0 -lglib-2.0 -pthread make[3]: Leaving directory '/build/gjiten-2.6/src' Making all in data @@ -3339,7 +3373,7 @@ scrollkeeper-preinstall /usr/share/gnome/help/gjiten/C/gjiten.xml ./$file $file.out; \ done xmlto txt gjiten.xml -/bin/bash: line 1: scrollkeeper-preinstall: command not found +/bin/sh: line 1: scrollkeeper-preinstall: command not found make[4]: [Makefile:567: omf_timestamp] Error 127 (ignored) touch omf_timestamp mv gjiten.txt ../../README @@ -3436,7 +3470,7 @@ make[2]: Entering directory '/build/gjiten-2.6/src' make[3]: Entering directory '/build/gjiten-2.6/src' /bin/mkdir -p '/build/gjiten-2.6/debian/gjiten/usr/bin' - /bin/bash ../libtool --mode=install /usr/bin/install -c gjiten '/build/gjiten-2.6/debian/gjiten/usr/bin' + /bin/sh ../libtool --mode=install /usr/bin/install -c gjiten '/build/gjiten-2.6/debian/gjiten/usr/bin' libtool: install: /usr/bin/install -c gjiten /build/gjiten-2.6/debian/gjiten/usr/bin/gjiten make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/gjiten-2.6/src' @@ -3464,13 +3498,13 @@ make[3]: Entering directory '/build/gjiten-2.6/help/C' make[4]: Entering directory '/build/gjiten-2.6/help/C' make[4]: Nothing to be done for 'install-exec-am'. -/bin/bash ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C +/bin/sh ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C mkdir -p -- /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C for file in legal.xml gjiten.xml; do \ cp ./$file /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C; \ done if test ""; then \ - /bin/bash ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C/; \ + /bin/sh ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C/; \ for file in .//*.png; do \ basefile=`echo $file | sed -e 's,^.*/,,'`; \ /usr/bin/install -c -m 644 $file /build/gjiten-2.6/debian/gjiten/usr/share/gnome/help/gjiten/C//$basefile; \ @@ -3478,13 +3512,13 @@ fi make install-data-hook make[5]: Entering directory '/build/gjiten-2.6/help/C' -/bin/bash ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten +/bin/sh ../../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten mkdir -p -- /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten for file in gjiten-C.omf; do \ /usr/bin/install -c -m 644 $file.out /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten/$file; \ done scrollkeeper-update -p /var/scrollkeeper -o /build/gjiten-2.6/debian/gjiten/usr/share/omf/gjiten -/bin/bash: scrollkeeper-update: command not found +make[5]: scrollkeeper-update: Command not found make[5]: [Makefile:575: install-data-hook-omf] Error 127 (ignored) make[5]: Leaving directory '/build/gjiten-2.6/help/C' make[4]: Leaving directory '/build/gjiten-2.6/help/C' @@ -3548,9 +3582,9 @@ make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/gjiten-2.6/debian/gjiten/usr/share/application-registry' /usr/bin/install -c -m 644 gjiten.desktop '/build/gjiten-2.6/debian/gjiten/usr/share/application-registry' -/bin/bash ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/applications +/bin/sh ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/applications mkdir -p -- /build/gjiten-2.6/debian/gjiten/usr/share/applications -/bin/bash ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/application-registry +/bin/sh ../mkinstalldirs /build/gjiten-2.6/debian/gjiten/usr/share/application-registry /bin/mkdir -p '/build/gjiten-2.6/debian/gjiten/usr/share/applications' /usr/bin/install -c -m 644 gjiten.desktop '/build/gjiten-2.6/debian/gjiten/usr/share/applications' make[3]: Leaving directory '/build/gjiten-2.6/gnome' @@ -3587,40 +3621,42 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/gjiten/usr/share/locale/de_CH/LC_MESSAGES/gjiten.mo Normalized debian/gjiten/usr/share/locale/de/LC_MESSAGES/gjiten.mo Normalized debian/gjiten/usr/share/locale/ja/LC_MESSAGES/gjiten.mo + Normalized debian/gjiten/usr/share/locale/de_CH/LC_MESSAGES/gjiten.mo dh_compress dh_fixperms dh_missing dh_strip dh_makeshlibs dh_shlibdeps -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libcairo.so.2 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libatk-1.0.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libpangoft2-1.0.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libfreetype.so.6 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libpangocairo-1.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libgmodule-2.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libfontconfig.so.1 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libcairo.so.2 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libpangocairo-1.0.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libfreetype.so.6 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/gjiten/usr/bin/gjiten was not linked against libpangoft2-1.0.so.0 (it uses none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gjiten' in '../gjiten_2.6-3.1_arm64.deb'. dpkg-deb: building package 'gjiten-dbgsym' in '../gjiten-dbgsym_2.6-3.1_arm64.deb'. +dpkg-deb: building package 'gjiten' in '../gjiten_2.6-3.1_arm64.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../gjiten_2.6-3.1_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/21801/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/21801/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/27203 and its subdirectories -I: Current time: Thu Sep 16 14:10:54 -12 2021 -I: pbuilder-time-stamp: 1631844654 +I: removing directory /srv/workspace/pbuilder/21801 and its subdirectories +I: Current time: Sat Aug 15 09:52:40 +14 2020 +I: pbuilder-time-stamp: 1597434760