Diff of the two buildlogs: -- --- b1/build.log 2022-02-11 00:25:31.767943325 +0000 +++ b2/build.log 2022-02-11 00:27:44.967823754 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Feb 10 12:22:32 -12 2022 -I: pbuilder-time-stamp: 1644538952 +I: Current time: Thu Mar 16 20:48:34 +14 2023 +I: pbuilder-time-stamp: 1678949314 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./gman_0.9.3-5.3.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.LzwiUoMZ/trustedkeys.kbx': General error -gpgv: Signature made Sat Dec 14 03:58:20 2019 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.tMUygKCX/trustedkeys.kbx': General error +gpgv: Signature made Sun Dec 15 05:58:20 2019 +14 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./gman_0.9.3-5.3.dsc @@ -35,135 +35,169 @@ dpkg-source: info: applying 0008-Makefile-Take-DESTDIR-into-consideration.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1183941/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/315088/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +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/315088/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/315088/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='amd64' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=16' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='2cd25384f7aa480d820a30ba2d8691c2' - 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='1183941' - PS1='# ' - PS2='> ' + INVOCATION_ID=d17a8c4ff3cf47caacf7a3e34426019c + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=315088 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.PNukvVXbxF/pbuilderrc_BIJR --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.PNukvVXbxF/b1 --logfile b1/build.log gman_0.9.3-5.3.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.PNukvVXbxF/pbuilderrc_y57E --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.PNukvVXbxF/b2 --logfile b2/build.log gman_0.9.3-5.3.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos11-amd64 5.10.0-11-amd64 #1 SMP Debian 5.10.92-1 (2022-01-18) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.15.0-0.bpo.2-amd64 #1 SMP Debian 5.15.5-2~bpo11+1 (2022-01-02) x86_64 GNU/Linux I: ls -l /bin total 5476 - -rwxr-xr-x 1 root root 1234376 Aug 4 2021 bash - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38984 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 18424 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 43936 Sep 23 2020 cat - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chgrp - -rwxr-xr-x 1 root root 64448 Sep 23 2020 chmod - -rwxr-xr-x 1 root root 72672 Sep 23 2020 chown - -rwxr-xr-x 1 root root 151168 Sep 23 2020 cp - -rwxr-xr-x 1 root root 125560 Dec 10 2020 dash - -rwxr-xr-x 1 root root 113664 Sep 23 2020 date - -rwxr-xr-x 1 root root 80968 Sep 23 2020 dd - -rwxr-xr-x 1 root root 93936 Sep 23 2020 df - -rwxr-xr-x 1 root root 147176 Sep 23 2020 dir - -rwxr-xr-x 1 root root 84440 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 39712 Sep 23 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 39680 Sep 23 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 69032 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34896 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 203072 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 98048 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 22600 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 72840 Sep 23 2020 ln - -rwxr-xr-x 1 root root 56952 Feb 7 2020 login - -rwxr-xr-x 1 root root 147176 Sep 23 2020 ls - -rwxr-xr-x 1 root root 149736 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85184 Sep 23 2020 mkdir - -rwxr-xr-x 1 root root 76896 Sep 23 2020 mknod - -rwxr-xr-x 1 root root 48064 Sep 23 2020 mktemp - -rwxr-xr-x 1 root root 59632 Jul 28 2021 more - -rwsr-xr-x 1 root root 55528 Jul 28 2021 mount - -rwxr-xr-x 1 root root 18664 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 147080 Sep 23 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43872 Sep 23 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 52032 Sep 23 2020 readlink - -rwxr-xr-x 1 root root 72704 Sep 23 2020 rm - -rwxr-xr-x 1 root root 52032 Sep 23 2020 rmdir - -rwxr-xr-x 1 root root 27472 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 122224 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Feb 6 21:25 sh -> dash - -rwxr-xr-x 1 root root 43808 Sep 23 2020 sleep - -rwxr-xr-x 1 root root 84928 Sep 23 2020 stty - -rwsr-xr-x 1 root root 71912 Jul 28 2021 su - -rwxr-xr-x 1 root root 39744 Sep 23 2020 sync - -rwxr-xr-x 1 root root 531928 Feb 16 2021 tar - -rwxr-xr-x 1 root root 14456 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 101408 Sep 23 2020 touch - -rwxr-xr-x 1 root root 39680 Sep 23 2020 true - -rwxr-xr-x 1 root root 14328 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 35040 Jul 28 2021 umount - -rwxr-xr-x 1 root root 39744 Sep 23 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 147176 Sep 23 2020 vdir - -rwxr-xr-x 1 root root 63744 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/1183941/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1234376 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38984 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 18424 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 43936 Sep 24 2020 cat + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chgrp + -rwxr-xr-x 1 root root 64448 Sep 24 2020 chmod + -rwxr-xr-x 1 root root 72672 Sep 24 2020 chown + -rwxr-xr-x 1 root root 151168 Sep 24 2020 cp + -rwxr-xr-x 1 root root 125560 Dec 11 2020 dash + -rwxr-xr-x 1 root root 113664 Sep 24 2020 date + -rwxr-xr-x 1 root root 80968 Sep 24 2020 dd + -rwxr-xr-x 1 root root 93936 Sep 24 2020 df + -rwxr-xr-x 1 root root 147176 Sep 24 2020 dir + -rwxr-xr-x 1 root root 84440 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 39712 Sep 24 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 39680 Sep 24 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 69032 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 34896 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 203072 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 98048 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 22600 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 72840 Sep 24 2020 ln + -rwxr-xr-x 1 root root 56952 Feb 8 2020 login + -rwxr-xr-x 1 root root 147176 Sep 24 2020 ls + -rwxr-xr-x 1 root root 149736 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 85184 Sep 24 2020 mkdir + -rwxr-xr-x 1 root root 76896 Sep 24 2020 mknod + -rwxr-xr-x 1 root root 48064 Sep 24 2020 mktemp + -rwxr-xr-x 1 root root 59632 Jul 29 2021 more + -rwsr-xr-x 1 root root 55528 Jul 29 2021 mount + -rwxr-xr-x 1 root root 18664 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 147080 Sep 24 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43872 Sep 24 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 52032 Sep 24 2020 readlink + -rwxr-xr-x 1 root root 72704 Sep 24 2020 rm + -rwxr-xr-x 1 root root 52032 Sep 24 2020 rmdir + -rwxr-xr-x 1 root root 27472 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 122224 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Mar 16 20:48 sh -> bash + lrwxrwxrwx 1 root root 4 Mar 13 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 43808 Sep 24 2020 sleep + -rwxr-xr-x 1 root root 84928 Sep 24 2020 stty + -rwsr-xr-x 1 root root 71912 Jul 29 2021 su + -rwxr-xr-x 1 root root 39744 Sep 24 2020 sync + -rwxr-xr-x 1 root root 531928 Feb 17 2021 tar + -rwxr-xr-x 1 root root 14456 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 101408 Sep 24 2020 touch + -rwxr-xr-x 1 root root 39680 Sep 24 2020 true + -rwxr-xr-x 1 root root 14328 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 35040 Jul 29 2021 umount + -rwxr-xr-x 1 root root 39744 Sep 24 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 147176 Sep 24 2020 vdir + -rwxr-xr-x 1 root root 63744 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/315088/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -393,7 +427,7 @@ Get: 188 http://deb.debian.org/debian bullseye/main amd64 libxdamage-dev amd64 1:1.1.5-2 [15.6 kB] Get: 189 http://deb.debian.org/debian bullseye/main amd64 libxml2-utils amd64 2.9.10+dfsg-6.7 [109 kB] Get: 190 http://deb.debian.org/debian bullseye/main amd64 libgtk2.0-dev amd64 2.24.33-2 [827 kB] -Fetched 83.0 MB in 3s (28.1 MB/s) +Fetched 83.0 MB in 2s (34.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19655 files and directories currently installed.) @@ -1177,7 +1211,8 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/gman-0.9.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../gman_0.9.3-5.3_source.changes +hostname: Name or service not known +I: Running cd /build/gman-0.9.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../gman_0.9.3-5.3_source.changes dpkg-buildpackage: info: source package gman dpkg-buildpackage: info: source version 0.9.3-5.3 dpkg-buildpackage: info: source distribution unstable @@ -1188,7 +1223,7 @@ debian/rules clean dh clean dh_auto_clean - make -j15 distclean + make -j16 distclean make[1]: Entering directory '/build/gman-0.9.3' rm -f menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o gman rm -f *.o *~ @@ -1200,7 +1235,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j15 "INSTALL=install --strip-program=true" + make -j16 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/gman-0.9.3' g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o menu.o menu.c g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o mandata.o mandata.c @@ -1208,52 +1243,6 @@ g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o gman.o gman.c g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o list.o list.c g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o context.o context.c -util.c: In function 'int system0(char*)': -util.c:122:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 122 | argv[0] = "sh"; - | ^~~~ -util.c:123:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 123 | argv[1] = "-c"; - | ^~~~ -util.c: In function 'void no_privileges()': -util.c:98:12: warning: ignoring return value of 'int setreuid(__uid_t, __uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 98 | setreuid(ruid, ruid); - | ~~~~~~~~^~~~~~~~~~~~ -util.c:99:12: warning: ignoring return value of 'int setregid(__gid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 99 | setregid(rgid, rgid); - | ~~~~~~~~^~~~~~~~~~~~ -util.c: In function 'FILE* my_popen(const char*, const char*)': -util.c:212:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 212 | setuid(ruid); - | ~~~~~~^~~~~~ -util.c:213:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 213 | setgid(rgid); - | ~~~~~~^~~~~~ -util.c:215:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 215 | setuid(euid); - | ~~~~~~^~~~~~ -util.c:216:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 216 | setgid(egid); - | ~~~~~~^~~~~~ -util.c: In function 'int my_system(char*)': -util.c:171:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 171 | setuid(ruid); - | ~~~~~~^~~~~~ -util.c:172:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 172 | setgid(rgid); - | ~~~~~~^~~~~~ -util.c:174:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 174 | setuid(euid); - | ~~~~~~^~~~~~ -util.c:175:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 175 | setgid(egid); - | ~~~~~~^~~~~~ -util.c:186:10: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 186 | setuid(ruid); - | ~~~~~~^~~~~~ -util.c:187:10: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 187 | setgid(rgid); - | ~~~~~~^~~~~~ In file included from mandata.c:23: mandatadef.h:11:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 11 | {"1",1}, @@ -1315,8 +1304,53 @@ mandatadef.h:35:3: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | {".Y",2}, | ^~~~ +util.c: In function 'int system0(char*)': +util.c:122:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 122 | argv[0] = "sh"; + | ^~~~ +util.c:123:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 123 | argv[1] = "-c"; + | ^~~~ +util.c: In function 'void no_privileges()': +util.c:98:12: warning: ignoring return value of 'int setreuid(__uid_t, __uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 98 | setreuid(ruid, ruid); + | ~~~~~~~~^~~~~~~~~~~~ +util.c:99:12: warning: ignoring return value of 'int setregid(__gid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 99 | setregid(rgid, rgid); + | ~~~~~~~~^~~~~~~~~~~~ +util.c: In function 'FILE* my_popen(const char*, const char*)': +util.c:212:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 212 | setuid(ruid); + | ~~~~~~^~~~~~ +util.c:213:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 213 | setgid(rgid); + | ~~~~~~^~~~~~ +util.c:215:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 215 | setuid(euid); + | ~~~~~~^~~~~~ +util.c:216:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 216 | setgid(egid); + | ~~~~~~^~~~~~ +util.c: In function 'int my_system(char*)': +util.c:171:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 171 | setuid(ruid); + | ~~~~~~^~~~~~ +util.c:172:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 172 | setgid(rgid); + | ~~~~~~^~~~~~ +util.c:174:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 174 | setuid(euid); + | ~~~~~~^~~~~~ +util.c:175:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 175 | setgid(egid); + | ~~~~~~^~~~~~ +util.c:186:10: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 186 | setuid(ruid); + | ~~~~~~^~~~~~ +util.c:187:10: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 187 | setgid(rgid); + | ~~~~~~^~~~~~ g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o task.o task.c -g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o taskfunc.o taskfunc.c context.c: In constructor 'AppContext::AppContext()': context.c:17:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 17 | set_default_value("h_size","int",(void *)300); @@ -1459,7 +1493,7 @@ | | | | int void* | %p -g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o window2.o window2.c +g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o taskfunc.o taskfunc.c mandata.c: In member function 'ManItem* ManPath::search_man_item(char*, char*)': mandata.c:173:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] 173 | int len; @@ -1498,6 +1532,7 @@ mandata.c:373:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 373 | g_print("unexpected \'show_mode\' : %ld ",(long)context->get_value("show_mode")); | ^~~~~~~~~~~ +g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -g -O2 -fdebug-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o window2.o window2.c mandata.c:253:10: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 253 | system(buffer); | ~~~~~~^~~~~~~~ @@ -1524,36 +1559,6 @@ task.c:74:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | task->signals[signal&1]->add_item((void*)signal); | ^~~~~~~~~~~~~ -mandata.c:327:30: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] - 327 | sprintf(loc_name," ~/.gman.%s.html ",get_display_name(buffer1)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from mandata.c:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 215 bytes into a destination of size 200 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mandata.c:278:30: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] - 278 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from mandata.c:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mandata.c:258:30: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] - 258 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:867, - from mandata.c:4: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1604,38 +1609,41 @@ /usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from menu.h:6, - from taskfunc.c:3: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -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:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from menu.h:6, - from taskfunc.c:3: -/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here - 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ +mandata.c:327:30: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] + 327 | sprintf(loc_name," ~/.gman.%s.html ",get_display_name(buffer1)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from mandata.c:4: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 16 and 215 bytes into a destination of size 200 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mandata.c:278:30: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] + 278 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from mandata.c:4: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mandata.c:258:30: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] + 258 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:867, + from mandata.c:4: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from menu.c:24: + from gman.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ @@ -1649,7 +1657,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from menu.c:24: + from gman.c:23: /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ @@ -1657,7 +1665,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from gman.c:23: + from menu.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~~~~~ @@ -1671,10 +1679,108 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from gman.c:23: + from menu.c:24: /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ +gman.c: In function 'int main(int, char**)': +gman.c:50:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 50 | debuging = (long)context->get_value("debuging"); + | ^~~~~~~~~~ +gman.c: In function 'void init_context()': +gman.c:84:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 84 | context->set_default_value("debuging","int",(void*)0); + | ^~~~~~~~~~ +gman.c:84:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 84 | context->set_default_value("debuging","int",(void*)0); + | ^~~~~ +gman.c:85:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | context->set_default_value("man_paths","char*",(void*)"/usr/local/man:/usr/local/share/man:/usr/share/man"); + | ^~~~~~~~~~~ +gman.c:85:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 85 | context->set_default_value("man_paths","char*",(void*)"/usr/local/man:/usr/local/share/man:/usr/share/man"); + | ^~~~~~~ +gman.c:86:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 86 | context->set_default_value("display_section_policy","int",(void*)0); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +gman.c:86:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 86 | context->set_default_value("display_section_policy","int",(void*)0); + | ^~~~~ +gman.c:87:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | context->set_default_value("display_section","int",(void*)3); + | ^~~~~~~~~~~~~~~~~ +gman.c:87:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 87 | context->set_default_value("display_section","int",(void*)3); + | ^~~~~ +gman.c:88:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 88 | context->set_default_value("searching_mode","int",(void*)0); + | ^~~~~~~~~~~~~~~~ +gman.c:88:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 88 | context->set_default_value("searching_mode","int",(void*)0); + | ^~~~~ +gman.c:89:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 89 | context->set_default_value("show_status_bar","int",(void*)0); + | ^~~~~~~~~~~~~~~~~ +gman.c:89:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 89 | context->set_default_value("show_status_bar","int",(void*)0); + | ^~~~~ +gman.c:90:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 90 | context->set_default_value("show_warning","int",(void*)0); + | ^~~~~~~~~~~~~~ +gman.c:90:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 90 | context->set_default_value("show_warning","int",(void*)0); + | ^~~~~ +gman.c:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 91 | context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview + | ^~~~~~~~~~~ +gman.c:91:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 91 | context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview + | ^~~~~ +gman.c:92:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 92 | context->set_default_value("xterm_command","char*",(void*)"x-terminal-emulator"); + | ^~~~~~~~~~~~~~~ +gman.c:92:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 92 | context->set_default_value("xterm_command","char*",(void*)"x-terminal-emulator"); + | ^~~~~~~ +gman.c:93:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 93 | context->set_default_value("gv_command","char*",(void*)"gv"); + | ^~~~~~~~~~~~ +gman.c:93:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 93 | context->set_default_value("gv_command","char*",(void*)"gv"); + | ^~~~~~~ +gman.c:94:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 94 | context->set_default_value("evince_command","char*",(void*)"evince"); + | ^~~~~~~~~~~~~~~~ +gman.c:94:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 94 | context->set_default_value("evince_command","char*",(void*)"evince"); + | ^~~~~~~ +gman.c:95:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 95 | context->set_default_value("browser_command","char*",(void*)"sensible-browser"); // kfm also works + | ^~~~~~~~~~~~~~~~~ +gman.c:95:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 95 | context->set_default_value("browser_command","char*",(void*)"sensible-browser"); // kfm also works + | ^~~~~~~ +gman.c:96:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | context->set_default_value("cgi_host","char*",(void*)"localhost"); + | ^~~~~~~~~~ +gman.c:96:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 96 | context->set_default_value("cgi_host","char*",(void*)"localhost"); + | ^~~~~~~ +gman.c:97:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 97 | context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman.pl"); + | ^~~~~~~~~~~~~~ +gman.c:97:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 97 | context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman.pl"); + | ^~~~~~~ +gman.c:98:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | context->set_default_value("print_command","char*",(void*)"lpr"); // not in use + | ^~~~~~~~~~~~~~~ +gman.c:98:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 98 | context->set_default_value("print_command","char*",(void*)"lpr"); // not in use + | ^~~~~~~ +gman.c:105:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 105 | if(context->get_value("debuging")) context->display_values(); + | ^~~~~~~~~~ menu.c:60:4: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 60 | {"/_File", NULL, NULL, 0, ""}, | ^~~~~~~~ @@ -1901,104 +2007,6 @@ menu.c:198:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 198 | k = (long)context->get_value("show_mode"); | ^~~~~~~~~~~ -gman.c: In function 'int main(int, char**)': -gman.c:50:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 50 | debuging = (long)context->get_value("debuging"); - | ^~~~~~~~~~ -gman.c: In function 'void init_context()': -gman.c:84:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 84 | context->set_default_value("debuging","int",(void*)0); - | ^~~~~~~~~~ -gman.c:84:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 84 | context->set_default_value("debuging","int",(void*)0); - | ^~~~~ -gman.c:85:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | context->set_default_value("man_paths","char*",(void*)"/usr/local/man:/usr/local/share/man:/usr/share/man"); - | ^~~~~~~~~~~ -gman.c:85:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 85 | context->set_default_value("man_paths","char*",(void*)"/usr/local/man:/usr/local/share/man:/usr/share/man"); - | ^~~~~~~ -gman.c:86:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 86 | context->set_default_value("display_section_policy","int",(void*)0); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -gman.c:86:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 86 | context->set_default_value("display_section_policy","int",(void*)0); - | ^~~~~ -gman.c:87:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | context->set_default_value("display_section","int",(void*)3); - | ^~~~~~~~~~~~~~~~~ -gman.c:87:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 87 | context->set_default_value("display_section","int",(void*)3); - | ^~~~~ -gman.c:88:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 88 | context->set_default_value("searching_mode","int",(void*)0); - | ^~~~~~~~~~~~~~~~ -gman.c:88:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 88 | context->set_default_value("searching_mode","int",(void*)0); - | ^~~~~ -gman.c:89:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 89 | context->set_default_value("show_status_bar","int",(void*)0); - | ^~~~~~~~~~~~~~~~~ -gman.c:89:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 89 | context->set_default_value("show_status_bar","int",(void*)0); - | ^~~~~ -gman.c:90:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 90 | context->set_default_value("show_warning","int",(void*)0); - | ^~~~~~~~~~~~~~ -gman.c:90:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 90 | context->set_default_value("show_warning","int",(void*)0); - | ^~~~~ -gman.c:91:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 91 | context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview - | ^~~~~~~~~~~ -gman.c:91:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 91 | context->set_default_value("show_mode","int",(void*)0); // 0 = xterm, 1 = ghostview - | ^~~~~ -gman.c:92:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 92 | context->set_default_value("xterm_command","char*",(void*)"x-terminal-emulator"); - | ^~~~~~~~~~~~~~~ -gman.c:92:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 92 | context->set_default_value("xterm_command","char*",(void*)"x-terminal-emulator"); - | ^~~~~~~ -gman.c:93:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 93 | context->set_default_value("gv_command","char*",(void*)"gv"); - | ^~~~~~~~~~~~ -gman.c:93:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 93 | context->set_default_value("gv_command","char*",(void*)"gv"); - | ^~~~~~~ -gman.c:94:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 94 | context->set_default_value("evince_command","char*",(void*)"evince"); - | ^~~~~~~~~~~~~~~~ -gman.c:94:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 94 | context->set_default_value("evince_command","char*",(void*)"evince"); - | ^~~~~~~ -gman.c:95:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 95 | context->set_default_value("browser_command","char*",(void*)"sensible-browser"); // kfm also works - | ^~~~~~~~~~~~~~~~~ -gman.c:95:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 95 | context->set_default_value("browser_command","char*",(void*)"sensible-browser"); // kfm also works - | ^~~~~~~ -gman.c:96:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | context->set_default_value("cgi_host","char*",(void*)"localhost"); - | ^~~~~~~~~~ -gman.c:96:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 96 | context->set_default_value("cgi_host","char*",(void*)"localhost"); - | ^~~~~~~ -gman.c:97:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 97 | context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman.pl"); - | ^~~~~~~~~~~~~~ -gman.c:97:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 97 | context->set_default_value("cgi_location","char*",(void*)"/cgi-bin/gman.pl"); - | ^~~~~~~ -gman.c:98:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | context->set_default_value("print_command","char*",(void*)"lpr"); // not in use - | ^~~~~~~~~~~~~~~ -gman.c:98:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 98 | context->set_default_value("print_command","char*",(void*)"lpr"); // not in use - | ^~~~~~~ -gman.c:105:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 105 | if(context->get_value("debuging")) context->display_values(); - | ^~~~~~~~~~ menu.c:204:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 204 | k2 = (long)context->get_value("show_status_bar"); | ^~~~~~~~~~~~~~~~~ @@ -2054,23 +2062,6 @@ menu.c:475:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 475 | if (context->get_value("display_section_policy")) { | ^~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from menu.h:6, - from taskfunc.c:3: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from task.h:7, - from taskfunc.h:3, - from taskfunc.c:2: -/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here - 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ menu.c: In function 'void app_quit(GtkWidget*, gpointer)': menu.c:495:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 495 | context->set_value("man_paths","char*",my_strdup(buffer)); @@ -2133,68 +2124,33 @@ menu.c:622:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 622 | context->set_value("show_mode","int",(void*)k2); | ^~~~~ -taskfunc.c: In function 'int init_man_data()': -taskfunc.c:24:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 24 | path_name = my_strdup((char*)context->get_value("man_paths")); - | ^~~~~~~~~~~ -taskfunc.c: In function 'int extract_man_data()': -taskfunc.c:44:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 44 | switch ((long)context->get_value("display_section_policy")) { - | ^~~~~~~~~~~~~~~~~~~~~~~~ -taskfunc.c:46:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 46 | case 1: display_section_ID = ~(long)(context->get_value("display_section"));break; - | ^~~~~~~~~~~~~~~~~ -taskfunc.c:47:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 47 | case 2: display_section_ID = (long)context->get_value("display_section"); break; - | ^~~~~~~~~~~~~~~~~ -taskfunc.c:49:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 49 | "have invalid value %d",context->get_value("display_section_policy")); - | ^~~~~~~~~~~~~~~~~~~~~~~~ -taskfunc.c:49:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'void*' [-Wformat=] - 49 | "have invalid value %d",context->get_value("display_section_policy")); - | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | | | - | int void* - | %p -taskfunc.c:64:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 64 | if(context->get_value("debuging")) printf("count = %d\n",count); - | ^~~~~~~~~~ -taskfunc.c:66:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 66 | if(context->get_value("debuging")) printf("count = %d, qsort end.\n",count); - | ^~~~~~~~~~ -taskfunc.c: In function 'int add_data_to_clist(int)': -taskfunc.c:92:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] - 92 | for (j = 0;j<100 & i< man_items_count;i++,j++) { - | ~^~~~ -taskfunc.c: In function 'int parser_whatis(int)': -taskfunc.c:187:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 187 | if(context->get_value("show_warning")) - | ^~~~~~~~~~~~~~ -taskfunc.c: In function 'int key_word_search_taskfunc(int)': -taskfunc.c:367:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 367 | text[2] = ""; - | ^~ -taskfunc.c:374:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 374 | if(context->get_value("show_warning")) - | ^~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib.h:62, - from task.h:7, - from taskfunc.h:3, - from taskfunc.c:2: -taskfunc.c:376:17: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'void*' [-Wformat=] - 376 | g_warning("man item: %s (%s) could not be found in %s",names->get_item(i),section,path); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ - | | - | void* -/usr/include/glib-2.0/glib/gmessages.h:340:32: note: in definition of macro 'g_warning' - 340 | __VA_ARGS__) - | ^~~~~~~~~~~ -taskfunc.c:376:29: note: format string is defined here - 376 | g_warning("man item: %s (%s) could not be found in %s",names->get_item(i),section,path); - | ~^ - | | - | char* - | %p +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from menu.h:6, + from taskfunc.c:3: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +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:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from menu.h:6, + from taskfunc.c:3: +/usr/include/glib-2.0/gobject/gtype.h:685:3: note: declared here + 685 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2249,6 +2205,23 @@ /usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from menu.h:6, + from taskfunc.c:3: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from task.h:7, + from taskfunc.h:3, + from taskfunc.c:2: +/usr/include/glib-2.0/glib/gtypes.h:545:26: note: declared here + 545 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ window2.c: In function 'GtkWidget* create_window2()': window2.c:43:23: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] 43 | gchar *titles[3] = { "a", "Path", "Items" }; @@ -2282,6 +2255,68 @@ window2.c:223:32: warning: variable 'add_new_button' set but not used [-Wunused-but-set-variable] 223 | GtkWidget * x, *apply_button,*add_new_button; | ^~~~~~~~~~~~~~ +taskfunc.c: In function 'int init_man_data()': +taskfunc.c:24:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 24 | path_name = my_strdup((char*)context->get_value("man_paths")); + | ^~~~~~~~~~~ +taskfunc.c: In function 'int extract_man_data()': +taskfunc.c:44:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 44 | switch ((long)context->get_value("display_section_policy")) { + | ^~~~~~~~~~~~~~~~~~~~~~~~ +taskfunc.c:46:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 46 | case 1: display_section_ID = ~(long)(context->get_value("display_section"));break; + | ^~~~~~~~~~~~~~~~~ +taskfunc.c:47:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 47 | case 2: display_section_ID = (long)context->get_value("display_section"); break; + | ^~~~~~~~~~~~~~~~~ +taskfunc.c:49:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 49 | "have invalid value %d",context->get_value("display_section_policy")); + | ^~~~~~~~~~~~~~~~~~~~~~~~ +taskfunc.c:49:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'void*' [-Wformat=] + 49 | "have invalid value %d",context->get_value("display_section_policy")); + | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | | | + | int void* + | %p +taskfunc.c:64:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 64 | if(context->get_value("debuging")) printf("count = %d\n",count); + | ^~~~~~~~~~ +taskfunc.c:66:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 66 | if(context->get_value("debuging")) printf("count = %d, qsort end.\n",count); + | ^~~~~~~~~~ +taskfunc.c: In function 'int add_data_to_clist(int)': +taskfunc.c:92:14: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] + 92 | for (j = 0;j<100 & i< man_items_count;i++,j++) { + | ~^~~~ +taskfunc.c: In function 'int parser_whatis(int)': +taskfunc.c:187:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 187 | if(context->get_value("show_warning")) + | ^~~~~~~~~~~~~~ +taskfunc.c: In function 'int key_word_search_taskfunc(int)': +taskfunc.c:367:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 367 | text[2] = ""; + | ^~ +taskfunc.c:374:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 374 | if(context->get_value("show_warning")) + | ^~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib.h:62, + from task.h:7, + from taskfunc.h:3, + from taskfunc.c:2: +taskfunc.c:376:17: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'void*' [-Wformat=] + 376 | g_warning("man item: %s (%s) could not be found in %s",names->get_item(i),section,path); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ + | | + | void* +/usr/include/glib-2.0/glib/gmessages.h:340:32: note: in definition of macro 'g_warning' + 340 | __VA_ARGS__) + | ^~~~~~~~~~~ +taskfunc.c:376:29: note: format string is defined here + 376 | g_warning("man item: %s (%s) could not be found in %s",names->get_item(i),section,path); + | ~^ + | | + | char* + | %p g++ -DVERSION=\"0.9.3\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -O2 -Wall -rdynamic menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman -lpthread -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 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype make[1]: Leaving directory '/build/gman-0.9.3' debian/rules override_dh_auto_test @@ -2291,7 +2326,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install - make -j15 install DESTDIR=/build/gman-0.9.3/debian/gman AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j16 install DESTDIR=/build/gman-0.9.3/debian/gman AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/gman-0.9.3' test -d /build/gman-0.9.3/debian/gman//usr/bin || mkdir -p /build/gman-0.9.3/debian/gman//usr/bin test -d /build/gman-0.9.3/debian/gman//usr/share/man/man1 || mkdir -p /build/gman-0.9.3/debian/gman//usr/share/man/man1 @@ -2333,12 +2368,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/315088/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/315088/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/1183941 and its subdirectories -I: Current time: Thu Feb 10 12:25:31 -12 2022 -I: pbuilder-time-stamp: 1644539131 +I: removing directory /srv/workspace/pbuilder/315088 and its subdirectories +I: Current time: Thu Mar 16 20:50:45 +14 2023 +I: pbuilder-time-stamp: 1678949445