Diff of the two buildlogs: -- --- b1/build.log 2020-06-16 03:02:22.366661917 +0000 +++ b2/build.log 2020-06-16 03:16:59.869937106 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jun 15 14:54:37 -12 2020 -I: pbuilder-time-stamp: 1592276077 +I: Current time: Tue Jun 16 17:02:35 +14 2020 +I: pbuilder-time-stamp: 1592276555 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 '/root/.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/9852/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28561/tmp/hooks/D01_modify_environment starting +debug: Running on cbxi4pro0. +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/28561/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28561/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='46c7a5c6feed4565a66710d19507c806' - 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='9852' - PS1='# ' - PS2='> ' + INVOCATION_ID=16b471459bab468a95536971a1876344 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=28561 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.TLIsTPdZfy/pbuilderrc_SG5L --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.TLIsTPdZfy/b1 --logfile b1/build.log gjiten_2.6-3.1.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + 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.TLIsTPdZfy/pbuilderrc_tQvE --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.TLIsTPdZfy/b2 --logfile b2/build.log gjiten_2.6-3.1.dsc' + SUDO_GID=115 + SUDO_UID=111 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux ff64a 4.19.0-9-arm64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-armmp #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) armv7l GNU/Linux I: ls -l /bin total 3328 - -rwxr-xr-x 1 root root 767656 Apr 17 2019 bash - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 26052 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 26052 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 9636 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 22432 Feb 28 2019 cat - -rwxr-xr-x 1 root root 38868 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 38836 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 42972 Feb 28 2019 chown - -rwxr-xr-x 1 root root 88376 Feb 28 2019 cp - -rwxr-xr-x 1 root root 75516 Jan 17 2019 dash - -rwxr-xr-x 1 root root 71648 Feb 28 2019 date - -rwxr-xr-x 1 root root 51212 Feb 28 2019 dd - -rwxr-xr-x 1 root root 55672 Feb 28 2019 df - -rwxr-xr-x 1 root root 88444 Feb 28 2019 dir - -rwxr-xr-x 1 root root 54872 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 22364 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 18260 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 47356 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 21980 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 124508 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 64232 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 13784 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 43044 Feb 28 2019 ln - -rwxr-xr-x 1 root root 34932 Jul 26 2018 login - -rwxr-xr-x 1 root root 88444 Feb 28 2019 ls - -rwxr-xr-x 1 root root 67036 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 47168 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 43040 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 26552 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 26024 Jan 9 2019 more - -rwsr-xr-x 1 root root 34268 Jan 9 2019 mount - -rwxr-xr-x 1 root root 9688 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 84284 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 22416 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 26504 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 42968 Feb 28 2019 rm - -rwxr-xr-x 1 root root 26496 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 14136 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 13 20:25 sh -> dash - -rwxr-xr-x 1 root root 22384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 51124 Feb 28 2019 stty - -rwsr-xr-x 1 root root 42472 Jan 9 2019 su - -rwxr-xr-x 1 root root 22392 Feb 28 2019 sync - -rwxr-xr-x 1 root root 283324 Apr 23 2019 tar - -rwxr-xr-x 1 root root 9808 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 63464 Feb 28 2019 touch - -rwxr-xr-x 1 root root 18260 Feb 28 2019 true - -rwxr-xr-x 1 root root 9636 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 21976 Jan 9 2019 umount - -rwxr-xr-x 1 root root 22380 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 88444 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 21980 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/9852/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 26052 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 26052 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 9636 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 22432 Mar 1 2019 cat + -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown + -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp + -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash + -rwxr-xr-x 1 root root 71648 Mar 1 2019 date + -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd + -rwxr-xr-x 1 root root 55672 Mar 1 2019 df + -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir + -rwxr-xr-x 1 root root 54872 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 22364 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 18260 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 124508 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 64232 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln + -rwxr-xr-x 1 root root 34932 Jul 27 2018 login + -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls + -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 26024 Jan 10 2019 more + -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount + -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 84284 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 22416 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm + -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 16 17:03 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 14 22:27 sh.distrib -> dash + -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty + -rwsr-xr-x 1 root root 42472 Jan 10 2019 su + -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync + -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar + -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch + -rwxr-xr-x 1 root root 18260 Mar 1 2019 true + -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount + -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 21980 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/28561/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -514,7 +548,7 @@ Get: 301 http://deb.debian.org/debian buster/main armhf libxslt1.1 armhf 1.1.32-2.2~deb10u1 [217 kB] Get: 302 http://deb.debian.org/debian buster/main armhf xsltproc armhf 1.1.32-2.2~deb10u1 [121 kB] Get: 303 http://deb.debian.org/debian buster/main armhf xmlto armhf 0.0.28-2.1 [32.5 kB] -Fetched 231 MB in 44s (5294 kB/s) +Fetched 231 MB in 33s (6932 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (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 ... 18932 files and directories currently installed.) @@ -1795,7 +1829,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 @@ -2056,7 +2090,7 @@ config.status: executing po/stamp-it commands configure: WARNING: unrecognized options: --disable-maintainer-mode dh_auto_build - make -j5 + make -j4 make[1]: Entering directory '/build/gjiten-2.6' make all-recursive make[2]: Entering directory '/build/gjiten-2.6' @@ -2066,17 +2100,49 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-kanjidic.o `test -f 'kanjidic.c' || echo './'`kanjidic.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-pref.o `test -f 'pref.c' || echo './'`pref.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-conf.o `test -f 'conf.c' || echo './'`conf.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-error.o `test -f 'error.c' || echo './'`error.c In file included from pref.c:33: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); ^~~~ 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 /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 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) (); ^~~~~~~ +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) (); + ^~~~~~~ +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(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_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(); + ^~~~~~~~ +kanjidic.h:113:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void kanjidic_apply_fonts(); + ^~~~ In file included from pref.c:34: kanjidic.h:111:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] KanjiDic *kanjidic_create(); @@ -2084,27 +2150,202 @@ 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 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) (); +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(); + ^~~~ +In file included from kanjidic.c:38: +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 kanjidic.c:40: +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; + ^~~~ +In file included from kanjidic.c:41: +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(); + ^~~~ +conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; + ^ +In file included from kanjidic.c:42: +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(); + ^~~~ +conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (conf->kanjipad == NULL) conf->kanjipad = "/usr/bin/kanjipad"; + ^ +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(); + ^~~~ +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; + ^~~~ +In file included from kanjidic.c:43: +pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void create_dialog_preferences(); + ^~~~ +conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + if (conf->kanjipad == NULL) conf->kanjipad = ""; + ^ +In file included from kanjidic.c:45: +error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_flush_errors(); + ^~~~ +In file included from kanjidic.c:46: +radical-convtable.h:11:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:13:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x88", "\xE5\x88\x82" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:13:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x88", "\xE5\x88\x82" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:14:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:14:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:16:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\xBF\x99", "\xE5\xBF\x84" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:16:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\xBF\x99", "\xE5\xBF\x84" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:17:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x89\x8E", "\xE6\x89\x8C" }, + ^~~~~~~~~~~~~~ In file included from pref.c:35: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); ^~~~~~~~~~~~ -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) (); - ^~~~~~~ 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(); ^~~~ +radical-convtable.h:17:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x89\x8E", "\xE6\x89\x8C" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:18:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:18:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:19:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:19:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:20:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\x89\xBE", "\xE8\x89\xB9" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:20:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE8\x89\xBE", "\xE8\x89\xB9" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:22:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE9\x98\xA1", "\xE9\x98\x9D" }, + ^~~~~~~~~~~~~~ +conf.c: In function 'conf_save_history': +radical-convtable.h:22:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE9\x98\xA1", "\xE9\x98\x9D" }, + ^~~~~~~~~~~~~~ +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; + ^~~~ +radical-convtable.h:24:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:24:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:25:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:25:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:27:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:27:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, + ^~~~~~~~~~~~~~ +radical-convtable.h:30:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\x30", "\x30" }, + ^~~~~~ +radical-convtable.h:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + { "\x30", "\x30" }, + ^~~~~~ +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++) { + ^~ +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 pref.c:36: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] WordDic *worddic_create(); @@ -2118,10 +2359,23 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_apply_fonts(); ^~~~ +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; + ^~~~ In file included from pref.c:37: pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void create_dialog_preferences(); ^~~~ +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] In file included from pref.c:38: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_start_kanjipad(); @@ -2129,12 +2383,39 @@ gjiten.h:38:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_create_about(); ^~~~ +conf.c: At top level: gjiten.h:39:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_display_manual(); ^~~~ +conf.c:280:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void conf_close_handler() { + ^~~~~~~~~~~~~~~~~~ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_exit(); ^~~~ +conf.c: In function 'conf_close_handler': +conf.c:280:6: warning: old-style function definition [-Wold-style-definition] +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(); + ^~~~ +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; + ^~~~ +kanjidic.c:51:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void kanjidic_close(); + ^~~~~~ +kanjidic.c:67:6: warning: no previous prototype for 'do_kdicline' [-Wmissing-prototypes] + void do_kdicline(gchar *kstr) { + ^~~~~~~~~~~ In file included from pref.c:39: dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void dicutil_unload_dic(); @@ -2296,10 +2577,6 @@ pref.c:82:2: note: in expansion of macro 'N_' N_("Misclassification code"), ^~ -In file included from error.c:29: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ /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) ^ @@ -2312,47 +2589,10 @@ pref.c:84:2: note: in expansion of macro 'N_' N_("ASCII JIS Code of Kanji") ^~ -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); - ^~~~ pref.c:99:6: warning: no previous prototype for 'font_set' [-Wmissing-prototypes] void font_set(GtkFontButton *fontpicker, GtkWidget *entry) { ^~~~~~~~ -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); - ^~~~ -pref.c:163:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void add_dict() { - ^~~~~~~~ -pref.c: In function 'add_dict': -pref.c:163:13: warning: old-style function definition [-Wold-style-definition] -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); - ^~~~ -pref.c:166:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *objs[] = {"dialog_add_dic", NULL}; - ^~~~~~~~~~~~~~~~ -In file included from kanjidic.c:37: -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 kanjidic.c:38: +In file included from gjiten.c:40: conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] GjitenConfig *conf_load(); ^~~~~~~~~~~~ @@ -2362,20 +2602,7 @@ conf.h:84:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void conf_close_handler(); ^~~~ -pref.c: At top level: -pref.c:222:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void change_dict() { - ^~~~~~~~~~~ -pref.c: In function 'change_dict': -pref.c:222:13: warning: old-style function definition [-Wold-style-definition] -In file included from kanjidic.c:40: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); - ^~~~ -pref.c:228:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - gchar *objs[] = {"dialog_change_dic", NULL}; - ^~~~~~~~~~~~~~~~~~~ -In file included from kanjidic.c:41: +In file included from gjiten.c:42: worddic.h:72:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] WordDic *worddic_create(); ^~~~~~~ @@ -2388,7 +2615,15 @@ worddic.h:76:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void worddic_apply_fonts(); ^~~~ -In file included from kanjidic.c:42: +pref.c:163:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void add_dict() { + ^~~~~~~~ +pref.c: In function 'add_dict': +pref.c:163:13: warning: old-style function definition [-Wold-style-definition] +pref.c:166:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + gchar *objs[] = {"dialog_add_dic", NULL}; + ^~~~~~~~~~~~~~~~ +In file included from gjiten.c:44: gjiten.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_start_kanjipad(); ^~~~ @@ -2401,122 +2636,108 @@ gjiten.h:40:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_exit(); ^~~~ -In file included from kanjidic.c:43: -pref.h:27:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void create_dialog_preferences(); - ^~~~ -In file included from kanjidic.c:45: -error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void gjiten_flush_errors(); - ^~~~ -In file included from kanjidic.c:46: -radical-convtable.h:11:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:11:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x8C\x96", "\xE4\xBA\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:13:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x88", "\xE5\x88\x82" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:13:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x88", "\xE5\x88\x82" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:14:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:14:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\xBE\xBC", "\xE8\xBE\xB6" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:16:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\xBF\x99", "\xE5\xBF\x84" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:16:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\xBF\x99", "\xE5\xBF\x84" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:17:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x89\x8E", "\xE6\x89\x8C" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:17:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x89\x8E", "\xE6\x89\x8C" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:18:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:18:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\xB1\x81", "\xE6\xB0\xB5" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:19:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:19:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\x8A\xAF", "\xE7\x8A\xAD" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:20:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\x89\xBE", "\xE8\x89\xB9" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:20:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE8\x89\xBE", "\xE8\x89\xB9" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:22:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE9\x98\xA1", "\xE9\x98\x9D" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:22:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE9\x98\xA1", "\xE9\x98\x9D" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:24:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:24:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE6\x9D\xB0", "\xE7\x81\xAC" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:25:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:25:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE7\xA4\xBC", "\xE7\xA4\xBB" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:27:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:27:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\xE5\x88\x9D", "\xE8\xA1\xA4" }, - ^~~~~~~~~~~~~~ -radical-convtable.h:30:5: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\x30", "\x30" }, - ^~~~~~ -radical-convtable.h:30:13: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - { "\x30", "\x30" }, - ^~~~~~ -kanjidic.c:51:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - static void kanjidic_close(); - ^~~~~~ -pref.c: At top level: -kanjidic.c:67:6: warning: no previous prototype for 'do_kdicline' [-Wmissing-prototypes] - void do_kdicline(gchar *kstr) { - ^~~~~~~~~~~ -pref.c:319:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void preferences_exit() { - ^~~~~~~~~~~~~~~~ -pref.c: In function 'preferences_exit': -pref.c:319:6: warning: old-style function definition [-Wold-style-definition] -pref.c: At top level: -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) { - ^~~~~~~~~~~~~~~~~~~~~~~ kanjidic.c: In function 'do_kdicline': kanjidic.c:93:10: warning: switch missing default case [-Wswitch-default] else switch (tmpstr[0]) { ^~~~~~ -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}; - ^~~~~~~~~~~~~~~~~ +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" }; + ^~~~~~~~ +pref.c: At top level: +pref.c:222:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] + static void change_dict() { + ^~~~~~~~~~~ +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}; + ^~~~~~~~~~~~~~~~~~~ +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" }; + ^~~~~~~~~ kanjidic.c: In function 'print_kanjinfo': +gjiten.c:58:62: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + "lindex", "oindex", "cref", "missc", "unicode", "jisascii" }; + ^~~~~~~~~~ kanjidic.c:235:8: warning: variable 'srch_resp' set but not used [-Wunused-but-set-variable] gint srch_resp, roff, rlen; ^~~~~~~~~ @@ -2527,15 +2748,35 @@ kanjidic.c:299:6: warning: no previous prototype for 'findk_by_key' [-Wmissing-prototypes] void findk_by_key(gchar *srchkey, GList **list) { ^~~~~~~~~~~~ +gjiten.c:104:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void gjiten_exit() { + ^~~~~~~~~~~ kanjidic.c:324:6: warning: no previous prototype for 'findk_by_stroke' [-Wmissing-prototypes] void findk_by_stroke(int stroke, int plusmin, GList **list) { ^~~~~~~~~~~~~~~ kanjidic.c:339:6: warning: no previous prototype for 'findk_by_radical' [-Wmissing-prototypes] void findk_by_radical(gchar *radstrg) { ^~~~~~~~~~~~~~~~ +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() { + ^~~~~~~~~~~~~~~~~~~ kanjidic.c:383:6: warning: no previous prototype for 'set_radical_button_sensitive' [-Wmissing-prototypes] void set_radical_button_sensitive(gpointer radical, RadInfo *rad_info, gpointer user_data) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gjiten.c: In function 'gjiten_create_about': +gjiten.c:167:6: warning: old-style function definition [-Wold-style-definition] kanjidic.c:390:6: warning: no previous prototype for 'set_radical_button_unsensitive' [-Wmissing-prototypes] void set_radical_button_unsensitive(gunichar radical, GtkWidget *rad_button, gboolean sensitive) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2544,6 +2785,72 @@ ^~~~~~~~~~~~~~~ kanjidic.c: In function 'on_kanji_search': kanjidic.c:397: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"; + ^~~~~~~~~ +pref.c: At top level: +pref.c:319:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] + void preferences_exit() { + ^~~~~~~~~~~~~~~~ +pref.c: In function 'preferences_exit': +pref.c:319:6: warning: old-style function definition [-Wold-style-definition] +pref.c: At top level: +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) { + ^~~~~~~~~~~~~~~~~~~~~~~ +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/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, @@ -2582,9 +2889,14 @@ 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); ^ -error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] - void gjiten_abort_with_msg(const char *fmt, ... ) { - ^~~~~~~~~~~~~~~~~~~~~ +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:570: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) FALSE); ^ @@ -2650,6 +2962,10 @@ ^~~~~~~~~~~~ kanjidic.c: In function 'history_init': kanjidic.c:927:6: 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 */ + ^~~~~~~~~~~~~~~~ kanjidic.c: At top level: kanjidic.c:969:6: warning: function declaration isn't a prototype [-Wstrict-prototypes] void kanjidic_apply_fonts() { @@ -2789,330 +3105,12 @@ kanjidic.c:126:5: note: here case '{': // english meaning ^~~~ -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) (); - ^~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-error.o `test -f 'error.c' || echo './'`error.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-dicfile.o `test -f 'dicfile.c' || echo './'`dicfile.c -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) (); - ^~~~~~~ -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 conf.h:30, - from conf.c:29: -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 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" }; - ^~~~~~~ -In file included from conf.c:29: -conf.h:79:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - GjitenConfig *conf_load(); - ^~~~~~~~~~~~ -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" }; - ^~~~~~~~~~ -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(); - ^~~~ -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] -In file included from conf.c:33: -dicutil.h:43:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] - void dicutil_unload_dic(); - ^~~~ -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) { - ^~~~~~~~~~~~~~~~~~~~~ -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; - ^~~~ -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] -conf.c:153:24: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - conf->kanjidic->path = GJITEN_DICDIR"/kanjidic"; - ^ -In file included from gjiten.c:25: -gjiten.c: In function 'main': -conf.c:159:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (conf->kanjipad == NULL) conf->kanjipad = "/usr/bin/kanjipad"; - ^ -../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"); - ^~~~~~~~~~~~~~~ -conf.c: In function 'conf_save': -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)); - ~~~~~~^~~~~~~~ -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; - ^~~~ -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)); - ~~~~~~^~~~~~~~ -conf.c:214:45: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - if (conf->kanjipad == NULL) conf->kanjipad = ""; - ^ -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)); - ~~~~~~^~~~~~~~ -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; - ^~~~ -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 */ - ^~~~~~~~~~~~~~~~ In file included from dicfile.c:41: error.h:37:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] void gjiten_flush_errors(); ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-worddic.o `test -f 'worddic.c' || echo './'`worddic.c -gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-dicutil.o `test -f 'dicutil.c' || echo './'`dicutil.c 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); @@ -3127,6 +3125,42 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-worddic.o `test -f 'worddic.c' || echo './'`worddic.c +gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 -c -o gjiten-dicutil.o `test -f 'dicutil.c' || echo './'`dicutil.c +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) (); + ^~~~~~~ +In file included from error.c:29: +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); + ^~~~ +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); + ^~~~ +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); + ^~~~ +error.c:119:6: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] + void gjiten_abort_with_msg(const char *fmt, ... ) { + ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:234, from kanjidic.h:25, from worddic.c:41: @@ -3409,7 +3443,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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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/arm-linux-gnueabihf/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 @@ -3424,7 +3458,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 @@ -3465,7 +3499,7 @@ make[2]: Leaving directory '/build/gjiten-2.6' make[1]: Leaving directory '/build/gjiten-2.6' dh_auto_test - make -j5 check VERBOSE=1 + make -j4 check VERBOSE=1 make[1]: Entering directory '/build/gjiten-2.6' Making check in src make[2]: Entering directory '/build/gjiten-2.6/src' @@ -3521,7 +3555,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' @@ -3549,13 +3583,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; \ @@ -3563,13 +3597,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' @@ -3633,9 +3667,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' @@ -3672,40 +3706,42 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/gjiten/usr/share/locale/ja/LC_MESSAGES/gjiten.mo - Normalized debian/gjiten/usr/share/locale/de/LC_MESSAGES/gjiten.mo 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 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 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 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 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 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 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 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 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 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 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 libgmodule-2.0.so.0 (it uses none of the library's symbols) dh_installdeb dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'gjiten-dbgsym' in '../gjiten-dbgsym_2.6-3.1_armhf.deb'. dpkg-deb: building package 'gjiten' in '../gjiten_2.6-3.1_armhf.deb'. +dpkg-deb: building package 'gjiten-dbgsym' in '../gjiten-dbgsym_2.6-3.1_armhf.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../gjiten_2.6-3.1_armhf.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/28561/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28561/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/9852 and its subdirectories -I: Current time: Mon Jun 15 15:02:18 -12 2020 -I: pbuilder-time-stamp: 1592276538 +I: removing directory /srv/workspace/pbuilder/28561 and its subdirectories +I: Current time: Tue Jun 16 17:16:55 +14 2020 +I: pbuilder-time-stamp: 1592277415